@pendle/core-v2 0.8.0-beta → 0.8.0-beta-3
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/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +48 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +48 -0
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +60 -58
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -24
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +4 -29
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -22
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +1 -20
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +30 -105
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- 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/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +137 -18
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +206 -16
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +12 -117
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +0 -148
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +0 -148
- 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 +0 -173
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.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/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.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/IJoeRouter02.sol/IJoeRouter02.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 +338 -0
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +68 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +406 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.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 +28 -28
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +31 -2
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -19
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +1 -7
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +97 -16
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +48 -0
- 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/interfaces/IYearnVault.sol/IYearnVault.json +74 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.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/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/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +249 -4
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +8 -4
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +2 -2
- package/contracts/core/YieldContracts/PendleYieldToken.sol +26 -0
- package/contracts/core/actions/ActionCallback.sol +1 -3
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +2 -2
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +4 -1
- package/contracts/interfaces/IPRouterStatic.sol +7 -2
- package/contracts/interfaces/IYearnVault.sol +5 -1
- package/contracts/libraries/SCY/SCYIndex.sol +8 -1
- package/contracts/libraries/SCY/SCYUtils.sol +16 -0
- package/contracts/libraries/math/MarketMathCore.sol +21 -25
- package/contracts/libraries/math/Math.sol +0 -5
- package/contracts/offchain-helpers/RouterStatic.sol +137 -5
- package/deployments/43113-core.json +10 -10
- package/deployments/43113-markets/benqi-market-0x9f080Af83E84099ED92b1b9b4B4BbE4400f2A3CB.json +7 -0
- package/deployments/80001-core.json +9 -9
- package/deployments/80001-markets/benqi-market-0x78699fa58C484e9867B8047A12E959ccB8BaD90E.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +180 -38
- package/typechain-types/ActionSCYAndPTBase.ts +3 -129
- package/typechain-types/ActionSCYAndPYBase.ts +3 -129
- package/typechain-types/ActionSCYAndYTBase.ts +3 -149
- package/typechain-types/ActionYT.ts +31 -117
- package/typechain-types/IPActionCore.ts +271 -3
- package/typechain-types/IPActionYT.ts +63 -3
- package/typechain-types/IPAllAction.ts +329 -3
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPRouterStatic.ts +61 -16
- package/typechain-types/IPVeToken.ts +0 -31
- package/typechain-types/IPVotingEscrow.ts +3 -7
- package/typechain-types/IPYieldToken.ts +107 -30
- package/typechain-types/ISuperComposableYield.ts +78 -0
- package/typechain-types/IYearnVault.ts +100 -9
- package/typechain-types/PendleAaveV3SCY.ts +78 -0
- package/typechain-types/PendleERC4626SCY.ts +78 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
- package/typechain-types/PendleMarket.ts +38 -142
- package/typechain-types/PendleQiTokenSCY.ts +78 -0
- package/typechain-types/PendleVotingControllerUpg.ts +139 -132
- package/typechain-types/PendleWstEthSCY.ts +78 -0
- package/typechain-types/PendleYearnVaultSCY.ts +78 -0
- package/typechain-types/PendleYieldToken.ts +186 -39
- package/typechain-types/RouterStatic.ts +402 -16
- package/typechain-types/SCYBase.ts +78 -0
- package/typechain-types/SCYBaseWithRewards.ts +78 -0
- package/typechain-types/VotingControllerStorageUpg.ts +93 -64
- package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
- package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
- package/typechain-types/VotingEscrowTokenBase.ts +8 -39
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +205 -15
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
- package/typechain-types/factories/ActionYT__factory.ts +11 -116
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +338 -0
- package/typechain-types/factories/IPActionYT__factory.ts +68 -0
- package/typechain-types/factories/IPAllAction__factory.ts +406 -0
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
- package/typechain-types/factories/IPVeToken__factory.ts +0 -19
- package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
- package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
- package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
- package/typechain-types/factories/IYearnVault__factory.ts +74 -1
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +29 -104
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
- package/typechain-types/factories/RouterStatic__factory.ts +248 -3
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
- package/typechain-types/factories/SCYBase__factory.ts +48 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
- package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +0 -7
- package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +0 -7
- package/typechain-types/CelerReceiver.ts +0 -267
- package/typechain-types/CelerSender.ts +0 -164
- package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
- package/typechain-types/IPVotingEscrowController.ts +0 -154
- package/typechain-types/PendleBtrflyScy.ts +0 -822
- package/typechain-types/PendleGaugeController.ts +0 -282
- package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
- package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
- package/typechain-types/PendleJoeLpSCY.ts +0 -835
- package/typechain-types/PendleVotingController.ts +0 -865
- package/typechain-types/VotingControllerStorage.ts +0 -410
- package/typechain-types/VotingEscrowController.ts +0 -154
- package/typechain-types/VotingEscrowToken.ts +0 -335
- package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
- package/typechain-types/factories/CelerSender__factory.ts +0 -67
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
- package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
- package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
- package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
- package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -225
|
@@ -1,728 +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
|
-
PendleBtrflyScy,
|
|
8
|
-
PendleBtrflyScyInterface,
|
|
9
|
-
} from "../PendleBtrflyScy";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "string",
|
|
16
|
-
name: "_name",
|
|
17
|
-
type: "string",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "string",
|
|
21
|
-
name: "_symbol",
|
|
22
|
-
type: "string",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "_BTRFLY",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "address",
|
|
31
|
-
name: "_xBTRFLY",
|
|
32
|
-
type: "address",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "address",
|
|
36
|
-
name: "_wxBTRFLY",
|
|
37
|
-
type: "address",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
stateMutability: "nonpayable",
|
|
41
|
-
type: "constructor",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
anonymous: false,
|
|
45
|
-
inputs: [
|
|
46
|
-
{
|
|
47
|
-
indexed: true,
|
|
48
|
-
internalType: "address",
|
|
49
|
-
name: "owner",
|
|
50
|
-
type: "address",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
indexed: true,
|
|
54
|
-
internalType: "address",
|
|
55
|
-
name: "spender",
|
|
56
|
-
type: "address",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
indexed: false,
|
|
60
|
-
internalType: "uint256",
|
|
61
|
-
name: "value",
|
|
62
|
-
type: "uint256",
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
name: "Approval",
|
|
66
|
-
type: "event",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
anonymous: false,
|
|
70
|
-
inputs: [
|
|
71
|
-
{
|
|
72
|
-
indexed: true,
|
|
73
|
-
internalType: "address",
|
|
74
|
-
name: "user",
|
|
75
|
-
type: "address",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
indexed: false,
|
|
79
|
-
internalType: "address[]",
|
|
80
|
-
name: "rewardTokens",
|
|
81
|
-
type: "address[]",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
indexed: false,
|
|
85
|
-
internalType: "uint256[]",
|
|
86
|
-
name: "rewardAmounts",
|
|
87
|
-
type: "uint256[]",
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
name: "ClaimRewards",
|
|
91
|
-
type: "event",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
anonymous: false,
|
|
95
|
-
inputs: [
|
|
96
|
-
{
|
|
97
|
-
indexed: true,
|
|
98
|
-
internalType: "address",
|
|
99
|
-
name: "caller",
|
|
100
|
-
type: "address",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
indexed: true,
|
|
104
|
-
internalType: "address",
|
|
105
|
-
name: "receiver",
|
|
106
|
-
type: "address",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
indexed: true,
|
|
110
|
-
internalType: "address",
|
|
111
|
-
name: "tokenIn",
|
|
112
|
-
type: "address",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
indexed: false,
|
|
116
|
-
internalType: "uint256",
|
|
117
|
-
name: "amountDeposited",
|
|
118
|
-
type: "uint256",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
indexed: false,
|
|
122
|
-
internalType: "uint256",
|
|
123
|
-
name: "amountScyOut",
|
|
124
|
-
type: "uint256",
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
name: "Deposit",
|
|
128
|
-
type: "event",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
anonymous: false,
|
|
132
|
-
inputs: [
|
|
133
|
-
{
|
|
134
|
-
indexed: false,
|
|
135
|
-
internalType: "uint256",
|
|
136
|
-
name: "oldExchangeRate",
|
|
137
|
-
type: "uint256",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
indexed: false,
|
|
141
|
-
internalType: "uint256",
|
|
142
|
-
name: "newExchangeRate",
|
|
143
|
-
type: "uint256",
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
name: "ExchangeRateUpdated",
|
|
147
|
-
type: "event",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
anonymous: false,
|
|
151
|
-
inputs: [
|
|
152
|
-
{
|
|
153
|
-
indexed: true,
|
|
154
|
-
internalType: "address",
|
|
155
|
-
name: "caller",
|
|
156
|
-
type: "address",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
indexed: true,
|
|
160
|
-
internalType: "address",
|
|
161
|
-
name: "receiver",
|
|
162
|
-
type: "address",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
indexed: true,
|
|
166
|
-
internalType: "address",
|
|
167
|
-
name: "tokenOut",
|
|
168
|
-
type: "address",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
indexed: false,
|
|
172
|
-
internalType: "uint256",
|
|
173
|
-
name: "amountScyToRedeem",
|
|
174
|
-
type: "uint256",
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
indexed: false,
|
|
178
|
-
internalType: "uint256",
|
|
179
|
-
name: "amountTokenOut",
|
|
180
|
-
type: "uint256",
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
name: "Redeem",
|
|
184
|
-
type: "event",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
anonymous: false,
|
|
188
|
-
inputs: [
|
|
189
|
-
{
|
|
190
|
-
indexed: true,
|
|
191
|
-
internalType: "address",
|
|
192
|
-
name: "from",
|
|
193
|
-
type: "address",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
indexed: true,
|
|
197
|
-
internalType: "address",
|
|
198
|
-
name: "to",
|
|
199
|
-
type: "address",
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
indexed: false,
|
|
203
|
-
internalType: "uint256",
|
|
204
|
-
name: "value",
|
|
205
|
-
type: "uint256",
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
name: "Transfer",
|
|
209
|
-
type: "event",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
inputs: [],
|
|
213
|
-
name: "BTRFLY",
|
|
214
|
-
outputs: [
|
|
215
|
-
{
|
|
216
|
-
internalType: "address",
|
|
217
|
-
name: "",
|
|
218
|
-
type: "address",
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
stateMutability: "view",
|
|
222
|
-
type: "function",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
inputs: [
|
|
226
|
-
{
|
|
227
|
-
internalType: "address",
|
|
228
|
-
name: "",
|
|
229
|
-
type: "address",
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
name: "accruedRewards",
|
|
233
|
-
outputs: [
|
|
234
|
-
{
|
|
235
|
-
internalType: "uint256[]",
|
|
236
|
-
name: "rewardAmounts",
|
|
237
|
-
type: "uint256[]",
|
|
238
|
-
},
|
|
239
|
-
],
|
|
240
|
-
stateMutability: "view",
|
|
241
|
-
type: "function",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
inputs: [
|
|
245
|
-
{
|
|
246
|
-
internalType: "address",
|
|
247
|
-
name: "owner",
|
|
248
|
-
type: "address",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
internalType: "address",
|
|
252
|
-
name: "spender",
|
|
253
|
-
type: "address",
|
|
254
|
-
},
|
|
255
|
-
],
|
|
256
|
-
name: "allowance",
|
|
257
|
-
outputs: [
|
|
258
|
-
{
|
|
259
|
-
internalType: "uint256",
|
|
260
|
-
name: "",
|
|
261
|
-
type: "uint256",
|
|
262
|
-
},
|
|
263
|
-
],
|
|
264
|
-
stateMutability: "view",
|
|
265
|
-
type: "function",
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
inputs: [
|
|
269
|
-
{
|
|
270
|
-
internalType: "address",
|
|
271
|
-
name: "spender",
|
|
272
|
-
type: "address",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
internalType: "uint256",
|
|
276
|
-
name: "amount",
|
|
277
|
-
type: "uint256",
|
|
278
|
-
},
|
|
279
|
-
],
|
|
280
|
-
name: "approve",
|
|
281
|
-
outputs: [
|
|
282
|
-
{
|
|
283
|
-
internalType: "bool",
|
|
284
|
-
name: "",
|
|
285
|
-
type: "bool",
|
|
286
|
-
},
|
|
287
|
-
],
|
|
288
|
-
stateMutability: "nonpayable",
|
|
289
|
-
type: "function",
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
inputs: [],
|
|
293
|
-
name: "assetInfo",
|
|
294
|
-
outputs: [
|
|
295
|
-
{
|
|
296
|
-
internalType: "enum ISuperComposableYield.AssetType",
|
|
297
|
-
name: "assetType",
|
|
298
|
-
type: "uint8",
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
internalType: "address",
|
|
302
|
-
name: "assetAddress",
|
|
303
|
-
type: "address",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
internalType: "uint8",
|
|
307
|
-
name: "assetDecimals",
|
|
308
|
-
type: "uint8",
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
stateMutability: "view",
|
|
312
|
-
type: "function",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
inputs: [
|
|
316
|
-
{
|
|
317
|
-
internalType: "address",
|
|
318
|
-
name: "account",
|
|
319
|
-
type: "address",
|
|
320
|
-
},
|
|
321
|
-
],
|
|
322
|
-
name: "balanceOf",
|
|
323
|
-
outputs: [
|
|
324
|
-
{
|
|
325
|
-
internalType: "uint256",
|
|
326
|
-
name: "",
|
|
327
|
-
type: "uint256",
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
stateMutability: "view",
|
|
331
|
-
type: "function",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [
|
|
335
|
-
{
|
|
336
|
-
internalType: "address",
|
|
337
|
-
name: "",
|
|
338
|
-
type: "address",
|
|
339
|
-
},
|
|
340
|
-
],
|
|
341
|
-
name: "claimRewards",
|
|
342
|
-
outputs: [
|
|
343
|
-
{
|
|
344
|
-
internalType: "uint256[]",
|
|
345
|
-
name: "rewardAmounts",
|
|
346
|
-
type: "uint256[]",
|
|
347
|
-
},
|
|
348
|
-
],
|
|
349
|
-
stateMutability: "nonpayable",
|
|
350
|
-
type: "function",
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
inputs: [],
|
|
354
|
-
name: "decimals",
|
|
355
|
-
outputs: [
|
|
356
|
-
{
|
|
357
|
-
internalType: "uint8",
|
|
358
|
-
name: "",
|
|
359
|
-
type: "uint8",
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
stateMutability: "view",
|
|
363
|
-
type: "function",
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
inputs: [
|
|
367
|
-
{
|
|
368
|
-
internalType: "address",
|
|
369
|
-
name: "receiver",
|
|
370
|
-
type: "address",
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
internalType: "address",
|
|
374
|
-
name: "tokenIn",
|
|
375
|
-
type: "address",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
internalType: "uint256",
|
|
379
|
-
name: "amountTokenToPull",
|
|
380
|
-
type: "uint256",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
internalType: "uint256",
|
|
384
|
-
name: "minSharesOut",
|
|
385
|
-
type: "uint256",
|
|
386
|
-
},
|
|
387
|
-
],
|
|
388
|
-
name: "deposit",
|
|
389
|
-
outputs: [
|
|
390
|
-
{
|
|
391
|
-
internalType: "uint256",
|
|
392
|
-
name: "amountSharesOut",
|
|
393
|
-
type: "uint256",
|
|
394
|
-
},
|
|
395
|
-
],
|
|
396
|
-
stateMutability: "payable",
|
|
397
|
-
type: "function",
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
inputs: [],
|
|
401
|
-
name: "exchangeRateCurrent",
|
|
402
|
-
outputs: [
|
|
403
|
-
{
|
|
404
|
-
internalType: "uint256",
|
|
405
|
-
name: "currentRate",
|
|
406
|
-
type: "uint256",
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
stateMutability: "nonpayable",
|
|
410
|
-
type: "function",
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
inputs: [],
|
|
414
|
-
name: "exchangeRateStored",
|
|
415
|
-
outputs: [
|
|
416
|
-
{
|
|
417
|
-
internalType: "uint256",
|
|
418
|
-
name: "",
|
|
419
|
-
type: "uint256",
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
stateMutability: "view",
|
|
423
|
-
type: "function",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
inputs: [],
|
|
427
|
-
name: "getBaseTokens",
|
|
428
|
-
outputs: [
|
|
429
|
-
{
|
|
430
|
-
internalType: "address[]",
|
|
431
|
-
name: "res",
|
|
432
|
-
type: "address[]",
|
|
433
|
-
},
|
|
434
|
-
],
|
|
435
|
-
stateMutability: "view",
|
|
436
|
-
type: "function",
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
inputs: [],
|
|
440
|
-
name: "getRewardTokens",
|
|
441
|
-
outputs: [
|
|
442
|
-
{
|
|
443
|
-
internalType: "address[]",
|
|
444
|
-
name: "rewardTokens",
|
|
445
|
-
type: "address[]",
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
stateMutability: "view",
|
|
449
|
-
type: "function",
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
inputs: [
|
|
453
|
-
{
|
|
454
|
-
internalType: "address",
|
|
455
|
-
name: "token",
|
|
456
|
-
type: "address",
|
|
457
|
-
},
|
|
458
|
-
],
|
|
459
|
-
name: "isValidBaseToken",
|
|
460
|
-
outputs: [
|
|
461
|
-
{
|
|
462
|
-
internalType: "bool",
|
|
463
|
-
name: "",
|
|
464
|
-
type: "bool",
|
|
465
|
-
},
|
|
466
|
-
],
|
|
467
|
-
stateMutability: "view",
|
|
468
|
-
type: "function",
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
inputs: [],
|
|
472
|
-
name: "name",
|
|
473
|
-
outputs: [
|
|
474
|
-
{
|
|
475
|
-
internalType: "string",
|
|
476
|
-
name: "",
|
|
477
|
-
type: "string",
|
|
478
|
-
},
|
|
479
|
-
],
|
|
480
|
-
stateMutability: "view",
|
|
481
|
-
type: "function",
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
inputs: [
|
|
485
|
-
{
|
|
486
|
-
internalType: "address",
|
|
487
|
-
name: "receiver",
|
|
488
|
-
type: "address",
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
internalType: "uint256",
|
|
492
|
-
name: "amountSharesToPull",
|
|
493
|
-
type: "uint256",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
internalType: "address",
|
|
497
|
-
name: "tokenOut",
|
|
498
|
-
type: "address",
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
internalType: "uint256",
|
|
502
|
-
name: "minTokenOut",
|
|
503
|
-
type: "uint256",
|
|
504
|
-
},
|
|
505
|
-
],
|
|
506
|
-
name: "redeem",
|
|
507
|
-
outputs: [
|
|
508
|
-
{
|
|
509
|
-
internalType: "uint256",
|
|
510
|
-
name: "amountTokenOut",
|
|
511
|
-
type: "uint256",
|
|
512
|
-
},
|
|
513
|
-
],
|
|
514
|
-
stateMutability: "nonpayable",
|
|
515
|
-
type: "function",
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
inputs: [],
|
|
519
|
-
name: "symbol",
|
|
520
|
-
outputs: [
|
|
521
|
-
{
|
|
522
|
-
internalType: "string",
|
|
523
|
-
name: "",
|
|
524
|
-
type: "string",
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
stateMutability: "view",
|
|
528
|
-
type: "function",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
inputs: [],
|
|
532
|
-
name: "totalSupply",
|
|
533
|
-
outputs: [
|
|
534
|
-
{
|
|
535
|
-
internalType: "uint256",
|
|
536
|
-
name: "",
|
|
537
|
-
type: "uint256",
|
|
538
|
-
},
|
|
539
|
-
],
|
|
540
|
-
stateMutability: "view",
|
|
541
|
-
type: "function",
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
inputs: [
|
|
545
|
-
{
|
|
546
|
-
internalType: "address",
|
|
547
|
-
name: "to",
|
|
548
|
-
type: "address",
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
internalType: "uint256",
|
|
552
|
-
name: "amount",
|
|
553
|
-
type: "uint256",
|
|
554
|
-
},
|
|
555
|
-
],
|
|
556
|
-
name: "transfer",
|
|
557
|
-
outputs: [
|
|
558
|
-
{
|
|
559
|
-
internalType: "bool",
|
|
560
|
-
name: "",
|
|
561
|
-
type: "bool",
|
|
562
|
-
},
|
|
563
|
-
],
|
|
564
|
-
stateMutability: "nonpayable",
|
|
565
|
-
type: "function",
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
inputs: [
|
|
569
|
-
{
|
|
570
|
-
internalType: "address",
|
|
571
|
-
name: "from",
|
|
572
|
-
type: "address",
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
internalType: "address",
|
|
576
|
-
name: "to",
|
|
577
|
-
type: "address",
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
internalType: "uint256",
|
|
581
|
-
name: "amount",
|
|
582
|
-
type: "uint256",
|
|
583
|
-
},
|
|
584
|
-
],
|
|
585
|
-
name: "transferFrom",
|
|
586
|
-
outputs: [
|
|
587
|
-
{
|
|
588
|
-
internalType: "bool",
|
|
589
|
-
name: "",
|
|
590
|
-
type: "bool",
|
|
591
|
-
},
|
|
592
|
-
],
|
|
593
|
-
stateMutability: "nonpayable",
|
|
594
|
-
type: "function",
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
inputs: [],
|
|
598
|
-
name: "wxBTRFLY",
|
|
599
|
-
outputs: [
|
|
600
|
-
{
|
|
601
|
-
internalType: "address",
|
|
602
|
-
name: "",
|
|
603
|
-
type: "address",
|
|
604
|
-
},
|
|
605
|
-
],
|
|
606
|
-
stateMutability: "view",
|
|
607
|
-
type: "function",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
inputs: [],
|
|
611
|
-
name: "xBTRFLY",
|
|
612
|
-
outputs: [
|
|
613
|
-
{
|
|
614
|
-
internalType: "address",
|
|
615
|
-
name: "",
|
|
616
|
-
type: "address",
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
stateMutability: "view",
|
|
620
|
-
type: "function",
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
inputs: [],
|
|
624
|
-
name: "yieldToken",
|
|
625
|
-
outputs: [
|
|
626
|
-
{
|
|
627
|
-
internalType: "address",
|
|
628
|
-
name: "",
|
|
629
|
-
type: "address",
|
|
630
|
-
},
|
|
631
|
-
],
|
|
632
|
-
stateMutability: "view",
|
|
633
|
-
type: "function",
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
inputs: [],
|
|
637
|
-
name: "yieldTokenReserve",
|
|
638
|
-
outputs: [
|
|
639
|
-
{
|
|
640
|
-
internalType: "uint256",
|
|
641
|
-
name: "",
|
|
642
|
-
type: "uint256",
|
|
643
|
-
},
|
|
644
|
-
],
|
|
645
|
-
stateMutability: "view",
|
|
646
|
-
type: "function",
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
stateMutability: "payable",
|
|
650
|
-
type: "receive",
|
|
651
|
-
},
|
|
652
|
-
];
|
|
653
|
-
|
|
654
|
-
const _bytecode =
|
|
655
|
-
"0x6101206040523480156200001257600080fd5b50604051620025a3380380620025a383398101604081905262000035916200032a565b8484828282601260036200004a84826200045b565b5060046200005983826200045b565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b0390811660a05283169150620000cc90505760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064015b60405180910390fd5b6001600160a01b0380841660c081905283821660e052908216610100819052620000fa91906000196200011f565b6200011460e051610100516000196200011f60201b60201c565b505050505062000570565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291516000928392908716916200017d919062000527565b6000604051808303816000865af19150503d8060008114620001bc576040519150601f19603f3d011682016040523d82523d6000602084013e620001c1565b606091505b5091509150818015620001ef575080511580620001ef575080806020019051810190620001ef919062000545565b6200022c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620000c3565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002665781810151838201526020016200024c565b8381111562000276576000848401525b50505050565b600082601f8301126200028e57600080fd5b81516001600160401b0380821115620002ab57620002ab62000233565b604051601f8301601f19908116603f01168101908282118183101715620002d657620002d662000233565b81604052838152866020858801011115620002f057600080fd5b6200030384602083016020890162000249565b9695505050505050565b80516001600160a01b03811681146200032557600080fd5b919050565b600080600080600060a086880312156200034357600080fd5b85516001600160401b03808211156200035b57600080fd5b6200036989838a016200027c565b965060208801519150808211156200038057600080fd5b506200038f888289016200027c565b945050620003a0604087016200030d565b9250620003b0606087016200030d565b9150620003c0608087016200030d565b90509295509295909350565b600181811c90821680620003e157607f821691505b6020821081036200040257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200045657600081815260208120601f850160051c81016020861015620004315750805b601f850160051c820191505b8181101562000452578281556001016200043d565b5050505b505050565b81516001600160401b0381111562000477576200047762000233565b6200048f81620004888454620003cc565b8462000408565b602080601f831160018114620004c75760008415620004ae5750858301515b600019600386901b1c1916600185901b17855562000452565b600085815260208120601f198616915b82811015620004f857888601518255948401946001909101908401620004d7565b5085821015620005175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516200053b81846020870162000249565b9190910192915050565b6000602082840312156200055857600080fd5b815180151581146200056957600080fd5b9392505050565b60805160a05160c05160e05161010051611f696200063a60003960008181610384015281816108e401528181610a6a01528181610b3a01528181610e9301528181610f2001528181610fb3015281816113fd0152818161148a01526114d701526000818161047001528181610a1601528181610afe01528181610ed3015261143d01526000818161023a015281816107a6015281816107c7015281816109c20152610ac301526000818161031701528181610e39015261113f0152600061029b0152611f696000f3fe60806040526004361061011f5760003560e01c806305593d671461012b57806306fdde0314610154578063095ea7b314610176578063128fced1146101a657806318160ddd146101e1578063182df0f5146101ff57806320e8c5651461021557806322443c101461022857806323b872dd14610269578063313ce5671461028957806370a08231146102cf57806376d5de851461030557806395d89b4114610339578063a40bee501461034e578063a6ba93ec14610372578063a9059cbb146103a6578063bd6d894d146103c6578063bed64c2f146103db578063c4f59f9b146103fd578063c9c0c0821461041e578063dd62ed3e1461043e578063df776f761461045e578063ef5cfb8c146101a6578063f3f094a11461049257600080fd5b3661012657005b600080fd5b34801561013757600080fd5b5061014160055481565b6040519081526020015b60405180910390f35b34801561016057600080fd5b506101696104b2565b60405161014b9190611aec565b34801561018257600080fd5b50610196610191366004611b3b565b610544565b604051901515815260200161014b565b3480156101b257600080fd5b506101d46101c1366004611b65565b5060408051600081526020810190915290565b60405161014b9190611b80565b3480156101ed57600080fd5b506002546001600160f81b0316610141565b34801561020b57600080fd5b5061014160065481565b610141610223366004611bc4565b61055e565b34801561023457600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b60405161014b9190611c06565b34801561027557600080fd5b50610196610284366004611c1a565b610711565b34801561029557600080fd5b506102bd7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161014b565b3480156102db57600080fd5b506101416102ea366004611b65565b6001600160a01b031660009081526020819052604090205490565b34801561031157600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034557600080fd5b5061016961078f565b34801561035a57600080fd5b5061036361079e565b60405161014b93929190611c56565b34801561037e57600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b257600080fd5b506101966103c1366004611b3b565b610852565b3480156103d257600080fd5b506101416108c4565b3480156103e757600080fd5b506103f061099e565b60405161014b9190611c98565b34801561040957600080fd5b506040805160008152602081019091526103f0565b34801561042a57600080fd5b50610196610439366004611b65565b610abf565b34801561044a57600080fd5b50610141610459366004611cd9565b610b73565b34801561046a57600080fd5b5061025c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561049e57600080fd5b506101416104ad366004611d0c565b610b9e565b6060600380546104c190611d50565b80601f01602080910402602001604051908101604052809291908181526020018280546104ed90611d50565b801561053a5780601f1061050f5761010080835404028352916020019161053a565b820191906000526020600020905b81548152906001019060200180831161051d57829003601f168201915b5050505050905090565b600033610552818585610ce3565b60019150505b92915050565b600254600090600119600160f81b90910460ff16016105985760405162461bcd60e51b815260040161058f90611d8a565b60405180910390fd5b600280546001600160f81b0316600160f91b1790556105b684610abf565b6105f95760405162461bcd60e51b815260206004820152601460248201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b604482015260640161058f565b6001600160a01b03841661064b5782156106465760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dc4ee840e0ead8d840cae8d60931b604482015260640161058f565b61065c565b821561065c5761065c843385610e08565b600061066785610e35565b90506106738582610e8f565b9150828210156106955760405162461bcd60e51b815260040161058f90611dc1565b61069f8683611030565b60408051828152602081018490526001600160a01b03808816929089169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5991015b60405180910390a4506106f461113a565b600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016107425760405162461bcd60e51b815260040161058f90611d8a565b600280546001600160f81b0316600160f91b17905533610763858285611168565b61076e8585856111e2565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6060600480546104c190611d50565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108479190611deb565b925092509250909192565b600254600090600119600160f81b90910460ff16016108835760405162461bcd60e51b815260040161058f90611d8a565b600280546001600160f81b0316600160f91b179055336108a48185856111e2565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60405163d9f7e9a760e01b8152670de0b6b3a764000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d9f7e9a790602401602060405180830381865afa158015610933573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109579190611e0e565b60065460408051918252602082018390529192507fc8d1043f24843c0a1c9251fdc30017d84e87498fbcf232af9f86816b5e182bde910160405180910390a1600681905590565b604080516003808252608082019092526060916020820183803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106109f4576109f4611e27565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a4857610a48611e27565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110610a9c57610a9c611e27565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610b3257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061055857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254600090600119600160f81b90910460ff1601610bcf5760405162461bcd60e51b815260040161058f90611d8a565b600280546001600160f81b0316600160f91b179055610bed83610abf565b610c315760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b604482015260640161058f565b8315610c4d57610c42333086611168565b610c4d3330866111e2565b6000610c5830610e35565b9050610c6484826113f9565b915082821015610c865760405162461bcd60e51b815260040161058f90611dc1565b610c90308261150e565b610c9b84878461167b565b60408051828152602081018490526001600160a01b03808716929089169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c91016106e3565b6001600160a01b038316610d455760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058f565b6001600160a01b038216610da65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e1b57505050565b610e306001600160a01b038416833084611732565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614610e79576105588261179d565b600554610e858361179d565b6105589190611e53565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610ed1575080610558565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610f9d57604051631077c0f960e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906320ef81f2906024015b6020604051808303816000875af1158015610f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f969190611e0e565b9050610558565b604051630969ad2960e31b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634b4d6948906024015b6020604051808303816000875af1158015611005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110299190611e0e565b9392505050565b6001600160a01b0382166110865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161058f565b61108f81611827565b600280546000906110aa9084906001600160f81b0316611e6a565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546111029190611e95565b90915550506040518181526001600160a01b03831690600090600080516020611f148339815191529060200160405180910390a35050565b6111637f000000000000000000000000000000000000000000000000000000000000000061179d565b600555565b60006111748484610b73565b905060001981146111dc57818110156111cf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161058f565b6111dc8484848403610ce3565b50505050565b6001600160a01b0383166112465760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058f565b6001600160a01b0382166112a85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058f565b816001600160a01b0316836001600160a01b0316036113035760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b604482015260640161058f565b6001600160a01b0383166000908152602081905260409020548181101561137b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161058f565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113b2908490611e95565b92505081905550826001600160a01b0316846001600160a01b0316600080516020611f14833981519152846040516113ec91815260200190565b60405180910390a36111dc565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361143b575080610558565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036114c15760405163e09ae5f760e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e09ae5f790602401610f53565b604051634a97344b60e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634a97344b90602401610fe6565b6001600160a01b03821661156e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161058f565b6001600160a01b038216600090815260208190526040902054818110156115e25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161058f565b6001600160a01b0383166000908152602081905260409020828203905561160882611827565b600280546000906116239084906001600160f81b0316611ead565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020611f1483398151915284604051610dfb91815260200190565b6001600160a01b03831661171e576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146116d6576040519150601f19603f3d011682016040523d82523d6000602084013e6116db565b606091505b50509050806111dc5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161058f565b610e306001600160a01b038416838361183d565b6040516001600160a01b03808516602483015283166044820152606481018290526111dc9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261186d565b60006001600160a01b03821615611820576040516370a0823160e01b81526001600160a01b038316906370a08231906117da903090600401611c06565b602060405180830381865afa1580156117f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181b9190611e0e565b610558565b4792915050565b6000600160f81b821061183957600080fd5b5090565b6040516001600160a01b038316602482015260448101829052610e3090849063a9059cbb60e01b90606401611766565b60006118c2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661193f9092919063ffffffff16565b805190915015610e3057808060200190518101906118e09190611ed5565b610e305760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161058f565b606061194e8484600085611956565b949350505050565b6060824710156119b75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161058f565b6001600160a01b0385163b611a0e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161058f565b600080866001600160a01b03168587604051611a2a9190611ef7565b60006040518083038185875af1925050503d8060008114611a67576040519150601f19603f3d011682016040523d82523d6000602084013e611a6c565b606091505b5091509150611a7c828286611a87565b979650505050505050565b60608315611a96575081611029565b825115611aa65782518084602001fd5b8160405162461bcd60e51b815260040161058f9190611aec565b60005b83811015611adb578181015183820152602001611ac3565b838111156111dc5750506000910152565b6020815260008251806020840152611b0b816040850160208701611ac0565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611b3657600080fd5b919050565b60008060408385031215611b4e57600080fd5b611b5783611b1f565b946020939093013593505050565b600060208284031215611b7757600080fd5b61102982611b1f565b6020808252825182820181905260009190848201906040850190845b81811015611bb857835183529284019291840191600101611b9c565b50909695505050505050565b60008060008060808587031215611bda57600080fd5b611be385611b1f565b9350611bf160208601611b1f565b93969395505050506040820135916060013590565b6001600160a01b0391909116815260200190565b600080600060608486031215611c2f57600080fd5b611c3884611b1f565b9250611c4660208501611b1f565b9150604084013590509250925092565b6060810160028510611c7857634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b6020808252825182820181905260009190848201906040850190845b81811015611bb85783516001600160a01b031683529284019291840191600101611cb4565b60008060408385031215611cec57600080fd5b611cf583611b1f565b9150611d0360208401611b1f565b90509250929050565b60008060008060808587031215611d2257600080fd5b611d2b85611b1f565b935060208501359250611d4060408601611b1f565b9396929550929360600135925050565b600181811c90821680611d6457607f821691505b602082108103611d8457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b600060208284031215611dfd57600080fd5b815160ff8116811461102957600080fd5b600060208284031215611e2057600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611e6557611e65611e3d565b500390565b60006001600160f81b03828116848216808303821115611e8c57611e8c611e3d565b01949350505050565b60008219821115611ea857611ea8611e3d565b500190565b60006001600160f81b0383811690831681811015611ecd57611ecd611e3d565b039392505050565b600060208284031215611ee757600080fd5b8151801515811461102957600080fd5b60008251611f09818460208701611ac0565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220086a6fec074585342090911198dc1e79a776f39b064aeb6cbae791d9de02078064736f6c634300080f0033";
|
|
656
|
-
|
|
657
|
-
type PendleBtrflyScyConstructorParams =
|
|
658
|
-
| [signer?: Signer]
|
|
659
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
660
|
-
|
|
661
|
-
const isSuperArgs = (
|
|
662
|
-
xs: PendleBtrflyScyConstructorParams
|
|
663
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
664
|
-
|
|
665
|
-
export class PendleBtrflyScy__factory extends ContractFactory {
|
|
666
|
-
constructor(...args: PendleBtrflyScyConstructorParams) {
|
|
667
|
-
if (isSuperArgs(args)) {
|
|
668
|
-
super(...args);
|
|
669
|
-
} else {
|
|
670
|
-
super(_abi, _bytecode, args[0]);
|
|
671
|
-
}
|
|
672
|
-
this.contractName = "PendleBtrflyScy";
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
deploy(
|
|
676
|
-
_name: string,
|
|
677
|
-
_symbol: string,
|
|
678
|
-
_BTRFLY: string,
|
|
679
|
-
_xBTRFLY: string,
|
|
680
|
-
_wxBTRFLY: string,
|
|
681
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
682
|
-
): Promise<PendleBtrflyScy> {
|
|
683
|
-
return super.deploy(
|
|
684
|
-
_name,
|
|
685
|
-
_symbol,
|
|
686
|
-
_BTRFLY,
|
|
687
|
-
_xBTRFLY,
|
|
688
|
-
_wxBTRFLY,
|
|
689
|
-
overrides || {}
|
|
690
|
-
) as Promise<PendleBtrflyScy>;
|
|
691
|
-
}
|
|
692
|
-
getDeployTransaction(
|
|
693
|
-
_name: string,
|
|
694
|
-
_symbol: string,
|
|
695
|
-
_BTRFLY: string,
|
|
696
|
-
_xBTRFLY: string,
|
|
697
|
-
_wxBTRFLY: string,
|
|
698
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
699
|
-
): TransactionRequest {
|
|
700
|
-
return super.getDeployTransaction(
|
|
701
|
-
_name,
|
|
702
|
-
_symbol,
|
|
703
|
-
_BTRFLY,
|
|
704
|
-
_xBTRFLY,
|
|
705
|
-
_wxBTRFLY,
|
|
706
|
-
overrides || {}
|
|
707
|
-
);
|
|
708
|
-
}
|
|
709
|
-
attach(address: string): PendleBtrflyScy {
|
|
710
|
-
return super.attach(address) as PendleBtrflyScy;
|
|
711
|
-
}
|
|
712
|
-
connect(signer: Signer): PendleBtrflyScy__factory {
|
|
713
|
-
return super.connect(signer) as PendleBtrflyScy__factory;
|
|
714
|
-
}
|
|
715
|
-
static readonly contractName: "PendleBtrflyScy";
|
|
716
|
-
public readonly contractName: "PendleBtrflyScy";
|
|
717
|
-
static readonly bytecode = _bytecode;
|
|
718
|
-
static readonly abi = _abi;
|
|
719
|
-
static createInterface(): PendleBtrflyScyInterface {
|
|
720
|
-
return new utils.Interface(_abi) as PendleBtrflyScyInterface;
|
|
721
|
-
}
|
|
722
|
-
static connect(
|
|
723
|
-
address: string,
|
|
724
|
-
signerOrProvider: Signer | Provider
|
|
725
|
-
): PendleBtrflyScy {
|
|
726
|
-
return new Contract(address, _abi, signerOrProvider) as PendleBtrflyScy;
|
|
727
|
-
}
|
|
728
|
-
}
|