@pendle/core-v2 0.6.5 → 0.6.6
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/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +13 -0
- package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +13 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +13 -0
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +56 -51
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +20 -2
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +21 -16
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +21 -16
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +23 -18
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +22 -17
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +628 -12
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +128 -92
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.json} +3 -3
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +105 -69
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json} +14 -14
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
- package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +114 -78
- package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +90 -54
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
- package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
- package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/libraries/math/MarketApproxLib.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionCore.ts +232 -280
- package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
- package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
- package/typechain-types/ActionSCYAndYTBase.ts +49 -49
- package/typechain-types/ActionYT.ts +92 -140
- package/typechain-types/IPActionCore.ts +183 -231
- package/typechain-types/IPActionYT.ts +43 -91
- package/typechain-types/IPAllAction.ts +204 -322
- package/typechain-types/IPMarket.ts +55 -55
- package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
- package/typechain-types/IPMarketFactory.ts +3 -3
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
- package/typechain-types/IPRouterStatic.ts +529 -49
- package/typechain-types/IPYieldContractFactory.ts +19 -19
- package/typechain-types/IPYieldToken.ts +29 -29
- package/typechain-types/ISuperComposableYield.ts +13 -0
- package/typechain-types/PendleAaveV3SCY.ts +13 -0
- package/typechain-types/PendleBaseToken.ts +1 -1
- package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
- package/typechain-types/PendleBtrflyScy.ts +14 -20
- package/typechain-types/PendleGovernanceManager.ts +5 -5
- package/typechain-types/PendleMarket.ts +102 -105
- package/typechain-types/PendleMarketFactory.ts +48 -8
- package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
- package/typechain-types/PendleStEthSCY.ts +15 -23
- package/typechain-types/PendleYearnVaultScy.ts +15 -23
- package/typechain-types/PendleYieldContractFactory.ts +28 -28
- package/typechain-types/PendleYieldToken.ts +30 -30
- package/typechain-types/RouterStatic.ts +529 -49
- package/typechain-types/SCYBase.ts +13 -0
- package/typechain-types/SCYBaseWithRewards.ts +13 -0
- package/typechain-types/factories/ActionCallback__factory.ts +2 -2
- package/typechain-types/factories/ActionCore__factory.ts +127 -91
- package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
- package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
- package/typechain-types/factories/ActionYT__factory.ts +104 -68
- package/typechain-types/factories/IPActionCore__factory.ts +114 -78
- package/typechain-types/factories/IPActionYT__factory.ts +90 -54
- package/typechain-types/factories/IPAllAction__factory.ts +210 -138
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
- package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +14 -14
- package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
- package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
- package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
- package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
- package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
- package/typechain-types/factories/PendleMarket__factory.ts +59 -54
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
- package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
- package/typechain-types/factories/RouterStatic__factory.ts +627 -11
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
- package/typechain-types/factories/SCYBase__factory.ts +13 -0
- package/typechain-types/hardhat.d.ts +20 -20
- package/typechain-types/index.ts +8 -8
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
- package/typechain-types/AggregatorV2V3Interface.ts +0 -380
- package/typechain-types/BenqiChainlinkOracle.ts +0 -362
- package/typechain-types/BoringOwnable.ts +0 -194
- package/typechain-types/BoringOwnableData.ts +0 -100
- package/typechain-types/BoringOwnableUpg.ts +0 -194
- package/typechain-types/BoringOwnableUpgData.ts +0 -100
- package/typechain-types/Comptroller.ts +0 -2860
- package/typechain-types/ComptrollerErrorReporter.ts +0 -70
- package/typechain-types/ComptrollerInterface.ts +0 -881
- package/typechain-types/ComptrollerVXStorage.ts +0 -781
- package/typechain-types/CrosschainContract.ts +0 -113
- package/typechain-types/CrosschainReceiver.ts +0 -347
- package/typechain-types/CrosschainSender.ts +0 -210
- package/typechain-types/EIP20Interface.ts +0 -337
- package/typechain-types/EIP20NonStandardInterface.ts +0 -298
- package/typechain-types/ERC20Burnable.ts +0 -473
- package/typechain-types/ERC20Locker.ts +0 -91
- package/typechain-types/ERC20Premined.ts +0 -473
- package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
- package/typechain-types/EpochController.ts +0 -195
- package/typechain-types/FundKeeper.ts +0 -347
- package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
- package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
- package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
- package/typechain-types/IGaugeController.ts +0 -99
- package/typechain-types/ILiquidYieldToken.ts +0 -639
- package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
- package/typechain-types/IMessageBus.ts +0 -543
- package/typechain-types/IMessageReceiverApp.ts +0 -110
- package/typechain-types/IPFlashCallback.ts +0 -115
- package/typechain-types/IPLiquidYieldToken.ts +0 -641
- package/typechain-types/IPMarketCallback.ts +0 -107
- package/typechain-types/IPRouterCore.ts +0 -769
- package/typechain-types/IPRouterRedeem.ts +0 -155
- package/typechain-types/IPRouterYT.ts +0 -489
- package/typechain-types/IPermissionsV2.ts +0 -87
- package/typechain-types/IRainbowBridge.ts +0 -91
- package/typechain-types/ISCYRewardIndex.ts +0 -695
- package/typechain-types/IVEPendleToken.ts +0 -121
- package/typechain-types/IXPendle.ts +0 -114
- package/typechain-types/InterestRateModel.ts +0 -178
- package/typechain-types/JumpRateModel.ts +0 -347
- package/typechain-types/LYTBase.ts +0 -721
- package/typechain-types/LYTBaseWithRewards.ts +0 -806
- package/typechain-types/LYTWrap.ts +0 -872
- package/typechain-types/LYTWrapWithRewards.ts +0 -979
- package/typechain-types/LiquidityMining.ts +0 -468
- package/typechain-types/Maximillion.ts +0 -145
- package/typechain-types/Ownable.ts +0 -160
- package/typechain-types/PendleAaveV3LYT.ts +0 -808
- package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
- package/typechain-types/PendleBtrflyLYT.ts +0 -781
- package/typechain-types/PendleGauge.ts +0 -469
- package/typechain-types/PendleJoeSwapHelper.ts +0 -92
- package/typechain-types/PendleLYTMockYT.ts +0 -894
- package/typechain-types/PendleLiquidYieldToken.ts +0 -814
- package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
- package/typechain-types/PendleRouter01.ts +0 -184
- package/typechain-types/PendleRouter02.ts +0 -564
- package/typechain-types/PendleRouter03.ts +0 -224
- package/typechain-types/PendleRouterBase.ts +0 -126
- package/typechain-types/PendleRouterCore.ts +0 -328
- package/typechain-types/PendleRouterCoreUpg.ts +0 -798
- package/typechain-types/PendleRouterLytAndForge.ts +0 -331
- package/typechain-types/PendleRouterMarketBase.ts +0 -82
- package/typechain-types/PendleRouterOT.ts +0 -463
- package/typechain-types/PendleRouterProxy.ts +0 -335
- package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
- package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
- package/typechain-types/PendleRouterStaticUpg.ts +0 -399
- package/typechain-types/PendleRouterYT.ts +0 -227
- package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
- package/typechain-types/PendleRouterYTUpg.ts +0 -537
- package/typechain-types/PendleYTLYTBenqi.ts +0 -863
- package/typechain-types/PendleYearnVaultLYT.ts +0 -723
- package/typechain-types/PermissionsV2.ts +0 -87
- package/typechain-types/PermlessAbstract.ts +0 -57
- package/typechain-types/PglStakingContract.ts +0 -662
- package/typechain-types/PglStakingContractProxy.ts +0 -256
- package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
- package/typechain-types/PglStakingContractStorage.ts +0 -397
- package/typechain-types/PriceOracle.ts +0 -116
- package/typechain-types/ProtocolFakeUser.ts +0 -105
- package/typechain-types/Qi.ts +0 -760
- package/typechain-types/QiAvax.ts +0 -1720
- package/typechain-types/QiDelegateInterface.ts +0 -145
- package/typechain-types/QiDelegationStorage.ts +0 -82
- package/typechain-types/QiDelegatorInterface.ts +0 -149
- package/typechain-types/QiErc20.ts +0 -1846
- package/typechain-types/QiErc20Delegate.ts +0 -1926
- package/typechain-types/QiErc20Delegator.ts +0 -1885
- package/typechain-types/QiErc20Interface.ts +0 -382
- package/typechain-types/QiErc20Storage.ts +0 -79
- package/typechain-types/QiToken.ts +0 -1475
- package/typechain-types/QiTokenInterface.ts +0 -1419
- package/typechain-types/QiTokenSaleDistributor.ts +0 -771
- package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
- package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
- package/typechain-types/QiTokenStorage.ts +0 -311
- package/typechain-types/ReentrancyGuard.ts +0 -52
- package/typechain-types/SingleGaugeTypeController.ts +0 -478
- package/typechain-types/TokenErrorReporter.ts +0 -70
- package/typechain-types/Unitroller.ts +0 -356
- package/typechain-types/UnitrollerAdminStorage.ts +0 -143
- package/typechain-types/VePendle.ts +0 -1156
- package/typechain-types/VePendleCrosschain.ts +0 -969
- package/typechain-types/VePendleToken.ts +0 -688
- package/typechain-types/VotingController.ts +0 -883
- package/typechain-types/WETH9.ts +0 -414
- package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
- package/typechain-types/XPendle.ts +0 -618
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
- package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
- package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
- package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
- package/typechain-types/factories/Comptroller__factory.ts +0 -2189
- package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
- package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
- package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
- package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
- package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
- package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
- package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
- package/typechain-types/factories/EpochController__factory.ts +0 -170
- package/typechain-types/factories/FundKeeper__factory.ts +0 -212
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
- package/typechain-types/factories/IGaugeController__factory.ts +0 -45
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
- package/typechain-types/factories/IMessageBus__factory.ts +0 -396
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
- package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
- package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
- package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
- package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
- package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
- package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
- package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
- package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
- package/typechain-types/factories/IXPendle__factory.ts +0 -61
- package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
- package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
- package/typechain-types/factories/LYTBase__factory.ts +0 -474
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
- package/typechain-types/factories/LYTWrap__factory.ts +0 -574
- package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
- package/typechain-types/factories/Maximillion__factory.ts +0 -125
- package/typechain-types/factories/Ownable__factory.ts +0 -75
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
- package/typechain-types/factories/PendleGauge__factory.ts +0 -383
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
- package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
- package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
- package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
- package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
- package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
- package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
- package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
- package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
- package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
- package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
- package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
- package/typechain-types/factories/PriceOracle__factory.ts +0 -59
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
- package/typechain-types/factories/QiAvax__factory.ts +0 -1471
- package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
- package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
- package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
- package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
- package/typechain-types/factories/QiErc20Interface__factory.ts +0 -239
- package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
- package/typechain-types/factories/QiErc20__factory.ts +0 -1515
- package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
- package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
- package/typechain-types/factories/QiToken__factory.ts +0 -1219
- package/typechain-types/factories/Qi__factory.ts +0 -648
- package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
- package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
- package/typechain-types/factories/Unitroller__factory.ts +0 -305
- package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
- package/typechain-types/factories/VePendleToken__factory.ts +0 -494
- package/typechain-types/factories/VePendle__factory.ts +0 -800
- package/typechain-types/factories/VotingController__factory.ts +0 -610
- package/typechain-types/factories/WETH9__factory.ts +0 -342
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
- package/typechain-types/factories/XPendle__factory.ts +0 -473
|
@@ -1,130 +0,0 @@
|
|
|
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
|
-
PglStakingContractProxyStorage,
|
|
8
|
-
PglStakingContractProxyStorageInterface,
|
|
9
|
-
} from "../PglStakingContractProxyStorage";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
constant: true,
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "admin",
|
|
16
|
-
outputs: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "address",
|
|
19
|
-
name: "",
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
payable: false,
|
|
24
|
-
stateMutability: "view",
|
|
25
|
-
type: "function",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
constant: true,
|
|
29
|
-
inputs: [],
|
|
30
|
-
name: "implementation",
|
|
31
|
-
outputs: [
|
|
32
|
-
{
|
|
33
|
-
internalType: "address",
|
|
34
|
-
name: "",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
payable: false,
|
|
39
|
-
stateMutability: "view",
|
|
40
|
-
type: "function",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
constant: true,
|
|
44
|
-
inputs: [],
|
|
45
|
-
name: "pendingAdmin",
|
|
46
|
-
outputs: [
|
|
47
|
-
{
|
|
48
|
-
internalType: "address",
|
|
49
|
-
name: "",
|
|
50
|
-
type: "address",
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
payable: false,
|
|
54
|
-
stateMutability: "view",
|
|
55
|
-
type: "function",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
constant: true,
|
|
59
|
-
inputs: [],
|
|
60
|
-
name: "pendingImplementation",
|
|
61
|
-
outputs: [
|
|
62
|
-
{
|
|
63
|
-
internalType: "address",
|
|
64
|
-
name: "",
|
|
65
|
-
type: "address",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
payable: false,
|
|
69
|
-
stateMutability: "view",
|
|
70
|
-
type: "function",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
|
-
|
|
74
|
-
const _bytecode =
|
|
75
|
-
"0x608060405234801561001057600080fd5b5060f08061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c80632678224714604b578063396f7b2314606d5780635c60da1b146073578063f851a440146079575b600080fd5b6051607f565b604080516001600160a01b039092168252519081900360200190f35b6051608e565b6051609d565b605160ac565b6001546001600160a01b031681565b6003546001600160a01b031681565b6002546001600160a01b031681565b6000546001600160a01b03168156fea265627a7a7231582001feab87d8ec95775301beb60193c3acb3a4337016b5865e808c92e98c5b5cc164736f6c63430005110032";
|
|
76
|
-
|
|
77
|
-
type PglStakingContractProxyStorageConstructorParams =
|
|
78
|
-
| [signer?: Signer]
|
|
79
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
80
|
-
|
|
81
|
-
const isSuperArgs = (
|
|
82
|
-
xs: PglStakingContractProxyStorageConstructorParams
|
|
83
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
84
|
-
|
|
85
|
-
export class PglStakingContractProxyStorage__factory extends ContractFactory {
|
|
86
|
-
constructor(...args: PglStakingContractProxyStorageConstructorParams) {
|
|
87
|
-
if (isSuperArgs(args)) {
|
|
88
|
-
super(...args);
|
|
89
|
-
} else {
|
|
90
|
-
super(_abi, _bytecode, args[0]);
|
|
91
|
-
}
|
|
92
|
-
this.contractName = "PglStakingContractProxyStorage";
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
deploy(
|
|
96
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
97
|
-
): Promise<PglStakingContractProxyStorage> {
|
|
98
|
-
return super.deploy(
|
|
99
|
-
overrides || {}
|
|
100
|
-
) as Promise<PglStakingContractProxyStorage>;
|
|
101
|
-
}
|
|
102
|
-
getDeployTransaction(
|
|
103
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
104
|
-
): TransactionRequest {
|
|
105
|
-
return super.getDeployTransaction(overrides || {});
|
|
106
|
-
}
|
|
107
|
-
attach(address: string): PglStakingContractProxyStorage {
|
|
108
|
-
return super.attach(address) as PglStakingContractProxyStorage;
|
|
109
|
-
}
|
|
110
|
-
connect(signer: Signer): PglStakingContractProxyStorage__factory {
|
|
111
|
-
return super.connect(signer) as PglStakingContractProxyStorage__factory;
|
|
112
|
-
}
|
|
113
|
-
static readonly contractName: "PglStakingContractProxyStorage";
|
|
114
|
-
public readonly contractName: "PglStakingContractProxyStorage";
|
|
115
|
-
static readonly bytecode = _bytecode;
|
|
116
|
-
static readonly abi = _abi;
|
|
117
|
-
static createInterface(): PglStakingContractProxyStorageInterface {
|
|
118
|
-
return new utils.Interface(_abi) as PglStakingContractProxyStorageInterface;
|
|
119
|
-
}
|
|
120
|
-
static connect(
|
|
121
|
-
address: string,
|
|
122
|
-
signerOrProvider: Signer | Provider
|
|
123
|
-
): PglStakingContractProxyStorage {
|
|
124
|
-
return new Contract(
|
|
125
|
-
address,
|
|
126
|
-
_abi,
|
|
127
|
-
signerOrProvider
|
|
128
|
-
) as PglStakingContractProxyStorage;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
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
|
-
PglStakingContractProxy,
|
|
8
|
-
PglStakingContractProxyInterface,
|
|
9
|
-
} from "../PglStakingContractProxy";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
payable: false,
|
|
15
|
-
stateMutability: "nonpayable",
|
|
16
|
-
type: "constructor",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
payable: true,
|
|
20
|
-
stateMutability: "payable",
|
|
21
|
-
type: "fallback",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
constant: false,
|
|
25
|
-
inputs: [],
|
|
26
|
-
name: "acceptPendingAdmin",
|
|
27
|
-
outputs: [],
|
|
28
|
-
payable: false,
|
|
29
|
-
stateMutability: "nonpayable",
|
|
30
|
-
type: "function",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
constant: false,
|
|
34
|
-
inputs: [],
|
|
35
|
-
name: "acceptPendingImplementation",
|
|
36
|
-
outputs: [],
|
|
37
|
-
payable: false,
|
|
38
|
-
stateMutability: "nonpayable",
|
|
39
|
-
type: "function",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
constant: true,
|
|
43
|
-
inputs: [],
|
|
44
|
-
name: "admin",
|
|
45
|
-
outputs: [
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
payable: false,
|
|
53
|
-
stateMutability: "view",
|
|
54
|
-
type: "function",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
constant: true,
|
|
58
|
-
inputs: [],
|
|
59
|
-
name: "implementation",
|
|
60
|
-
outputs: [
|
|
61
|
-
{
|
|
62
|
-
internalType: "address",
|
|
63
|
-
name: "",
|
|
64
|
-
type: "address",
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
payable: false,
|
|
68
|
-
stateMutability: "view",
|
|
69
|
-
type: "function",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
constant: true,
|
|
73
|
-
inputs: [],
|
|
74
|
-
name: "pendingAdmin",
|
|
75
|
-
outputs: [
|
|
76
|
-
{
|
|
77
|
-
internalType: "address",
|
|
78
|
-
name: "",
|
|
79
|
-
type: "address",
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
payable: false,
|
|
83
|
-
stateMutability: "view",
|
|
84
|
-
type: "function",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
constant: true,
|
|
88
|
-
inputs: [],
|
|
89
|
-
name: "pendingImplementation",
|
|
90
|
-
outputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "address",
|
|
93
|
-
name: "",
|
|
94
|
-
type: "address",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
payable: false,
|
|
98
|
-
stateMutability: "view",
|
|
99
|
-
type: "function",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
constant: false,
|
|
103
|
-
inputs: [
|
|
104
|
-
{
|
|
105
|
-
internalType: "address",
|
|
106
|
-
name: "newAdmin",
|
|
107
|
-
type: "address",
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
name: "setPendingAdmin",
|
|
111
|
-
outputs: [],
|
|
112
|
-
payable: false,
|
|
113
|
-
stateMutability: "nonpayable",
|
|
114
|
-
type: "function",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
constant: false,
|
|
118
|
-
inputs: [
|
|
119
|
-
{
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "newImplementation",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "setPendingImplementation",
|
|
126
|
-
outputs: [],
|
|
127
|
-
payable: false,
|
|
128
|
-
stateMutability: "nonpayable",
|
|
129
|
-
type: "function",
|
|
130
|
-
},
|
|
131
|
-
];
|
|
132
|
-
|
|
133
|
-
const _bytecode =
|
|
134
|
-
"0x608060405234801561001057600080fd5b506001600081905580546001600160a01b031916331790556104a5806100376000396000f3fe60806040526004361061007b5760003560e01c80634dd18bf51161004e5780634dd18bf51461018e5780635c60da1b146101c1578063709920c1146101d6578063f851a440146101eb5761007b565b806309ed43c9146100fe57806316ec205c146101335780632678224714610148578063396f7b2314610179575b6003546040516000916001600160a01b031690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146100de576040519150601f19603f3d011682016040523d82523d6000602084013e6100e3565b606091505b505090506040513d6000823e8180156100fa573d82f35b3d82fd5b34801561010a57600080fd5b506101316004803603602081101561012157600080fd5b50356001600160a01b0316610200565b005b34801561013f57600080fd5b5061013161026e565b34801561015457600080fd5b5061015d6102f4565b604080516001600160a01b039092168252519081900360200190f35b34801561018557600080fd5b5061015d610303565b34801561019a57600080fd5b50610131600480360360208110156101b157600080fd5b50356001600160a01b0316610312565b3480156101cd57600080fd5b5061015d610380565b3480156101e257600080fd5b5061013161038f565b3480156101f757600080fd5b5061015d61042b565b6001546001600160a01b0316331461024c576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314801561029257506004546001600160a01b031615155b6102cd5760405162461bcd60e51b815260040180806020018281038252603681526020018061043b6036913960400191505060405180910390fd5b60048054600380546001600160a01b03199081166001600160a01b03841617909155169055565b6002546001600160a01b031681565b6004546001600160a01b031681565b6001546001600160a01b0316331461035e576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6002546001600160a01b0316331480156103b357506002546001600160a01b031615155b610404576040805162461bcd60e51b815260206004820181905260248201527f43616c6c6572206d757374206265207468652070656e64696e672061646d696e604482015290519081900360640190fd5b60028054600180546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b03168156fe4f6e6c79207468652070656e64696e6720696d706c656d656e746174696f6e20636f6e74726163742063616e2063616c6c2074686973a265627a7a7231582070003e45c8fda98250b72af1ac8914058bb4dc605aa4fccc088540abce43a52f64736f6c63430005110032";
|
|
135
|
-
|
|
136
|
-
type PglStakingContractProxyConstructorParams =
|
|
137
|
-
| [signer?: Signer]
|
|
138
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
139
|
-
|
|
140
|
-
const isSuperArgs = (
|
|
141
|
-
xs: PglStakingContractProxyConstructorParams
|
|
142
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
143
|
-
|
|
144
|
-
export class PglStakingContractProxy__factory extends ContractFactory {
|
|
145
|
-
constructor(...args: PglStakingContractProxyConstructorParams) {
|
|
146
|
-
if (isSuperArgs(args)) {
|
|
147
|
-
super(...args);
|
|
148
|
-
} else {
|
|
149
|
-
super(_abi, _bytecode, args[0]);
|
|
150
|
-
}
|
|
151
|
-
this.contractName = "PglStakingContractProxy";
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
deploy(
|
|
155
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
156
|
-
): Promise<PglStakingContractProxy> {
|
|
157
|
-
return super.deploy(overrides || {}) as Promise<PglStakingContractProxy>;
|
|
158
|
-
}
|
|
159
|
-
getDeployTransaction(
|
|
160
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
161
|
-
): TransactionRequest {
|
|
162
|
-
return super.getDeployTransaction(overrides || {});
|
|
163
|
-
}
|
|
164
|
-
attach(address: string): PglStakingContractProxy {
|
|
165
|
-
return super.attach(address) as PglStakingContractProxy;
|
|
166
|
-
}
|
|
167
|
-
connect(signer: Signer): PglStakingContractProxy__factory {
|
|
168
|
-
return super.connect(signer) as PglStakingContractProxy__factory;
|
|
169
|
-
}
|
|
170
|
-
static readonly contractName: "PglStakingContractProxy";
|
|
171
|
-
public readonly contractName: "PglStakingContractProxy";
|
|
172
|
-
static readonly bytecode = _bytecode;
|
|
173
|
-
static readonly abi = _abi;
|
|
174
|
-
static createInterface(): PglStakingContractProxyInterface {
|
|
175
|
-
return new utils.Interface(_abi) as PglStakingContractProxyInterface;
|
|
176
|
-
}
|
|
177
|
-
static connect(
|
|
178
|
-
address: string,
|
|
179
|
-
signerOrProvider: Signer | Provider
|
|
180
|
-
): PglStakingContractProxy {
|
|
181
|
-
return new Contract(
|
|
182
|
-
address,
|
|
183
|
-
_abi,
|
|
184
|
-
signerOrProvider
|
|
185
|
-
) as PglStakingContractProxy;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
@@ -1,309 +0,0 @@
|
|
|
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
|
-
PglStakingContractStorage,
|
|
8
|
-
PglStakingContractStorageInterface,
|
|
9
|
-
} from "../PglStakingContractStorage";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
constant: true,
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "accrualBlockTimestamp",
|
|
16
|
-
outputs: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "uint256",
|
|
19
|
-
name: "",
|
|
20
|
-
type: "uint256",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
payable: false,
|
|
24
|
-
stateMutability: "view",
|
|
25
|
-
type: "function",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
constant: true,
|
|
29
|
-
inputs: [
|
|
30
|
-
{
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "",
|
|
33
|
-
type: "address",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
internalType: "uint256",
|
|
37
|
-
name: "",
|
|
38
|
-
type: "uint256",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
name: "accruedReward",
|
|
42
|
-
outputs: [
|
|
43
|
-
{
|
|
44
|
-
internalType: "uint256",
|
|
45
|
-
name: "",
|
|
46
|
-
type: "uint256",
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
payable: false,
|
|
50
|
-
stateMutability: "view",
|
|
51
|
-
type: "function",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
constant: true,
|
|
55
|
-
inputs: [],
|
|
56
|
-
name: "admin",
|
|
57
|
-
outputs: [
|
|
58
|
-
{
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
payable: false,
|
|
65
|
-
stateMutability: "view",
|
|
66
|
-
type: "function",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
constant: true,
|
|
70
|
-
inputs: [],
|
|
71
|
-
name: "implementation",
|
|
72
|
-
outputs: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "address",
|
|
75
|
-
name: "",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
payable: false,
|
|
80
|
-
stateMutability: "view",
|
|
81
|
-
type: "function",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
constant: true,
|
|
85
|
-
inputs: [],
|
|
86
|
-
name: "pendingAdmin",
|
|
87
|
-
outputs: [
|
|
88
|
-
{
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
payable: false,
|
|
95
|
-
stateMutability: "view",
|
|
96
|
-
type: "function",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
constant: true,
|
|
100
|
-
inputs: [],
|
|
101
|
-
name: "pendingImplementation",
|
|
102
|
-
outputs: [
|
|
103
|
-
{
|
|
104
|
-
internalType: "address",
|
|
105
|
-
name: "",
|
|
106
|
-
type: "address",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
payable: false,
|
|
110
|
-
stateMutability: "view",
|
|
111
|
-
type: "function",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
constant: true,
|
|
115
|
-
inputs: [],
|
|
116
|
-
name: "pglTokenAddress",
|
|
117
|
-
outputs: [
|
|
118
|
-
{
|
|
119
|
-
internalType: "address",
|
|
120
|
-
name: "",
|
|
121
|
-
type: "address",
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
payable: false,
|
|
125
|
-
stateMutability: "view",
|
|
126
|
-
type: "function",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
constant: true,
|
|
130
|
-
inputs: [
|
|
131
|
-
{
|
|
132
|
-
internalType: "uint256",
|
|
133
|
-
name: "",
|
|
134
|
-
type: "uint256",
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
name: "rewardIndex",
|
|
138
|
-
outputs: [
|
|
139
|
-
{
|
|
140
|
-
internalType: "uint256",
|
|
141
|
-
name: "",
|
|
142
|
-
type: "uint256",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
payable: false,
|
|
146
|
-
stateMutability: "view",
|
|
147
|
-
type: "function",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
constant: true,
|
|
151
|
-
inputs: [
|
|
152
|
-
{
|
|
153
|
-
internalType: "uint256",
|
|
154
|
-
name: "",
|
|
155
|
-
type: "uint256",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
name: "rewardSpeeds",
|
|
159
|
-
outputs: [
|
|
160
|
-
{
|
|
161
|
-
internalType: "uint256",
|
|
162
|
-
name: "",
|
|
163
|
-
type: "uint256",
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
payable: false,
|
|
167
|
-
stateMutability: "view",
|
|
168
|
-
type: "function",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
constant: true,
|
|
172
|
-
inputs: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "uint256",
|
|
175
|
-
name: "",
|
|
176
|
-
type: "uint256",
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
name: "rewardTokenAddresses",
|
|
180
|
-
outputs: [
|
|
181
|
-
{
|
|
182
|
-
internalType: "address",
|
|
183
|
-
name: "",
|
|
184
|
-
type: "address",
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
payable: false,
|
|
188
|
-
stateMutability: "view",
|
|
189
|
-
type: "function",
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
constant: true,
|
|
193
|
-
inputs: [
|
|
194
|
-
{
|
|
195
|
-
internalType: "address",
|
|
196
|
-
name: "",
|
|
197
|
-
type: "address",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
internalType: "uint256",
|
|
201
|
-
name: "",
|
|
202
|
-
type: "uint256",
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
name: "supplierRewardIndex",
|
|
206
|
-
outputs: [
|
|
207
|
-
{
|
|
208
|
-
internalType: "uint256",
|
|
209
|
-
name: "",
|
|
210
|
-
type: "uint256",
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
payable: false,
|
|
214
|
-
stateMutability: "view",
|
|
215
|
-
type: "function",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
constant: true,
|
|
219
|
-
inputs: [
|
|
220
|
-
{
|
|
221
|
-
internalType: "address",
|
|
222
|
-
name: "",
|
|
223
|
-
type: "address",
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
name: "supplyAmount",
|
|
227
|
-
outputs: [
|
|
228
|
-
{
|
|
229
|
-
internalType: "uint256",
|
|
230
|
-
name: "",
|
|
231
|
-
type: "uint256",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
payable: false,
|
|
235
|
-
stateMutability: "view",
|
|
236
|
-
type: "function",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
constant: true,
|
|
240
|
-
inputs: [],
|
|
241
|
-
name: "totalSupplies",
|
|
242
|
-
outputs: [
|
|
243
|
-
{
|
|
244
|
-
internalType: "uint256",
|
|
245
|
-
name: "",
|
|
246
|
-
type: "uint256",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
payable: false,
|
|
250
|
-
stateMutability: "view",
|
|
251
|
-
type: "function",
|
|
252
|
-
},
|
|
253
|
-
];
|
|
254
|
-
|
|
255
|
-
const _bytecode =
|
|
256
|
-
"0x608060405234801561001057600080fd5b50610326806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637b2d9b2c1161008c578063d068cdc511610066578063d068cdc5146101a7578063f495c9c9146101af578063f75ddfa8146101db578063f851a44014610207576100cf565b80637b2d9b2c1461017a57806392d8282f14610197578063cfa992011461019f576100cf565b80631130a36c146100d457806324cb2d9a1461010c5780632678224714610129578063396f7b231461014d5780635c60da1b146101555780636612313a1461015d575b600080fd5b6100fa600480360360208110156100ea57600080fd5b50356001600160a01b031661020f565b60408051918252519081900360200190f35b6100fa6004803603602081101561012257600080fd5b5035610221565b610131610233565b604080516001600160a01b039092168252519081900360200190f35b610131610242565b610131610251565b6100fa6004803603602081101561017357600080fd5b5035610260565b6101316004803603602081101561019057600080fd5b5035610272565b61013161028d565b6100fa61029c565b6100fa6102a2565b6100fa600480360360408110156101c557600080fd5b506001600160a01b0381351690602001356102a8565b6100fa600480360360408110156101f157600080fd5b506001600160a01b0381351690602001356102c5565b6101316102e2565b60086020526000908152604090205481565b60066020526000908152604090205481565b6001546001600160a01b031681565b6003546001600160a01b031681565b6002546001600160a01b031681565b600a6020526000908152604090205481565b6005602052600090815260409020546001600160a01b031681565b6004546001600160a01b031681565b600c5481565b60095481565b600760209081526000928352604080842090915290825290205481565b600b60209081526000928352604080842090915290825290205481565b6000546001600160a01b03168156fea265627a7a72315820cf1e00cee59b239c97c8df3316151d4ff4f4eef817358737a377e06eb549ed0c64736f6c63430005110032";
|
|
257
|
-
|
|
258
|
-
type PglStakingContractStorageConstructorParams =
|
|
259
|
-
| [signer?: Signer]
|
|
260
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
261
|
-
|
|
262
|
-
const isSuperArgs = (
|
|
263
|
-
xs: PglStakingContractStorageConstructorParams
|
|
264
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
265
|
-
|
|
266
|
-
export class PglStakingContractStorage__factory extends ContractFactory {
|
|
267
|
-
constructor(...args: PglStakingContractStorageConstructorParams) {
|
|
268
|
-
if (isSuperArgs(args)) {
|
|
269
|
-
super(...args);
|
|
270
|
-
} else {
|
|
271
|
-
super(_abi, _bytecode, args[0]);
|
|
272
|
-
}
|
|
273
|
-
this.contractName = "PglStakingContractStorage";
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
deploy(
|
|
277
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
278
|
-
): Promise<PglStakingContractStorage> {
|
|
279
|
-
return super.deploy(overrides || {}) as Promise<PglStakingContractStorage>;
|
|
280
|
-
}
|
|
281
|
-
getDeployTransaction(
|
|
282
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
283
|
-
): TransactionRequest {
|
|
284
|
-
return super.getDeployTransaction(overrides || {});
|
|
285
|
-
}
|
|
286
|
-
attach(address: string): PglStakingContractStorage {
|
|
287
|
-
return super.attach(address) as PglStakingContractStorage;
|
|
288
|
-
}
|
|
289
|
-
connect(signer: Signer): PglStakingContractStorage__factory {
|
|
290
|
-
return super.connect(signer) as PglStakingContractStorage__factory;
|
|
291
|
-
}
|
|
292
|
-
static readonly contractName: "PglStakingContractStorage";
|
|
293
|
-
public readonly contractName: "PglStakingContractStorage";
|
|
294
|
-
static readonly bytecode = _bytecode;
|
|
295
|
-
static readonly abi = _abi;
|
|
296
|
-
static createInterface(): PglStakingContractStorageInterface {
|
|
297
|
-
return new utils.Interface(_abi) as PglStakingContractStorageInterface;
|
|
298
|
-
}
|
|
299
|
-
static connect(
|
|
300
|
-
address: string,
|
|
301
|
-
signerOrProvider: Signer | Provider
|
|
302
|
-
): PglStakingContractStorage {
|
|
303
|
-
return new Contract(
|
|
304
|
-
address,
|
|
305
|
-
_abi,
|
|
306
|
-
signerOrProvider
|
|
307
|
-
) as PglStakingContractStorage;
|
|
308
|
-
}
|
|
309
|
-
}
|