@pendle/core-v2 0.6.8 → 0.6.9
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/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/{IPendleGauge.json → IPGauge.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/{IVePToken.json → IPVeToken.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/{IVotingEscrowPendle.json → IPVotingEscrow.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/IPVotingEscrowController.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/{VotingEscrowController.json → IPVotingEscrowController.json} +1 -1
- package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +1 -1
- package/contracts/interfaces/IPGauge.sol +1 -1
- package/contracts/interfaces/IPVeToken.sol +1 -1
- package/contracts/interfaces/IPVotingEscrow.sol +2 -2
- package/contracts/interfaces/IPVotingEscrowController.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionSCYAndYOBase.ts +223 -0
- package/typechain-types/AggregatorV2V3Interface.ts +380 -0
- package/typechain-types/BenqiChainlinkOracle.ts +362 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpg.ts +194 -0
- package/typechain-types/BoringOwnableUpgData.ts +100 -0
- package/typechain-types/Comptroller.ts +2860 -0
- package/typechain-types/ComptrollerErrorReporter.ts +70 -0
- package/typechain-types/ComptrollerInterface.ts +881 -0
- package/typechain-types/ComptrollerVXStorage.ts +781 -0
- package/typechain-types/CrosschainContract.ts +113 -0
- package/typechain-types/CrosschainReceiver.ts +347 -0
- package/typechain-types/CrosschainSender.ts +210 -0
- package/typechain-types/EIP20Interface.ts +337 -0
- package/typechain-types/EIP20NonStandardInterface.ts +298 -0
- package/typechain-types/ERC20Burnable.ts +473 -0
- package/typechain-types/ERC20Locker.ts +91 -0
- package/typechain-types/ERC20Premined.ts +473 -0
- package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
- package/typechain-types/EpochController.ts +195 -0
- package/typechain-types/FundKeeper.ts +347 -0
- package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
- package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
- package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
- package/typechain-types/IGaugeController.ts +99 -0
- package/typechain-types/ILiquidYieldToken.ts +639 -0
- package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
- package/typechain-types/IMessageBus.ts +543 -0
- package/typechain-types/IMessageReceiverApp.ts +110 -0
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPGauge.ts +241 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPOwnershipToken.ts +488 -0
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPVeToken.ts +103 -0
- package/typechain-types/IPVotingEscrow.ts +297 -0
- package/typechain-types/IPVotingEscrowController.ts +154 -0
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/IVEPendleToken.ts +121 -0
- package/typechain-types/IXPendle.ts +114 -0
- package/typechain-types/InterestRateModel.ts +178 -0
- package/typechain-types/JumpRateModel.ts +347 -0
- package/typechain-types/LYTBase.ts +721 -0
- package/typechain-types/LYTBaseWithRewards.ts +806 -0
- package/typechain-types/LYTWrap.ts +872 -0
- package/typechain-types/LYTWrapWithRewards.ts +979 -0
- package/typechain-types/LiquidityMining.ts +468 -0
- package/typechain-types/Maximillion.ts +145 -0
- package/typechain-types/Ownable.ts +160 -0
- package/typechain-types/PendleAaveV3LYT.ts +808 -0
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleJoeSwapHelper.ts +92 -0
- package/typechain-types/PendleLYTMockYT.ts +894 -0
- package/typechain-types/PendleLiquidYieldToken.ts +814 -0
- package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
- package/typechain-types/PendleOwnershipToken.ts +598 -0
- package/typechain-types/PendleRouter01.ts +184 -0
- package/typechain-types/PendleRouter02.ts +564 -0
- package/typechain-types/PendleRouter03.ts +224 -0
- package/typechain-types/PendleRouterBase.ts +126 -0
- package/typechain-types/PendleRouterCore.ts +328 -0
- package/typechain-types/PendleRouterCoreUpg.ts +798 -0
- package/typechain-types/PendleRouterLytAndForge.ts +331 -0
- package/typechain-types/PendleRouterMarketBase.ts +82 -0
- package/typechain-types/PendleRouterOT.ts +463 -0
- package/typechain-types/PendleRouterProxy.ts +335 -0
- package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
- package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
- package/typechain-types/PendleRouterRedeemUpg.ts +125 -0
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
- package/typechain-types/PendleRouterStaticUpg.ts +399 -0
- package/typechain-types/PendleRouterYT.ts +227 -0
- package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
- package/typechain-types/PendleRouterYTUpg.ts +537 -0
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PermissionsV2.ts +87 -0
- package/typechain-types/PermlessAbstract.ts +57 -0
- package/typechain-types/PglStakingContract.ts +662 -0
- package/typechain-types/PglStakingContractProxy.ts +256 -0
- package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
- package/typechain-types/PglStakingContractStorage.ts +397 -0
- package/typechain-types/PriceOracle.ts +116 -0
- package/typechain-types/ProtocolFakeUser.ts +105 -0
- package/typechain-types/Qi.ts +760 -0
- package/typechain-types/QiAvax.ts +1720 -0
- package/typechain-types/QiDelegateInterface.ts +145 -0
- package/typechain-types/QiDelegationStorage.ts +82 -0
- package/typechain-types/QiDelegatorInterface.ts +149 -0
- package/typechain-types/QiErc20.ts +1846 -0
- package/typechain-types/QiErc20Delegate.ts +1926 -0
- package/typechain-types/QiErc20Delegator.ts +1885 -0
- package/typechain-types/QiErc20Interface.ts +382 -0
- package/typechain-types/QiErc20Storage.ts +79 -0
- package/typechain-types/QiToken.ts +1475 -0
- package/typechain-types/QiTokenInterface.ts +1419 -0
- package/typechain-types/QiTokenSaleDistributor.ts +771 -0
- package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
- package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
- package/typechain-types/QiTokenStorage.ts +311 -0
- package/typechain-types/ReentrancyGuard.ts +52 -0
- package/typechain-types/SingleGaugeTypeController.ts +478 -0
- package/typechain-types/TokenErrorReporter.ts +70 -0
- package/typechain-types/Unitroller.ts +356 -0
- package/typechain-types/UnitrollerAdminStorage.ts +143 -0
- package/typechain-types/VePendle.ts +1156 -0
- package/typechain-types/VePendleCrosschain.ts +969 -0
- package/typechain-types/VePendleToken.ts +688 -0
- package/typechain-types/VotingController.ts +883 -0
- package/typechain-types/WETH9.ts +414 -0
- package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
- package/typechain-types/XPendle.ts +618 -0
- package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +200 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
- package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
- package/typechain-types/factories/Comptroller__factory.ts +2189 -0
- package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
- package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
- package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
- package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
- package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
- package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
- package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
- package/typechain-types/factories/EpochController__factory.ts +170 -0
- package/typechain-types/factories/FundKeeper__factory.ts +212 -0
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
- package/typechain-types/factories/IGaugeController__factory.ts +45 -0
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
- package/typechain-types/factories/IMessageBus__factory.ts +396 -0
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPGauge__factory.ts +125 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPOwnershipToken__factory.ts +349 -0
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPVeToken__factory.ts +55 -0
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +182 -0
- package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
- package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
- package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
- package/typechain-types/factories/IXPendle__factory.ts +61 -0
- package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
- package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
- package/typechain-types/factories/LYTBase__factory.ts +474 -0
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
- package/typechain-types/factories/LYTWrap__factory.ts +574 -0
- package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
- package/typechain-types/factories/Maximillion__factory.ts +125 -0
- package/typechain-types/factories/Ownable__factory.ts +75 -0
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
- package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
- package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
- package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
- package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
- package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
- package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
- package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
- package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +112 -0
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
- package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
- package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
- package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
- package/typechain-types/factories/PriceOracle__factory.ts +59 -0
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
- package/typechain-types/factories/QiAvax__factory.ts +1471 -0
- package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
- package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
- package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
- package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
- package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
- package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
- package/typechain-types/factories/QiErc20__factory.ts +1515 -0
- package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
- package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
- package/typechain-types/factories/QiToken__factory.ts +1219 -0
- package/typechain-types/factories/Qi__factory.ts +648 -0
- package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
- package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
- package/typechain-types/factories/Unitroller__factory.ts +305 -0
- package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
- package/typechain-types/factories/VePendleToken__factory.ts +494 -0
- package/typechain-types/factories/VePendle__factory.ts +800 -0
- package/typechain-types/factories/VotingController__factory.ts +610 -0
- package/typechain-types/factories/WETH9__factory.ts +342 -0
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
- package/typechain-types/factories/XPendle__factory.ts +473 -0
- package/typechain-types/hardhat.d.ts +52 -16
- package/typechain-types/index.ts +22 -6
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPendleGauge.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IVePToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IVotingEscrowPendle.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/VotingEscrowController.dbg.json +0 -4
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type { VePendle, VePendleInterface } from "../VePendle";
|
|
14
|
+
|
|
15
|
+
const _abi = [
|
|
16
|
+
{
|
|
17
|
+
inputs: [
|
|
18
|
+
{
|
|
19
|
+
internalType: "contract IERC20",
|
|
20
|
+
name: "_pendle",
|
|
21
|
+
type: "address",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: "uint256",
|
|
25
|
+
name: "_startTime",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
stateMutability: "nonpayable",
|
|
30
|
+
type: "constructor",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "previousOwner",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
indexed: true,
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "newOwner",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
name: "OwnershipTransferred",
|
|
49
|
+
type: "event",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [],
|
|
53
|
+
name: "EPOCH_DURATION",
|
|
54
|
+
outputs: [
|
|
55
|
+
{
|
|
56
|
+
internalType: "uint256",
|
|
57
|
+
name: "",
|
|
58
|
+
type: "uint256",
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
stateMutability: "view",
|
|
62
|
+
type: "function",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
inputs: [],
|
|
66
|
+
name: "MAX_LOCK_TIME",
|
|
67
|
+
outputs: [
|
|
68
|
+
{
|
|
69
|
+
internalType: "uint256",
|
|
70
|
+
name: "",
|
|
71
|
+
type: "uint256",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
stateMutability: "view",
|
|
75
|
+
type: "function",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
inputs: [],
|
|
79
|
+
name: "ZERO_ADDRESS",
|
|
80
|
+
outputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: "address",
|
|
83
|
+
name: "",
|
|
84
|
+
type: "address",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
stateMutability: "view",
|
|
88
|
+
type: "function",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
inputs: [
|
|
92
|
+
{
|
|
93
|
+
internalType: "address",
|
|
94
|
+
name: "user",
|
|
95
|
+
type: "address",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
name: "acceptDelegation",
|
|
99
|
+
outputs: [],
|
|
100
|
+
stateMutability: "nonpayable",
|
|
101
|
+
type: "function",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
inputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "address",
|
|
107
|
+
name: "user",
|
|
108
|
+
type: "address",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: "balanceOf",
|
|
112
|
+
outputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "uint256",
|
|
115
|
+
name: "",
|
|
116
|
+
type: "uint256",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
stateMutability: "view",
|
|
120
|
+
type: "function",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "uint256",
|
|
126
|
+
name: "",
|
|
127
|
+
type: "uint256",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
name: "crosschainVePendles",
|
|
131
|
+
outputs: [
|
|
132
|
+
{
|
|
133
|
+
internalType: "address",
|
|
134
|
+
name: "addr",
|
|
135
|
+
type: "address",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
internalType: "uint256",
|
|
139
|
+
name: "chainId",
|
|
140
|
+
type: "uint256",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
stateMutability: "view",
|
|
144
|
+
type: "function",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [
|
|
148
|
+
{
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "user",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
name: "delegateTo",
|
|
155
|
+
outputs: [],
|
|
156
|
+
stateMutability: "nonpayable",
|
|
157
|
+
type: "function",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
inputs: [
|
|
161
|
+
{
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "delegateeOf",
|
|
168
|
+
outputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
stateMutability: "view",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
inputs: [
|
|
180
|
+
{
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
name: "delegatorOf",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "address",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "expiry",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
name: "deposit",
|
|
206
|
+
outputs: [],
|
|
207
|
+
stateMutability: "nonpayable",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "user",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
internalType: "uint256",
|
|
219
|
+
name: "expiry",
|
|
220
|
+
type: "uint256",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
name: "depositFor",
|
|
224
|
+
outputs: [],
|
|
225
|
+
stateMutability: "nonpayable",
|
|
226
|
+
type: "function",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
inputs: [
|
|
230
|
+
{
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
name: "expiredVotes",
|
|
237
|
+
outputs: [
|
|
238
|
+
{
|
|
239
|
+
internalType: "uint256",
|
|
240
|
+
name: "",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
stateMutability: "view",
|
|
245
|
+
type: "function",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
components: [
|
|
251
|
+
{
|
|
252
|
+
components: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "uint256",
|
|
255
|
+
name: "slope",
|
|
256
|
+
type: "uint256",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
internalType: "uint256",
|
|
260
|
+
name: "bias",
|
|
261
|
+
type: "uint256",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
internalType: "struct Line",
|
|
265
|
+
name: "value",
|
|
266
|
+
type: "tuple",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
internalType: "uint256",
|
|
270
|
+
name: "timestamp",
|
|
271
|
+
type: "uint256",
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
internalType: "struct vePendleToken.Checkpoint[]",
|
|
275
|
+
name: "checkpoints",
|
|
276
|
+
type: "tuple[]",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
internalType: "uint256",
|
|
280
|
+
name: "timestamp",
|
|
281
|
+
type: "uint256",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
name: "getCheckpointAt",
|
|
285
|
+
outputs: [
|
|
286
|
+
{
|
|
287
|
+
components: [
|
|
288
|
+
{
|
|
289
|
+
components: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "slope",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "bias",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
internalType: "struct Line",
|
|
302
|
+
name: "value",
|
|
303
|
+
type: "tuple",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "uint256",
|
|
307
|
+
name: "timestamp",
|
|
308
|
+
type: "uint256",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
internalType: "struct vePendleToken.Checkpoint",
|
|
312
|
+
name: "",
|
|
313
|
+
type: "tuple",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
stateMutability: "pure",
|
|
317
|
+
type: "function",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
inputs: [
|
|
321
|
+
{
|
|
322
|
+
internalType: "uint256",
|
|
323
|
+
name: "epochId",
|
|
324
|
+
type: "uint256",
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
name: "getEpochEndingTimestamp",
|
|
328
|
+
outputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
stateMutability: "view",
|
|
336
|
+
type: "function",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "uint256",
|
|
342
|
+
name: "timestamp",
|
|
343
|
+
type: "uint256",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
name: "getEpochId",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "uint256",
|
|
350
|
+
name: "",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "view",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "uint256",
|
|
361
|
+
name: "epochId",
|
|
362
|
+
type: "uint256",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
name: "getEpochStartingTimestamp",
|
|
366
|
+
outputs: [
|
|
367
|
+
{
|
|
368
|
+
internalType: "uint256",
|
|
369
|
+
name: "",
|
|
370
|
+
type: "uint256",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
stateMutability: "view",
|
|
374
|
+
type: "function",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
inputs: [
|
|
378
|
+
{
|
|
379
|
+
internalType: "uint256",
|
|
380
|
+
name: "timestamp",
|
|
381
|
+
type: "uint256",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
name: "getSupplyAt",
|
|
385
|
+
outputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "uint256",
|
|
388
|
+
name: "",
|
|
389
|
+
type: "uint256",
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
stateMutability: "view",
|
|
393
|
+
type: "function",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
inputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "address",
|
|
399
|
+
name: "user",
|
|
400
|
+
type: "address",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
internalType: "uint256",
|
|
404
|
+
name: "timestamp",
|
|
405
|
+
type: "uint256",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "getUserBalanceAt",
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
stateMutability: "view",
|
|
417
|
+
type: "function",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
inputs: [],
|
|
421
|
+
name: "increaseLockAmount",
|
|
422
|
+
outputs: [],
|
|
423
|
+
stateMutability: "nonpayable",
|
|
424
|
+
type: "function",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
inputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "address",
|
|
430
|
+
name: "user",
|
|
431
|
+
type: "address",
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
name: "increaseLockAmountFor",
|
|
435
|
+
outputs: [],
|
|
436
|
+
stateMutability: "nonpayable",
|
|
437
|
+
type: "function",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
inputs: [
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "duration",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
name: "increaseLockTime",
|
|
448
|
+
outputs: [],
|
|
449
|
+
stateMutability: "nonpayable",
|
|
450
|
+
type: "function",
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
inputs: [],
|
|
454
|
+
name: "lastEpoch",
|
|
455
|
+
outputs: [
|
|
456
|
+
{
|
|
457
|
+
internalType: "uint256",
|
|
458
|
+
name: "",
|
|
459
|
+
type: "uint256",
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
stateMutability: "view",
|
|
463
|
+
type: "function",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
inputs: [],
|
|
467
|
+
name: "lastPendleBalance",
|
|
468
|
+
outputs: [
|
|
469
|
+
{
|
|
470
|
+
internalType: "uint256",
|
|
471
|
+
name: "",
|
|
472
|
+
type: "uint256",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
stateMutability: "view",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "messageBus",
|
|
481
|
+
outputs: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "contract IMessageBus",
|
|
484
|
+
name: "",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
stateMutability: "view",
|
|
489
|
+
type: "function",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
inputs: [],
|
|
493
|
+
name: "owner",
|
|
494
|
+
outputs: [
|
|
495
|
+
{
|
|
496
|
+
internalType: "address",
|
|
497
|
+
name: "",
|
|
498
|
+
type: "address",
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
stateMutability: "view",
|
|
502
|
+
type: "function",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
inputs: [],
|
|
506
|
+
name: "pendle",
|
|
507
|
+
outputs: [
|
|
508
|
+
{
|
|
509
|
+
internalType: "contract IERC20",
|
|
510
|
+
name: "",
|
|
511
|
+
type: "address",
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
stateMutability: "view",
|
|
515
|
+
type: "function",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
inputs: [],
|
|
519
|
+
name: "renounceOwnership",
|
|
520
|
+
outputs: [],
|
|
521
|
+
stateMutability: "nonpayable",
|
|
522
|
+
type: "function",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [
|
|
526
|
+
{
|
|
527
|
+
internalType: "contract IMessageBus",
|
|
528
|
+
name: "_messageBus",
|
|
529
|
+
type: "address",
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
name: "setCelerMessageBus",
|
|
533
|
+
outputs: [],
|
|
534
|
+
stateMutability: "nonpayable",
|
|
535
|
+
type: "function",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
inputs: [
|
|
539
|
+
{
|
|
540
|
+
components: [
|
|
541
|
+
{
|
|
542
|
+
internalType: "address",
|
|
543
|
+
name: "addr",
|
|
544
|
+
type: "address",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
internalType: "uint256",
|
|
548
|
+
name: "chainId",
|
|
549
|
+
type: "uint256",
|
|
550
|
+
},
|
|
551
|
+
],
|
|
552
|
+
internalType: "struct CrosschainSender.Destination[]",
|
|
553
|
+
name: "newCrosschainVePendles",
|
|
554
|
+
type: "tuple[]",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
name: "setCrosschainVePendles",
|
|
558
|
+
outputs: [],
|
|
559
|
+
stateMutability: "nonpayable",
|
|
560
|
+
type: "function",
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
inputs: [],
|
|
564
|
+
name: "startTime",
|
|
565
|
+
outputs: [
|
|
566
|
+
{
|
|
567
|
+
internalType: "uint256",
|
|
568
|
+
name: "",
|
|
569
|
+
type: "uint256",
|
|
570
|
+
},
|
|
571
|
+
],
|
|
572
|
+
stateMutability: "view",
|
|
573
|
+
type: "function",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
inputs: [],
|
|
577
|
+
name: "supply",
|
|
578
|
+
outputs: [
|
|
579
|
+
{
|
|
580
|
+
internalType: "uint256",
|
|
581
|
+
name: "slope",
|
|
582
|
+
type: "uint256",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
internalType: "uint256",
|
|
586
|
+
name: "bias",
|
|
587
|
+
type: "uint256",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
inputs: [
|
|
595
|
+
{
|
|
596
|
+
internalType: "uint256",
|
|
597
|
+
name: "",
|
|
598
|
+
type: "uint256",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
name: "supplyCheckpoints",
|
|
602
|
+
outputs: [
|
|
603
|
+
{
|
|
604
|
+
components: [
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "slope",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
internalType: "uint256",
|
|
612
|
+
name: "bias",
|
|
613
|
+
type: "uint256",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
internalType: "struct Line",
|
|
617
|
+
name: "value",
|
|
618
|
+
type: "tuple",
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
internalType: "uint256",
|
|
622
|
+
name: "timestamp",
|
|
623
|
+
type: "uint256",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
stateMutability: "view",
|
|
627
|
+
type: "function",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
inputs: [],
|
|
631
|
+
name: "totalSupply",
|
|
632
|
+
outputs: [
|
|
633
|
+
{
|
|
634
|
+
internalType: "uint256",
|
|
635
|
+
name: "",
|
|
636
|
+
type: "uint256",
|
|
637
|
+
},
|
|
638
|
+
],
|
|
639
|
+
stateMutability: "nonpayable",
|
|
640
|
+
type: "function",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
inputs: [
|
|
644
|
+
{
|
|
645
|
+
internalType: "address",
|
|
646
|
+
name: "newOwner",
|
|
647
|
+
type: "address",
|
|
648
|
+
},
|
|
649
|
+
],
|
|
650
|
+
name: "transferOwnership",
|
|
651
|
+
outputs: [],
|
|
652
|
+
stateMutability: "nonpayable",
|
|
653
|
+
type: "function",
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
inputs: [
|
|
657
|
+
{
|
|
658
|
+
internalType: "address",
|
|
659
|
+
name: "",
|
|
660
|
+
type: "address",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
internalType: "uint256",
|
|
664
|
+
name: "",
|
|
665
|
+
type: "uint256",
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
name: "userCheckpoints",
|
|
669
|
+
outputs: [
|
|
670
|
+
{
|
|
671
|
+
components: [
|
|
672
|
+
{
|
|
673
|
+
internalType: "uint256",
|
|
674
|
+
name: "slope",
|
|
675
|
+
type: "uint256",
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
internalType: "uint256",
|
|
679
|
+
name: "bias",
|
|
680
|
+
type: "uint256",
|
|
681
|
+
},
|
|
682
|
+
],
|
|
683
|
+
internalType: "struct Line",
|
|
684
|
+
name: "value",
|
|
685
|
+
type: "tuple",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
internalType: "uint256",
|
|
689
|
+
name: "timestamp",
|
|
690
|
+
type: "uint256",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
stateMutability: "view",
|
|
694
|
+
type: "function",
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
inputs: [
|
|
698
|
+
{
|
|
699
|
+
internalType: "address",
|
|
700
|
+
name: "",
|
|
701
|
+
type: "address",
|
|
702
|
+
},
|
|
703
|
+
],
|
|
704
|
+
name: "userLock",
|
|
705
|
+
outputs: [
|
|
706
|
+
{
|
|
707
|
+
internalType: "uint256",
|
|
708
|
+
name: "slope",
|
|
709
|
+
type: "uint256",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
internalType: "uint256",
|
|
713
|
+
name: "bias",
|
|
714
|
+
type: "uint256",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
stateMutability: "view",
|
|
718
|
+
type: "function",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
inputs: [],
|
|
722
|
+
name: "withdraw",
|
|
723
|
+
outputs: [],
|
|
724
|
+
stateMutability: "nonpayable",
|
|
725
|
+
type: "function",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
inputs: [
|
|
729
|
+
{
|
|
730
|
+
internalType: "address",
|
|
731
|
+
name: "user",
|
|
732
|
+
type: "address",
|
|
733
|
+
},
|
|
734
|
+
],
|
|
735
|
+
name: "withdrawFor",
|
|
736
|
+
outputs: [],
|
|
737
|
+
stateMutability: "nonpayable",
|
|
738
|
+
type: "function",
|
|
739
|
+
},
|
|
740
|
+
];
|
|
741
|
+
|
|
742
|
+
const _bytecode =
|
|
743
|
+
"0x60c06040523480156200001157600080fd5b50604051620021fb380380620021fb8339810160408190526200003491620000a9565b6080819052620000443362000057565b506001600160a01b031660a052620000e5565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060408385031215620000bd57600080fd5b82516001600160a01b0381168114620000d557600080fd5b6020939093015192949293505050565b60805160a0516120c662000135600039600081816104ae01528181610ebc01526112d3015260008181610421015281816107c20152818161080f0152818161099401526109ff01526120c66000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063715018a611610130578063a70b9f0c116100b8578063e7b58bdd1161007c578063e7b58bdd14610526578063f2fde38b1461055d578063f4ed239f14610570578063f7412baf146105a2578063fa78668f146105b557600080fd5b8063a70b9f0c146104d0578063ac637c7a146104da578063ad5b7f14146104ed578063b48a963414610500578063b6b55f251461051357600080fd5b80638da5cb5b116100ff5780638da5cb5b146104695780639d48ad1a1461047a5780639eca672c14610483578063a1a227fa14610496578063a2c530da146104a957600080fd5b8063715018a61461041457806378e979251461041c57806379af55e41461044357806382c8ab531461045657600080fd5b80632f4f21e2116101be578063532051ca11610182578063532051ca14610396578063538ba4f9146103a95780635617a6e8146103b1578063605d4729146103d857806370a082311461040157600080fd5b80632f4f21e21461033557806336d5a7e3146103485780633ccfd60b1461036857806343a3a397146103705780635303548b1461038357600080fd5b80630943832011610205578063094383201461029357806318160ddd146102c65780632222ef9f146102ce57806323342c381461030f57806327c8e9b61461032257600080fd5b8063019a126e14610237578063047fc9aa1461024157806306a4c9831461026957806308ffd21c14610280575b600080fd5b61023f6105c0565b005b60015460025461024f919082565b604080519283526020830191909152015b60405180910390f35b61027260035481565b604051908152602001610260565b61023f61028e366004611c23565b6105cb565b6102a66102a1366004611c40565b61068f565b604080518351815260209384015193810193909352820152606001610260565b6102726106e4565b6102f76102dc366004611c23565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610260565b61023f61031d366004611c23565b610713565b610272610330366004611c6c565b61075f565b61023f610343366004611c40565b6107ec565b610272610356366004611c6c565b60046020526000908152604090205481565b61023f610936565b61027261037e366004611c6c565b61093f565b610272610391366004611c6c565b610990565b6102726103a4366004611c40565b610a39565b6102f7600081565b61024f6103bf366004611c23565b6000602081905290815260409020805460019091015482565b6102f76103e6366004611c23565b6008602052600090815260409020546001600160a01b031681565b61027261040f366004611c23565b610aee565b61023f610bb5565b6102727f000000000000000000000000000000000000000000000000000000000000000081565b61023f610451366004611c6c565b610be9565b610272610464366004611c6c565b610d2d565b6009546001600160a01b03166102f7565b610272600b5481565b61023f610491366004611c23565b610e2a565b600a546102f7906001600160a01b031681565b6102f77f000000000000000000000000000000000000000000000000000000000000000081565b61027262093a8081565b61023f6104e8366004611c23565b610ee7565b61023f6104fb366004611c85565b610f8c565b61023f61050e366004611c23565b611022565b61023f610521366004611c6c565b611077565b610539610534366004611d6a565b611084565b60408051825180518252602090810151818301529092015190820152606001610260565b61023f61056b366004611c23565b61119a565b61058361057e366004611c6c565b611232565b604080516001600160a01b039093168352602083019190915201610260565b6102a66105b0366004611c6c565b61126a565b610272630784ce0081565b6105c9336105cb565b565b60006105d56112b1565b905060006105e283610aee565b116106265760405162461bcd60e51b815260206004820152600f60248201526e4c4f434b5f4e4f545f45584953545360881b60448201526064015b60405180910390fd5b6001600160a01b0382166000908152602081905260408120805460019091015490916106528383611e88565b905061065e8484611e9c565b925061068885604051806040016040528086815260200184876106819190611eb4565b905261136b565b5050505050565b600660205281600052604060002081815481106106ab57600080fd5b60009182526020918290206040805180820190915260039092020180548252600181015492820192909252600290910154909250905082565b60006106ee61156f565b604080518082019091526001548152600254602082015261070e9061161b565b905090565b6009546001600160a01b0316331461073d5760405162461bcd60e51b815260040161061d90611ed3565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008082116107a35760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b604482015260640161061d565b62093a806107b2600184611f08565b6107bc9190611eb4565b6107e6907f0000000000000000000000000000000000000000000000000000000000000000611e9c565b92915050565b60006107f66112b1565b905061080562093a8083611f1f565b15801561083157507f000000000000000000000000000000000000000000000000000000000000000082115b801561083c57504282115b6108795760405162461bcd60e51b815260206004820152600e60248201526d494e56414c49445f45585049525960901b604482015260640161061d565b61088283610aee565b156108be5760405162461bcd60e51b815260206004820152600c60248201526b1313d0d2d7d1561254d5115160a21b604482015260640161061d565b630784ce006108cd4284611f08565b11156109105760405162461bcd60e51b81526020600482015260126024820152714c4f434b5f54494d455f544f4f5f4c4f4e4760701b604482015260640161061d565b61093183604051806040016040528084815260200185856106819190611eb4565b505050565b6105c933610e2a565b60008082116109835760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b604482015260640161061d565b6107bc62093a8083611eb4565b60007f00000000000000000000000000000000000000000000000000000000000000008210156109f65760405162461bcd60e51b81526020600482015260116024820152700494e56414c49445f54494d455354414d5607c1b604482015260640161061d565b62093a80610a247f000000000000000000000000000000000000000000000000000000000000000084611f08565b610a2e9190611e88565b6107e6906001611e9c565b6000610ae782610ae060066000876001600160a01b03166001600160a01b03168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610ad657600084815260209081902060408051608081018252600386029092018054918301918252600180820154606085015291835260020154828401529083529092019101610a87565b5050505085611084565b5190611623565b9392505050565b6001600160a01b0381811660009081526007602052604081205490911615610b56576001600160a01b0380831660009081526007602090815260408083205490931682528181529082902082518084019093528054835260010154908201526107e69061161b565b6001600160a01b038281166000908152600860205260409020541615610b7e57506000919050565b6001600160a01b0382166000908152602081815260409182902082518084019093528054835260010154908201526107e69061161b565b6009546001600160a01b03163314610bdf5760405162461bcd60e51b815260040161061d90611ed3565b6105c96000611659565b336000610bf582610aee565b11610c345760405162461bcd60e51b815260206004820152600f60248201526e4c4f434b5f4e4f545f45584953545360881b604482015260640161061d565b610c4162093a8083611f1f565b15610c815760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa22aa920aa24a7a760811b604482015260640161061d565b6001600160a01b03811660009081526020819052604081208054600190910154909184610cae8484611e88565b610cb89190611e9c565b9050630784ce00610cc94283611f08565b1115610d0c5760405162461bcd60e51b81526020600482015260126024820152714c4f434b5f54494d455f544f4f5f4c4f4e4760701b604482015260640161061d565b61068884604051806040016040528086815260200184876106819190611eb4565b600080610dae6005805480602002602001604051908101604052809291908181526020016000905b82821015610da457600084815260209081902060408051608081018252600386029092018054918301918252600180820154606085015291835260020154828401529083529092019101610d55565b5050505084611084565b90506000610dc261037e8360200151610990565b90505b83811015610e1d5760008181526004602090815260409182902054825180840190935280835291610e06918101610dfc8585611eb4565b90528451906116ab565b835250610e1662093a8082611e9c565b9050610dc5565b508051610ae79084611623565b610e3381610aee565b15610e735760405162461bcd60e51b815260206004820152601060248201526f1313d0d2d7d393d517d156141254915160821b604482015260640161061d565b6001600160a01b038082166000818152602081815260408083208054825180840190935284835282840185815295855293909252518155915160019092019190915590610ee3907f00000000000000000000000000000000000000000000000000000000000000001683836116ee565b5050565b6001600160a01b038082166000908152600860205260409020543391168015801590610f2f57506001600160a01b038181166000908152600760205260409020548116908316145b15610f5b576001600160a01b038116600090815260076020526040902080546001600160a01b03191690555b506001600160a01b0390811660009081526008602052604090208054919092166001600160a01b0319909116179055565b6009546001600160a01b03163314610fb65760405162461bcd60e51b815260040161061d90611ed3565b610fc2600c6000611bc8565b60005b8181101561093157600c838383818110610fe157610fe1611f33565b83546001810185556000948552602090942060409091029290920192600202909101905061100f8282611f49565b50508061101b90611f7f565b9050610fc5565b6001600160a01b0381811660009081526008602052604090205416331461104857600080fd5b33600090815260076020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61108133826107ec565b50565b6040805160808101825260009181018281526060820183905281526020810191909152825115806110d2575081836000815181106110c4576110c4611f33565b602002602001015160200151115b15611100575060408051608081018252600091810182815260608201839052815260208101919091526107e6565b600080600185516111119190611f08565b90505b80821015611176576000600261112a8385611e9c565b6111349190611e88565b90508486828151811061114957611149611f33565b6020026020010151602001511161116257809250611170565b61116d600182611f08565b91505b50611114565b84828151811061118857611188611f33565b60200260200101519250505092915050565b6009546001600160a01b031633146111c45760405162461bcd60e51b815260040161061d90611ed3565b6001600160a01b0381166112295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061d565b61108181611659565b600c818154811061124257600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b6005818154811061127a57600080fd5b6000918252602091829020604080518082019091526003909202018054825260018101549282019290925260029091015490915082565b6040516370a0823160e01b815230600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b15801561131557600080fd5b505afa158015611329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134d9190611f9a565b90506000600b548261135f9190611f08565b600b9290925550919050565b61137361156f565b6001600160a01b0382166000908152602081815260408083208151808301909252805480835260019091015492820192909252916004906113b384611740565b815260200190815260200160002060008282546113d09190611f08565b90915550508151600460006113e485611740565b815260200190815260200160002060008282546114019190611e9c565b90915550506001600160a01b03831660009081526020818152604091829020845181558185015160019182015582518084019093525482526002549082015261145690839061145090846116ab565b90611753565b8051600190815560209182015160029081556001600160a01b0386166000908152600684526040808220815180830183528881524281880181815283548089018555938652888620925180516003958602909401938455890151838901555191860191909155825160808101845286549381019384529454606086015291845283860191825260058054958601815590925291518051939091027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0810193909355909201517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db182015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db2909101556109318361178b565b6000611583600354600161037e9190611e9c565b9050805b42811015610ee357600081815260046020908152604091829020548251808401909352808352916115dd9181016115be8585611eb4565b90526040805180820190915260015481526002546020820152906116ab565b80516001908155602090910151600255600380546000906115ff908490611e9c565b90915550611614915062093a80905082611e9c565b9050611587565b60006107e682425b8151600090611633908390611eb4565b8360200151106107e657825161164a908390611eb4565b8360200151610ae79190611f08565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805180820190915260008082526020820152815183516116cd9190611f08565b8152602080830151908401516116e39190611f08565b602082015292915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610931908490611848565b805160208201516000916107e691611e88565b6040805180820190915260008082526020820152815183516117759190611e9c565b8152602080830151908401516116e39190611e9c565b6001600160a01b03811660008181526020818152604080832080546001909101548251938401959095529082015260608101929092529060800160408051601f19818403018152600c8054602081810286018101909452808552919450610ee3939290919060009084015b8282101561183e576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016117f6565b505050508261191a565b600061189d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119599092919063ffffffff16565b80519091501561093157808060200190518101906118bb9190611fb3565b6109315760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161061d565b60005b82518110156109315761194983828151811061193b5761193b611f33565b602002602001015183611970565b61195281611f7f565b905061191d565b60606119688484600085611a67565b949350505050565b600a5460405163299aee5160e11b81526000916001600160a01b031690635335dca2906119a1908590600401612031565b60206040518083038186803b1580156119b957600080fd5b505afa1580156119cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f19190611f9a565b600a5484516020860151604051634f9e72ad60e11b81529394506001600160a01b0390921692639f3ce55a928592611a30929091908890600401612044565b6000604051808303818588803b158015611a4957600080fd5b505af1158015611a5d573d6000803e3d6000fd5b5050505050505050565b606082471015611ac85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161061d565b843b611b165760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161061d565b600080866001600160a01b03168587604051611b329190612074565b60006040518083038185875af1925050503d8060008114611b6f576040519150601f19603f3d011682016040523d82523d6000602084013e611b74565b606091505b5091509150611b84828286611b8f565b979650505050505050565b60608315611b9e575081610ae7565b825115611bae5782518084602001fd5b8160405162461bcd60e51b815260040161061d9190612031565b508054600082556002029060005260206000209081019061108191905b80821115611c0a5780546001600160a01b031916815560006001820155600201611be5565b5090565b6001600160a01b038116811461108157600080fd5b600060208284031215611c3557600080fd5b8135610ae781611c0e565b60008060408385031215611c5357600080fd5b8235611c5e81611c0e565b946020939093013593505050565b600060208284031215611c7e57600080fd5b5035919050565b60008060208385031215611c9857600080fd5b823567ffffffffffffffff80821115611cb057600080fd5b818501915085601f830112611cc457600080fd5b813581811115611cd357600080fd5b8660208260061b8501011115611ce857600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611d3357611d33611cfa565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611d6257611d62611cfa565b604052919050565b6000806040808486031215611d7e57600080fd5b833567ffffffffffffffff80821115611d9657600080fd5b818601915086601f830112611daa57600080fd5b8135602082821115611dbe57611dbe611cfa565b611dcc818360051b01611d39565b8281528181019350606092830285018201928a841115611deb57600080fd5b948201945b83861015611e4d57858b0381811215611e095760008081fd5b611e11611d10565b88821215611e1f5760008081fd5b611e27611d10565b883581528589013586820152815288880135818601528652509485019493820193611df0565b50999701359750505050505050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611e9757611e97611e5c565b500490565b60008219821115611eaf57611eaf611e72565b500190565b6000816000190483118215151615611ece57611ece611e72565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082821015611f1a57611f1a611e72565b500390565b600082611f2e57611f2e611e5c565b500690565b634e487b7160e01b600052603260045260246000fd5b8135611f5481611c0e565b81546001600160a01b0319166001600160a01b03919091161781556020919091013560019190910155565b6000600019821415611f9357611f93611e72565b5060010190565b600060208284031215611fac57600080fd5b5051919050565b600060208284031215611fc557600080fd5b81518015158114610ae757600080fd5b60005b83811015611ff0578181015183820152602001611fd8565b83811115611fff576000848401525b50505050565b6000815180845261201d816020860160208601611fd5565b601f01601f19169290920160200192915050565b602081526000610ae76020830184612005565b60018060a01b038416815282602082015260606040820152600061206b6060830184612005565b95945050505050565b60008251612086818460208701611fd5565b919091019291505056fea2646970667358221220595a5980c2f08aeeb8b896745b1942ef2b6e9f2ac6f7e14fd35580c40769578f64736f6c63430008090033";
|
|
744
|
+
|
|
745
|
+
type VePendleConstructorParams =
|
|
746
|
+
| [signer?: Signer]
|
|
747
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
748
|
+
|
|
749
|
+
const isSuperArgs = (
|
|
750
|
+
xs: VePendleConstructorParams
|
|
751
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
752
|
+
|
|
753
|
+
export class VePendle__factory extends ContractFactory {
|
|
754
|
+
constructor(...args: VePendleConstructorParams) {
|
|
755
|
+
if (isSuperArgs(args)) {
|
|
756
|
+
super(...args);
|
|
757
|
+
} else {
|
|
758
|
+
super(_abi, _bytecode, args[0]);
|
|
759
|
+
}
|
|
760
|
+
this.contractName = "VePendle";
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
deploy(
|
|
764
|
+
_pendle: string,
|
|
765
|
+
_startTime: BigNumberish,
|
|
766
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
767
|
+
): Promise<VePendle> {
|
|
768
|
+
return super.deploy(
|
|
769
|
+
_pendle,
|
|
770
|
+
_startTime,
|
|
771
|
+
overrides || {}
|
|
772
|
+
) as Promise<VePendle>;
|
|
773
|
+
}
|
|
774
|
+
getDeployTransaction(
|
|
775
|
+
_pendle: string,
|
|
776
|
+
_startTime: BigNumberish,
|
|
777
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
778
|
+
): TransactionRequest {
|
|
779
|
+
return super.getDeployTransaction(_pendle, _startTime, overrides || {});
|
|
780
|
+
}
|
|
781
|
+
attach(address: string): VePendle {
|
|
782
|
+
return super.attach(address) as VePendle;
|
|
783
|
+
}
|
|
784
|
+
connect(signer: Signer): VePendle__factory {
|
|
785
|
+
return super.connect(signer) as VePendle__factory;
|
|
786
|
+
}
|
|
787
|
+
static readonly contractName: "VePendle";
|
|
788
|
+
public readonly contractName: "VePendle";
|
|
789
|
+
static readonly bytecode = _bytecode;
|
|
790
|
+
static readonly abi = _abi;
|
|
791
|
+
static createInterface(): VePendleInterface {
|
|
792
|
+
return new utils.Interface(_abi) as VePendleInterface;
|
|
793
|
+
}
|
|
794
|
+
static connect(
|
|
795
|
+
address: string,
|
|
796
|
+
signerOrProvider: Signer | Provider
|
|
797
|
+
): VePendle {
|
|
798
|
+
return new Contract(address, _abi, signerOrProvider) as VePendle;
|
|
799
|
+
}
|
|
800
|
+
}
|