@pendle/core-v2 2.17.5-tradingbot → 2.17.7-tradingbot
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/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/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.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/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/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.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/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.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/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.json +25 -0
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.json +25 -0
- package/build/artifacts/contracts/core/TradingBot/BotDecisionHelper.sol/BotDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/BotDecisionHelper.sol/BotDecisionHelper.json +1070 -0
- package/build/artifacts/contracts/core/TradingBot/BotSimulationLib.sol/BotSimulationLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotSimulationLib.sol/BotSimulationLib.json +2 -2
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +60 -180
- package/build/artifacts/contracts/core/TradingBot/MarketExtLib.sol/MarketExtLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/MarketExtLib.sol/MarketExtLib.json +2 -2
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +25 -0
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.json +917 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +425 -161
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +50 -0
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/contracts/core/TradingBot/BotActionCallback.sol +1 -1
- package/contracts/core/TradingBot/BotDecisionHelper.sol +306 -0
- package/contracts/core/TradingBot/BotSimulationLib.sol +8 -7
- package/contracts/core/TradingBot/LongYieldTradingBot.sol +20 -24
- package/contracts/core/TradingBot/MarketExtLib.sol +64 -31
- package/contracts/core/TradingBot/README.md +27 -25
- package/contracts/core/TradingBot/TradingBotBase.sol +36 -16
- package/contracts/interfaces/TradingBot/IBotDecisionHelper.sol +91 -0
- package/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol +7 -32
- package/contracts/interfaces/TradingBot/ITradingBotBase.sol +6 -4
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +36 -0
- package/typechain-types/BotActionHelper.ts +36 -0
- package/typechain-types/BotDecisionHelper.ts +527 -0
- package/typechain-types/IBotDecisionHelper.ts +507 -0
- package/typechain-types/ILongYieldTradingBot.ts +481 -129
- package/typechain-types/ITradingBotBase.ts +76 -0
- package/typechain-types/IWBETH.ts +128 -0
- package/typechain-types/LongYieldTradingBot.ts +85 -141
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PtAndLpToAsset.ts +136 -0
- package/typechain-types/TradingBotBase.ts +36 -0
- package/typechain-types/factories/BotActionCallback__factory.ts +25 -0
- package/typechain-types/factories/BotActionHelper__factory.ts +25 -0
- package/typechain-types/factories/BotDecisionHelper__factory.ts +1123 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +932 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +425 -161
- package/typechain-types/factories/ITradingBotBase__factory.ts +50 -0
- package/typechain-types/factories/IWBETH__factory.ts +51 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +63 -183
- package/typechain-types/factories/MarketExtLib__factory.ts +1 -1
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +150 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +25 -0
- package/typechain-types/hardhat.d.ts +49 -13
- package/typechain-types/index.ts +12 -4
- package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.dbg.json +0 -4
- package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.json +0 -589
- package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.dbg.json +0 -4
- package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.json +0 -1075
- package/contracts/core/TradingBot/BotDecisionLib.sol +0 -274
- package/contracts/core/TradingBot/TradingBotOffchain.sol +0 -141
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PtAndLpToAsset,
|
|
8
|
+
PtAndLpToAssetInterface,
|
|
9
|
+
} from "../PtAndLpToAsset";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "int256",
|
|
16
|
+
name: "exchangeRate",
|
|
17
|
+
type: "int256",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
name: "MarketExchangeRateBelowOne",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "MarketExpired",
|
|
26
|
+
type: "error",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [],
|
|
30
|
+
name: "MarketProportionMustNotEqualOne",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "int256",
|
|
37
|
+
name: "rateScalar",
|
|
38
|
+
type: "int256",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "MarketRateScalarBelowZero",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "int256",
|
|
48
|
+
name: "totalPt",
|
|
49
|
+
type: "int256",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
internalType: "int256",
|
|
53
|
+
name: "totalAsset",
|
|
54
|
+
type: "int256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "MarketZeroTotalPtOrTotalAsset",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "contract IPMarket",
|
|
64
|
+
name: "market",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "getLpToAssetRate",
|
|
69
|
+
outputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "uint256",
|
|
72
|
+
name: "lpToAssetRate",
|
|
73
|
+
type: "uint256",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
stateMutability: "view",
|
|
77
|
+
type: "function",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: "contract IPMarket",
|
|
83
|
+
name: "market",
|
|
84
|
+
type: "address",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
name: "getPtToAssetRate",
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "ptToAssetRate",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
stateMutability: "view",
|
|
96
|
+
type: "function",
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
|
|
100
|
+
const _bytecode =
|
|
101
|
+
"0x608060405234801561001057600080fd5b50611541806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063955ee4e71461003b578063f2344deb14610060575b600080fd5b61004e610049366004611232565b610073565b60405190815260200160405180910390f35b61004e61006e366004611232565b61014d565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b81526004016100a3919061124f565b61012060405180830381865afa1580156100c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e591906112a5565b905060006100f2846101db565b90506000610101838342610402565b9050600061011b610113878686610508565b85519061062a565b826020015161012a919061133d565b905061014384604001518261064f90919063ffffffff16565b9695505050505050565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b815260040161017d919061124f565b61012060405180830381865afa15801561019b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bf91906112a5565b90506101d483826101cf866101db565b610508565b9392505050565b6000806000836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561021e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102429190611365565b92505091506000826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab91906113b2565b90506000826001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031191906113b2565b9050826001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610351573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037591906113cb565b80156103ea575043836001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103df91906113ed565b6001600160801b0316145b156103f85795945050505050565b6101438282610675565b61042d6040518060800160405280600081526020016000815260200160008152602001600081525090565b60a084015182106104515760405163b2094b5960e01b815260040160405180910390fd5b6000828560a001516104639190611416565b905061046f858261068b565b825260208501516104819085906106ec565b60208301528451158061049657506020820151155b156104c9578451602083015160405163b1c4aefb60e01b8152600481019290925260248201526044015b60405180910390fd5b6104e78560000151866101000151846020015185600001518561072b565b604083015260c08501516104fb90826107ac565b6060830152509392505050565b6000428360a00151116105f1576000846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611365565b505090506105e983826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e391906113b2565b906107e5565b9150506101d4565b6000428460a001516106039190611416565b90506000610616856101000151836107ac565b9050610143670de0b6b3a76400008261064f565b6000806106378385611429565b9050670de0b6b3a7640000815b059150505b92915050565b600080610664670de0b6b3a764000085611429565b905082818161064457610644611459565b600081831161068457816101d4565b5090919050565b600061069682610814565b6106ad6106a86201518061016d61146f565b610814565b84608001516106bc9190611429565b6106c69190611486565b90506000811361064957604051630e520c3b60e11b8152600481018290526024016104c0565b600080600083126106fe576001610702565b6000195b90506107196106a8856107148661082e565b610840565b6107239082611429565b949350505050565b60008061073886846107ac565b9050670de0b6b3a76400008112156107665760405163329e322960e21b8152600481018290526024016104c0565b600061077c610775878a61133d565b899061064f565b905060006107898261085f565b9050610795818761064f565b61079f90846114b4565b9998505050505050505050565b6000806107be6201518061016d61146f565b6107c8848661146f565b6107d291906114db565b90506107236107e082610814565b6108b2565b6000806107fa670de0b6b3a76400008561146f565b905082818161080b5761080b611459565b04949350505050565b60006001600160ff1b0382111561082a57600080fd5b5090565b600080821361082a57610649826114ef565b6000670de0b6b3a7640000610855848461146f565b6101d491906114db565b6000670de0b6b3a764000082036108895760405163a9c8b14d60e01b815260040160405180910390fd5b60006108a76108a084670de0b6b3a76400006114b4565b849061064f565b90506101d481610cc7565b6000680238fd42c5cf03ffff1982121580156108d7575068070c1cc73b00c800008213155b6109165760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016104c0565b600082121561094e5761092b826000036108b2565b6a0c097ce7bc90715b34b9f160241b8161094757610947611459565b0592915050565b60006806f05b59d3b2000000831261098c57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6109c2565b6803782dace9d900000083126109be57506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806109c2565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610a125768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610a4e576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610a8857682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610ac2576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610afb57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610b345768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610b6d576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610ba65768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000808213610d085760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016104c0565b670c7d713b49da000082138015610d265750670f43fc2c04ee000082125b15610d4a57670de0b6b3a7640000610d3d83610d58565b8161094757610947611459565b61064982610e77565b919050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610d9957610d99611459565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215610eb857610eaf826a0c097ce7bc90715b34b9f160241b81610ea957610ea9611459565b05610e77565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312610f035772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312610f3a576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610f82576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610fbd576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312610ff457693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261102b57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126110605768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261108b57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d83126110c0576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126110f5576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611129576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261115d576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161118657611186611459565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b038116811461122f57600080fd5b50565b60006020828403121561124457600080fd5b81356101d48161121a565b6001600160a01b0391909116815260200190565b60405161012081016001600160401b038111828210171561129457634e487b7160e01b600052604160045260246000fd5b60405290565b8051610d538161121a565b600061012082840312156112b857600080fd5b6112c0611263565b8251815260208301516020820152604083015160408201526112e46060840161129a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b634e487b7160e01b600052601160045260246000fd5b808201828112600083128015821682158216171561135d5761135d611327565b505092915050565b60008060006060848603121561137a57600080fd5b83516113858161121a565b60208501519093506113968161121a565b60408501519092506113a78161121a565b809150509250925092565b6000602082840312156113c457600080fd5b5051919050565b6000602082840312156113dd57600080fd5b815180151581146101d457600080fd5b6000602082840312156113ff57600080fd5b81516001600160801b03811681146101d457600080fd5b8181038181111561064957610649611327565b80820260008212600160ff1b8414161561144557611445611327565b818105831482151761064957610649611327565b634e487b7160e01b600052601260045260246000fd5b808202811582820484141761064957610649611327565b60008261149557611495611459565b600160ff1b8214600019841416156114af576114af611327565b500590565b81810360008312801583831316838312821617156114d4576114d4611327565b5092915050565b6000826114ea576114ea611459565b500490565b6000600160ff1b820161150457611504611327565b506000039056fea2646970667358221220cba632b8df668d47129725f92bc1418b1ab27be54aa6033e250c8c3d9527c3d864736f6c63430008110033";
|
|
102
|
+
|
|
103
|
+
type PtAndLpToAssetConstructorParams =
|
|
104
|
+
| [signer?: Signer]
|
|
105
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
106
|
+
|
|
107
|
+
const isSuperArgs = (
|
|
108
|
+
xs: PtAndLpToAssetConstructorParams
|
|
109
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
110
|
+
|
|
111
|
+
export class PtAndLpToAsset__factory extends ContractFactory {
|
|
112
|
+
constructor(...args: PtAndLpToAssetConstructorParams) {
|
|
113
|
+
if (isSuperArgs(args)) {
|
|
114
|
+
super(...args);
|
|
115
|
+
} else {
|
|
116
|
+
super(_abi, _bytecode, args[0]);
|
|
117
|
+
}
|
|
118
|
+
this.contractName = "PtAndLpToAsset";
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
deploy(
|
|
122
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
123
|
+
): Promise<PtAndLpToAsset> {
|
|
124
|
+
return super.deploy(overrides || {}) as Promise<PtAndLpToAsset>;
|
|
125
|
+
}
|
|
126
|
+
getDeployTransaction(
|
|
127
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
128
|
+
): TransactionRequest {
|
|
129
|
+
return super.getDeployTransaction(overrides || {});
|
|
130
|
+
}
|
|
131
|
+
attach(address: string): PtAndLpToAsset {
|
|
132
|
+
return super.attach(address) as PtAndLpToAsset;
|
|
133
|
+
}
|
|
134
|
+
connect(signer: Signer): PtAndLpToAsset__factory {
|
|
135
|
+
return super.connect(signer) as PtAndLpToAsset__factory;
|
|
136
|
+
}
|
|
137
|
+
static readonly contractName: "PtAndLpToAsset";
|
|
138
|
+
public readonly contractName: "PtAndLpToAsset";
|
|
139
|
+
static readonly bytecode = _bytecode;
|
|
140
|
+
static readonly abi = _abi;
|
|
141
|
+
static createInterface(): PtAndLpToAssetInterface {
|
|
142
|
+
return new utils.Interface(_abi) as PtAndLpToAssetInterface;
|
|
143
|
+
}
|
|
144
|
+
static connect(
|
|
145
|
+
address: string,
|
|
146
|
+
signerOrProvider: Signer | Provider
|
|
147
|
+
): PtAndLpToAsset {
|
|
148
|
+
return new Contract(address, _abi, signerOrProvider) as PtAndLpToAsset;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -300,6 +300,31 @@ const _abi = [
|
|
|
300
300
|
stateMutability: "nonpayable",
|
|
301
301
|
type: "function",
|
|
302
302
|
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [],
|
|
305
|
+
name: "claimWithoutCompound",
|
|
306
|
+
outputs: [
|
|
307
|
+
{
|
|
308
|
+
components: [
|
|
309
|
+
{
|
|
310
|
+
internalType: "address",
|
|
311
|
+
name: "token",
|
|
312
|
+
type: "address",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
internalType: "uint256",
|
|
316
|
+
name: "amount",
|
|
317
|
+
type: "uint256",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
internalType: "struct TokenAmount[]",
|
|
321
|
+
name: "rewards",
|
|
322
|
+
type: "tuple[]",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
stateMutability: "nonpayable",
|
|
326
|
+
type: "function",
|
|
327
|
+
},
|
|
303
328
|
{
|
|
304
329
|
inputs: [
|
|
305
330
|
{
|
|
@@ -264,6 +264,14 @@ declare module "hardhat/types/runtime" {
|
|
|
264
264
|
name: "PendleGlpSY",
|
|
265
265
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
266
266
|
): Promise<Contracts.PendleGlpSY__factory>;
|
|
267
|
+
getContractFactory(
|
|
268
|
+
name: "PendleArbitrumStakedEthSY",
|
|
269
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
270
|
+
): Promise<Contracts.PendleArbitrumStakedEthSY__factory>;
|
|
271
|
+
getContractFactory(
|
|
272
|
+
name: "PendleBinanceEth",
|
|
273
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
274
|
+
): Promise<Contracts.PendleBinanceEth__factory>;
|
|
267
275
|
getContractFactory(
|
|
268
276
|
name: "PendleGDaiSY",
|
|
269
277
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -301,9 +309,9 @@ declare module "hardhat/types/runtime" {
|
|
|
301
309
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
302
310
|
): Promise<Contracts.BotActionHelper__factory>;
|
|
303
311
|
getContractFactory(
|
|
304
|
-
name: "
|
|
312
|
+
name: "BotDecisionHelper",
|
|
305
313
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
306
|
-
): Promise<Contracts.
|
|
314
|
+
): Promise<Contracts.BotDecisionHelper__factory>;
|
|
307
315
|
getContractFactory(
|
|
308
316
|
name: "LongYieldTradingBot",
|
|
309
317
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -316,10 +324,6 @@ declare module "hardhat/types/runtime" {
|
|
|
316
324
|
name: "TradingBotBase",
|
|
317
325
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
318
326
|
): Promise<Contracts.TradingBotBase__factory>;
|
|
319
|
-
getContractFactory(
|
|
320
|
-
name: "TradingBotOffchain",
|
|
321
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
322
|
-
): Promise<Contracts.TradingBotOffchain__factory>;
|
|
323
327
|
getContractFactory(
|
|
324
328
|
name: "InterestManagerYT",
|
|
325
329
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -392,6 +396,10 @@ declare module "hardhat/types/runtime" {
|
|
|
392
396
|
name: "IVault",
|
|
393
397
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
394
398
|
): Promise<Contracts.IVault__factory>;
|
|
399
|
+
getContractFactory(
|
|
400
|
+
name: "IWBETH",
|
|
401
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
402
|
+
): Promise<Contracts.IWBETH__factory>;
|
|
395
403
|
getContractFactory(
|
|
396
404
|
name: "ICamelotFactory",
|
|
397
405
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -716,6 +724,10 @@ declare module "hardhat/types/runtime" {
|
|
|
716
724
|
name: "IWstETH",
|
|
717
725
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
718
726
|
): Promise<Contracts.IWstETH__factory>;
|
|
727
|
+
getContractFactory(
|
|
728
|
+
name: "IBotDecisionHelper",
|
|
729
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
730
|
+
): Promise<Contracts.IBotDecisionHelper__factory>;
|
|
719
731
|
getContractFactory(
|
|
720
732
|
name: "ILongYieldTradingBot",
|
|
721
733
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -808,6 +820,10 @@ declare module "hardhat/types/runtime" {
|
|
|
808
820
|
name: "PendleMulticallV1",
|
|
809
821
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
810
822
|
): Promise<Contracts.PendleMulticallV1__factory>;
|
|
823
|
+
getContractFactory(
|
|
824
|
+
name: "PtAndLpToAsset",
|
|
825
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
826
|
+
): Promise<Contracts.PtAndLpToAsset__factory>;
|
|
811
827
|
getContractFactory(
|
|
812
828
|
name: "ActionInfoStatic",
|
|
813
829
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1224,6 +1240,16 @@ declare module "hardhat/types/runtime" {
|
|
|
1224
1240
|
address: string,
|
|
1225
1241
|
signer?: ethers.Signer
|
|
1226
1242
|
): Promise<Contracts.PendleGlpSY>;
|
|
1243
|
+
getContractAt(
|
|
1244
|
+
name: "PendleArbitrumStakedEthSY",
|
|
1245
|
+
address: string,
|
|
1246
|
+
signer?: ethers.Signer
|
|
1247
|
+
): Promise<Contracts.PendleArbitrumStakedEthSY>;
|
|
1248
|
+
getContractAt(
|
|
1249
|
+
name: "PendleBinanceEth",
|
|
1250
|
+
address: string,
|
|
1251
|
+
signer?: ethers.Signer
|
|
1252
|
+
): Promise<Contracts.PendleBinanceEth>;
|
|
1227
1253
|
getContractAt(
|
|
1228
1254
|
name: "PendleGDaiSY",
|
|
1229
1255
|
address: string,
|
|
@@ -1270,10 +1296,10 @@ declare module "hardhat/types/runtime" {
|
|
|
1270
1296
|
signer?: ethers.Signer
|
|
1271
1297
|
): Promise<Contracts.BotActionHelper>;
|
|
1272
1298
|
getContractAt(
|
|
1273
|
-
name: "
|
|
1299
|
+
name: "BotDecisionHelper",
|
|
1274
1300
|
address: string,
|
|
1275
1301
|
signer?: ethers.Signer
|
|
1276
|
-
): Promise<Contracts.
|
|
1302
|
+
): Promise<Contracts.BotDecisionHelper>;
|
|
1277
1303
|
getContractAt(
|
|
1278
1304
|
name: "LongYieldTradingBot",
|
|
1279
1305
|
address: string,
|
|
@@ -1289,11 +1315,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1289
1315
|
address: string,
|
|
1290
1316
|
signer?: ethers.Signer
|
|
1291
1317
|
): Promise<Contracts.TradingBotBase>;
|
|
1292
|
-
getContractAt(
|
|
1293
|
-
name: "TradingBotOffchain",
|
|
1294
|
-
address: string,
|
|
1295
|
-
signer?: ethers.Signer
|
|
1296
|
-
): Promise<Contracts.TradingBotOffchain>;
|
|
1297
1318
|
getContractAt(
|
|
1298
1319
|
name: "InterestManagerYT",
|
|
1299
1320
|
address: string,
|
|
@@ -1384,6 +1405,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1384
1405
|
address: string,
|
|
1385
1406
|
signer?: ethers.Signer
|
|
1386
1407
|
): Promise<Contracts.IVault>;
|
|
1408
|
+
getContractAt(
|
|
1409
|
+
name: "IWBETH",
|
|
1410
|
+
address: string,
|
|
1411
|
+
signer?: ethers.Signer
|
|
1412
|
+
): Promise<Contracts.IWBETH>;
|
|
1387
1413
|
getContractAt(
|
|
1388
1414
|
name: "ICamelotFactory",
|
|
1389
1415
|
address: string,
|
|
@@ -1789,6 +1815,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1789
1815
|
address: string,
|
|
1790
1816
|
signer?: ethers.Signer
|
|
1791
1817
|
): Promise<Contracts.IWstETH>;
|
|
1818
|
+
getContractAt(
|
|
1819
|
+
name: "IBotDecisionHelper",
|
|
1820
|
+
address: string,
|
|
1821
|
+
signer?: ethers.Signer
|
|
1822
|
+
): Promise<Contracts.IBotDecisionHelper>;
|
|
1792
1823
|
getContractAt(
|
|
1793
1824
|
name: "ILongYieldTradingBot",
|
|
1794
1825
|
address: string,
|
|
@@ -1904,6 +1935,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1904
1935
|
address: string,
|
|
1905
1936
|
signer?: ethers.Signer
|
|
1906
1937
|
): Promise<Contracts.PendleMulticallV1>;
|
|
1938
|
+
getContractAt(
|
|
1939
|
+
name: "PtAndLpToAsset",
|
|
1940
|
+
address: string,
|
|
1941
|
+
signer?: ethers.Signer
|
|
1942
|
+
): Promise<Contracts.PtAndLpToAsset>;
|
|
1907
1943
|
getContractAt(
|
|
1908
1944
|
name: "ActionInfoStatic",
|
|
1909
1945
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -64,6 +64,8 @@ export type { PendleCurveFraxUsdcSY } from "./PendleCurveFraxUsdcSY";
|
|
|
64
64
|
export type { PendleCurveUsdd3CrvSY } from "./PendleCurveUsdd3CrvSY";
|
|
65
65
|
export type { GLPPreviewHelper } from "./GLPPreviewHelper";
|
|
66
66
|
export type { PendleGlpSY } from "./PendleGlpSY";
|
|
67
|
+
export type { PendleArbitrumStakedEthSY } from "./PendleArbitrumStakedEthSY";
|
|
68
|
+
export type { PendleBinanceEth } from "./PendleBinanceEth";
|
|
67
69
|
export type { PendleGDaiSY } from "./PendleGDaiSY";
|
|
68
70
|
export type { PendleLooksStakingSY } from "./PendleLooksStakingSY";
|
|
69
71
|
export type { PendleSfrxEthSY } from "./PendleSfrxEthSY";
|
|
@@ -73,11 +75,10 @@ export type { SYBase } from "./SYBase";
|
|
|
73
75
|
export type { SYBaseWithRewards } from "./SYBaseWithRewards";
|
|
74
76
|
export type { BotActionCallback } from "./BotActionCallback";
|
|
75
77
|
export type { BotActionHelper } from "./BotActionHelper";
|
|
76
|
-
export type {
|
|
78
|
+
export type { BotDecisionHelper } from "./BotDecisionHelper";
|
|
77
79
|
export type { LongYieldTradingBot } from "./LongYieldTradingBot";
|
|
78
80
|
export type { MarketExtLib } from "./MarketExtLib";
|
|
79
81
|
export type { TradingBotBase } from "./TradingBotBase";
|
|
80
|
-
export type { TradingBotOffchain } from "./TradingBotOffchain";
|
|
81
82
|
export type { InterestManagerYT } from "./InterestManagerYT";
|
|
82
83
|
export type { PendlePrincipalToken } from "./PendlePrincipalToken";
|
|
83
84
|
export type { PendleYieldContractFactory } from "./PendleYieldContractFactory";
|
|
@@ -96,6 +97,7 @@ export type { ILiquidityGaugeFactory } from "./ILiquidityGaugeFactory";
|
|
|
96
97
|
export type { IMetaStablePool } from "./IMetaStablePool";
|
|
97
98
|
export type { IRateProvider } from "./IRateProvider";
|
|
98
99
|
export type { IVault } from "./IVault";
|
|
100
|
+
export type { IWBETH } from "./IWBETH";
|
|
99
101
|
export type { ICamelotFactory } from "./ICamelotFactory";
|
|
100
102
|
export type { ICamelotNFTFactory } from "./ICamelotNFTFactory";
|
|
101
103
|
export type { ICamelotNFTHandler } from "./ICamelotNFTHandler";
|
|
@@ -177,6 +179,7 @@ export type { IStargateStaking } from "./IStargateStaking";
|
|
|
177
179
|
export type { IStETH } from "./IStETH";
|
|
178
180
|
export type { IWETH } from "./IWETH";
|
|
179
181
|
export type { IWstETH } from "./IWstETH";
|
|
182
|
+
export type { IBotDecisionHelper } from "./IBotDecisionHelper";
|
|
180
183
|
export type { ILongYieldTradingBot } from "./ILongYieldTradingBot";
|
|
181
184
|
export type { ITradingBotBase } from "./ITradingBotBase";
|
|
182
185
|
export type { PendleMsgReceiveEndpointUpg } from "./PendleMsgReceiveEndpointUpg";
|
|
@@ -200,6 +203,7 @@ export type { BulkSellerOffchain } from "./BulkSellerOffchain";
|
|
|
200
203
|
export type { EmptyUUPS } from "./EmptyUUPS";
|
|
201
204
|
export type { Multicall2 } from "./Multicall2";
|
|
202
205
|
export type { PendleMulticallV1 } from "./PendleMulticallV1";
|
|
206
|
+
export type { PtAndLpToAsset } from "./PtAndLpToAsset";
|
|
203
207
|
export type { ActionInfoStatic } from "./ActionInfoStatic";
|
|
204
208
|
export type { ActionMarketAuxStatic } from "./ActionMarketAuxStatic";
|
|
205
209
|
export type { ActionMarketCoreStatic } from "./ActionMarketCoreStatic";
|
|
@@ -289,6 +293,8 @@ export { PendleCurveFraxUsdcSY__factory } from "./factories/PendleCurveFraxUsdcS
|
|
|
289
293
|
export { PendleCurveUsdd3CrvSY__factory } from "./factories/PendleCurveUsdd3CrvSY__factory";
|
|
290
294
|
export { GLPPreviewHelper__factory } from "./factories/GLPPreviewHelper__factory";
|
|
291
295
|
export { PendleGlpSY__factory } from "./factories/PendleGlpSY__factory";
|
|
296
|
+
export { PendleArbitrumStakedEthSY__factory } from "./factories/PendleArbitrumStakedEthSY__factory";
|
|
297
|
+
export { PendleBinanceEth__factory } from "./factories/PendleBinanceEth__factory";
|
|
292
298
|
export { PendleGDaiSY__factory } from "./factories/PendleGDaiSY__factory";
|
|
293
299
|
export { PendleLooksStakingSY__factory } from "./factories/PendleLooksStakingSY__factory";
|
|
294
300
|
export { PendleSfrxEthSY__factory } from "./factories/PendleSfrxEthSY__factory";
|
|
@@ -298,11 +304,10 @@ export { SYBase__factory } from "./factories/SYBase__factory";
|
|
|
298
304
|
export { SYBaseWithRewards__factory } from "./factories/SYBaseWithRewards__factory";
|
|
299
305
|
export { BotActionCallback__factory } from "./factories/BotActionCallback__factory";
|
|
300
306
|
export { BotActionHelper__factory } from "./factories/BotActionHelper__factory";
|
|
301
|
-
export {
|
|
307
|
+
export { BotDecisionHelper__factory } from "./factories/BotDecisionHelper__factory";
|
|
302
308
|
export { LongYieldTradingBot__factory } from "./factories/LongYieldTradingBot__factory";
|
|
303
309
|
export { MarketExtLib__factory } from "./factories/MarketExtLib__factory";
|
|
304
310
|
export { TradingBotBase__factory } from "./factories/TradingBotBase__factory";
|
|
305
|
-
export { TradingBotOffchain__factory } from "./factories/TradingBotOffchain__factory";
|
|
306
311
|
export { InterestManagerYT__factory } from "./factories/InterestManagerYT__factory";
|
|
307
312
|
export { PendlePrincipalToken__factory } from "./factories/PendlePrincipalToken__factory";
|
|
308
313
|
export { PendleYieldContractFactory__factory } from "./factories/PendleYieldContractFactory__factory";
|
|
@@ -321,6 +326,7 @@ export { ILiquidityGaugeFactory__factory } from "./factories/ILiquidityGaugeFact
|
|
|
321
326
|
export { IMetaStablePool__factory } from "./factories/IMetaStablePool__factory";
|
|
322
327
|
export { IRateProvider__factory } from "./factories/IRateProvider__factory";
|
|
323
328
|
export { IVault__factory } from "./factories/IVault__factory";
|
|
329
|
+
export { IWBETH__factory } from "./factories/IWBETH__factory";
|
|
324
330
|
export { ICamelotFactory__factory } from "./factories/ICamelotFactory__factory";
|
|
325
331
|
export { ICamelotNFTFactory__factory } from "./factories/ICamelotNFTFactory__factory";
|
|
326
332
|
export { ICamelotNFTHandler__factory } from "./factories/ICamelotNFTHandler__factory";
|
|
@@ -402,6 +408,7 @@ export { IStargateStaking__factory } from "./factories/IStargateStaking__factory
|
|
|
402
408
|
export { IStETH__factory } from "./factories/IStETH__factory";
|
|
403
409
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
404
410
|
export { IWstETH__factory } from "./factories/IWstETH__factory";
|
|
411
|
+
export { IBotDecisionHelper__factory } from "./factories/IBotDecisionHelper__factory";
|
|
405
412
|
export { ILongYieldTradingBot__factory } from "./factories/ILongYieldTradingBot__factory";
|
|
406
413
|
export { ITradingBotBase__factory } from "./factories/ITradingBotBase__factory";
|
|
407
414
|
export { PendleMsgReceiveEndpointUpg__factory } from "./factories/PendleMsgReceiveEndpointUpg__factory";
|
|
@@ -425,6 +432,7 @@ export { BulkSellerOffchain__factory } from "./factories/BulkSellerOffchain__fac
|
|
|
425
432
|
export { EmptyUUPS__factory } from "./factories/EmptyUUPS__factory";
|
|
426
433
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
427
434
|
export { PendleMulticallV1__factory } from "./factories/PendleMulticallV1__factory";
|
|
435
|
+
export { PtAndLpToAsset__factory } from "./factories/PtAndLpToAsset__factory";
|
|
428
436
|
export { ActionInfoStatic__factory } from "./factories/ActionInfoStatic__factory";
|
|
429
437
|
export { ActionMarketAuxStatic__factory } from "./factories/ActionMarketAuxStatic__factory";
|
|
430
438
|
export { ActionMarketCoreStatic__factory } from "./factories/ActionMarketCoreStatic__factory";
|