@pendle/core-v2 0.14.0-testnet → 0.15.1-mainnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +97 -48
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +62 -21
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +26 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +10 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +10 -0
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +33 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +39 -8
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +6 -6
- 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/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +2 -12
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +3 -3
- 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 +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +37 -6
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +10 -0
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +19 -0
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +119 -0
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +39 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +12 -2
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +182 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +89 -60
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +20 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +4 -4
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +27 -96
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +12 -40
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +5 -24
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -3
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -2
- package/contracts/core/Market/MarketMathCore.sol +1 -1
- package/contracts/core/StandardizedYield/SYBase.sol +0 -5
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +1 -4
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +8 -5
- package/contracts/core/YieldContracts/PendleYieldToken.sol +2 -2
- package/contracts/core/erc20/PendleERC20Permit.sol +1 -1
- package/contracts/core/libraries/Errors.sol +1 -3
- package/contracts/interfaces/ICelerMessageBus.sol +28 -0
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +25 -0
- package/contracts/interfaces/IPMsgSendEndpoint.sol +2 -4
- package/deployments/1-core.json +16 -0
- package/deployments/1-markets/STETH_MARCH_30.json +8 -0
- package/package.json +2 -2
- package/typechain-types/ICrvPool.ts +16 -0
- package/typechain-types/ILayerZeroEndpoint.ts +256 -0
- package/typechain-types/ILayerZeroReceiver.ts +117 -0
- package/typechain-types/ILooksFeeSharing.ts +102 -0
- package/typechain-types/ILooksStaking.ts +162 -0
- package/typechain-types/IPMsgSendEndpoint.ts +24 -14
- package/typechain-types/ImplicitSwapfeeContract.ts +9 -17
- package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
- package/typechain-types/PendleLooksStaking.ts +1052 -0
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +126 -68
- package/typechain-types/PendleMsgSendEndpointUpg.ts +99 -39
- package/typechain-types/PendleMsgSenderAppUpg.ts +55 -0
- package/typechain-types/PendleVotingControllerUpg.ts +55 -0
- package/typechain-types/PendleWstEthSY.ts +1 -3
- package/typechain-types/RouterStatic.ts +44 -0
- package/typechain-types/VotingEscrowPendleMainchain.ts +61 -6
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +17 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +36 -5
- package/typechain-types/factories/ICrvPool__factory.ts +19 -0
- package/typechain-types/factories/ILayerZeroEndpoint__factory.ts +134 -0
- package/typechain-types/factories/ILayerZeroReceiver__factory.ts +54 -0
- package/typechain-types/factories/ILooksFeeSharing__factory.ts +45 -0
- package/typechain-types/factories/ILooksStaking__factory.ts +81 -0
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +12 -2
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +4 -12
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -19
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStaking__factory.ts +933 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +100 -51
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +71 -23
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +26 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +44 -2
- package/typechain-types/factories/PendleWstEthSY__factory.ts +2 -2
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +30 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +50 -8
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +27 -18
- package/typechain-types/index.ts +6 -4
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +0 -53
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +0 -45
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +0 -133
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +0 -33
- package/contracts/interfaces/ILayerZeroEndpoint.sol +0 -39
- package/contracts/interfaces/ILayerZeroReceiver.sol +0 -12
- package/deployments/43113-core.json +0 -16
- package/deployments/43113-helper.json +0 -3
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/deployments/43113-testenv.json +0 -22
- package/deployments/80001-core.json +0 -15
- package/deployments/80001-testenv.json +0 -22
|
@@ -26,33 +26,26 @@ import type {
|
|
|
26
26
|
export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
27
27
|
contractName: "PendleMsgReceiveEndpointUpg";
|
|
28
28
|
functions: {
|
|
29
|
-
"celerMessageBus()": FunctionFragment;
|
|
30
29
|
"claimOwnership()": FunctionFragment;
|
|
31
|
-
"executeMessage(address,uint64,bytes,address)": FunctionFragment;
|
|
32
30
|
"govExecuteMessage(address,bytes)": FunctionFragment;
|
|
33
31
|
"initialize()": FunctionFragment;
|
|
32
|
+
"lzEndpoint()": FunctionFragment;
|
|
33
|
+
"lzReceive(uint16,bytes,uint64,bytes)": FunctionFragment;
|
|
34
34
|
"owner()": FunctionFragment;
|
|
35
35
|
"pendingOwner()": FunctionFragment;
|
|
36
36
|
"proxiableUUID()": FunctionFragment;
|
|
37
37
|
"sendEndpointAddr()": FunctionFragment;
|
|
38
38
|
"sendEndpointChainId()": FunctionFragment;
|
|
39
|
+
"setLzReceiveVersion(uint16)": FunctionFragment;
|
|
39
40
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
40
41
|
"upgradeTo(address)": FunctionFragment;
|
|
41
42
|
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
42
43
|
};
|
|
43
44
|
|
|
44
|
-
encodeFunctionData(
|
|
45
|
-
functionFragment: "celerMessageBus",
|
|
46
|
-
values?: undefined
|
|
47
|
-
): string;
|
|
48
45
|
encodeFunctionData(
|
|
49
46
|
functionFragment: "claimOwnership",
|
|
50
47
|
values?: undefined
|
|
51
48
|
): string;
|
|
52
|
-
encodeFunctionData(
|
|
53
|
-
functionFragment: "executeMessage",
|
|
54
|
-
values: [string, BigNumberish, BytesLike, string]
|
|
55
|
-
): string;
|
|
56
49
|
encodeFunctionData(
|
|
57
50
|
functionFragment: "govExecuteMessage",
|
|
58
51
|
values: [string, BytesLike]
|
|
@@ -61,6 +54,14 @@ export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
|
61
54
|
functionFragment: "initialize",
|
|
62
55
|
values?: undefined
|
|
63
56
|
): string;
|
|
57
|
+
encodeFunctionData(
|
|
58
|
+
functionFragment: "lzEndpoint",
|
|
59
|
+
values?: undefined
|
|
60
|
+
): string;
|
|
61
|
+
encodeFunctionData(
|
|
62
|
+
functionFragment: "lzReceive",
|
|
63
|
+
values: [BigNumberish, BytesLike, BigNumberish, BytesLike]
|
|
64
|
+
): string;
|
|
64
65
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
65
66
|
encodeFunctionData(
|
|
66
67
|
functionFragment: "pendingOwner",
|
|
@@ -78,6 +79,10 @@ export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
|
78
79
|
functionFragment: "sendEndpointChainId",
|
|
79
80
|
values?: undefined
|
|
80
81
|
): string;
|
|
82
|
+
encodeFunctionData(
|
|
83
|
+
functionFragment: "setLzReceiveVersion",
|
|
84
|
+
values: [BigNumberish]
|
|
85
|
+
): string;
|
|
81
86
|
encodeFunctionData(
|
|
82
87
|
functionFragment: "transferOwnership",
|
|
83
88
|
values: [string, boolean, boolean]
|
|
@@ -88,23 +93,17 @@ export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
|
88
93
|
values: [string, BytesLike]
|
|
89
94
|
): string;
|
|
90
95
|
|
|
91
|
-
decodeFunctionResult(
|
|
92
|
-
functionFragment: "celerMessageBus",
|
|
93
|
-
data: BytesLike
|
|
94
|
-
): Result;
|
|
95
96
|
decodeFunctionResult(
|
|
96
97
|
functionFragment: "claimOwnership",
|
|
97
98
|
data: BytesLike
|
|
98
99
|
): Result;
|
|
99
|
-
decodeFunctionResult(
|
|
100
|
-
functionFragment: "executeMessage",
|
|
101
|
-
data: BytesLike
|
|
102
|
-
): Result;
|
|
103
100
|
decodeFunctionResult(
|
|
104
101
|
functionFragment: "govExecuteMessage",
|
|
105
102
|
data: BytesLike
|
|
106
103
|
): Result;
|
|
107
104
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "lzEndpoint", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "lzReceive", data: BytesLike): Result;
|
|
108
107
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
109
108
|
decodeFunctionResult(
|
|
110
109
|
functionFragment: "pendingOwner",
|
|
@@ -122,6 +121,10 @@ export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
|
122
121
|
functionFragment: "sendEndpointChainId",
|
|
123
122
|
data: BytesLike
|
|
124
123
|
): Result;
|
|
124
|
+
decodeFunctionResult(
|
|
125
|
+
functionFragment: "setLzReceiveVersion",
|
|
126
|
+
data: BytesLike
|
|
127
|
+
): Result;
|
|
125
128
|
decodeFunctionResult(
|
|
126
129
|
functionFragment: "transferOwnership",
|
|
127
130
|
data: BytesLike
|
|
@@ -135,12 +138,14 @@ export interface PendleMsgReceiveEndpointUpgInterface extends utils.Interface {
|
|
|
135
138
|
events: {
|
|
136
139
|
"AdminChanged(address,address)": EventFragment;
|
|
137
140
|
"BeaconUpgraded(address)": EventFragment;
|
|
141
|
+
"MessageFailed(uint16,bytes,uint64,bytes,bytes)": EventFragment;
|
|
138
142
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
139
143
|
"Upgraded(address)": EventFragment;
|
|
140
144
|
};
|
|
141
145
|
|
|
142
146
|
getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
|
|
143
147
|
getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
|
|
148
|
+
getEvent(nameOrSignatureOrTopic: "MessageFailed"): EventFragment;
|
|
144
149
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
145
150
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
146
151
|
}
|
|
@@ -156,6 +161,19 @@ export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
|
156
161
|
|
|
157
162
|
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
158
163
|
|
|
164
|
+
export type MessageFailedEvent = TypedEvent<
|
|
165
|
+
[number, string, BigNumber, string, string],
|
|
166
|
+
{
|
|
167
|
+
_srcChainId: number;
|
|
168
|
+
_path: string;
|
|
169
|
+
_nonce: BigNumber;
|
|
170
|
+
_payload: string;
|
|
171
|
+
_reason: string;
|
|
172
|
+
}
|
|
173
|
+
>;
|
|
174
|
+
|
|
175
|
+
export type MessageFailedEventFilter = TypedEventFilter<MessageFailedEvent>;
|
|
176
|
+
|
|
159
177
|
export type OwnershipTransferredEvent = TypedEvent<
|
|
160
178
|
[string, string],
|
|
161
179
|
{ previousOwner: string; newOwner: string }
|
|
@@ -196,20 +214,10 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
196
214
|
removeListener: OnEvent<this>;
|
|
197
215
|
|
|
198
216
|
functions: {
|
|
199
|
-
celerMessageBus(overrides?: CallOverrides): Promise<[string]>;
|
|
200
|
-
|
|
201
217
|
claimOwnership(
|
|
202
218
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
203
219
|
): Promise<ContractTransaction>;
|
|
204
220
|
|
|
205
|
-
executeMessage(
|
|
206
|
-
srcAddress: string,
|
|
207
|
-
srcChainId: BigNumberish,
|
|
208
|
-
message: BytesLike,
|
|
209
|
-
arg3: string,
|
|
210
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
211
|
-
): Promise<ContractTransaction>;
|
|
212
|
-
|
|
213
221
|
govExecuteMessage(
|
|
214
222
|
receiver: string,
|
|
215
223
|
message: BytesLike,
|
|
@@ -220,6 +228,16 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
220
228
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
221
229
|
): Promise<ContractTransaction>;
|
|
222
230
|
|
|
231
|
+
lzEndpoint(overrides?: CallOverrides): Promise<[string]>;
|
|
232
|
+
|
|
233
|
+
lzReceive(
|
|
234
|
+
_srcChainId: BigNumberish,
|
|
235
|
+
_path: BytesLike,
|
|
236
|
+
_nonce: BigNumberish,
|
|
237
|
+
_payload: BytesLike,
|
|
238
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
239
|
+
): Promise<ContractTransaction>;
|
|
240
|
+
|
|
223
241
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
224
242
|
|
|
225
243
|
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -230,6 +248,11 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
230
248
|
|
|
231
249
|
sendEndpointChainId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
232
250
|
|
|
251
|
+
setLzReceiveVersion(
|
|
252
|
+
_newVersion: BigNumberish,
|
|
253
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
254
|
+
): Promise<ContractTransaction>;
|
|
255
|
+
|
|
233
256
|
transferOwnership(
|
|
234
257
|
newOwner: string,
|
|
235
258
|
direct: boolean,
|
|
@@ -249,20 +272,10 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
249
272
|
): Promise<ContractTransaction>;
|
|
250
273
|
};
|
|
251
274
|
|
|
252
|
-
celerMessageBus(overrides?: CallOverrides): Promise<string>;
|
|
253
|
-
|
|
254
275
|
claimOwnership(
|
|
255
276
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
256
277
|
): Promise<ContractTransaction>;
|
|
257
278
|
|
|
258
|
-
executeMessage(
|
|
259
|
-
srcAddress: string,
|
|
260
|
-
srcChainId: BigNumberish,
|
|
261
|
-
message: BytesLike,
|
|
262
|
-
arg3: string,
|
|
263
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
264
|
-
): Promise<ContractTransaction>;
|
|
265
|
-
|
|
266
279
|
govExecuteMessage(
|
|
267
280
|
receiver: string,
|
|
268
281
|
message: BytesLike,
|
|
@@ -273,6 +286,16 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
273
286
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
274
287
|
): Promise<ContractTransaction>;
|
|
275
288
|
|
|
289
|
+
lzEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
290
|
+
|
|
291
|
+
lzReceive(
|
|
292
|
+
_srcChainId: BigNumberish,
|
|
293
|
+
_path: BytesLike,
|
|
294
|
+
_nonce: BigNumberish,
|
|
295
|
+
_payload: BytesLike,
|
|
296
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
297
|
+
): Promise<ContractTransaction>;
|
|
298
|
+
|
|
276
299
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
277
300
|
|
|
278
301
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
@@ -283,6 +306,11 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
283
306
|
|
|
284
307
|
sendEndpointChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
285
308
|
|
|
309
|
+
setLzReceiveVersion(
|
|
310
|
+
_newVersion: BigNumberish,
|
|
311
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
312
|
+
): Promise<ContractTransaction>;
|
|
313
|
+
|
|
286
314
|
transferOwnership(
|
|
287
315
|
newOwner: string,
|
|
288
316
|
direct: boolean,
|
|
@@ -302,18 +330,8 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
302
330
|
): Promise<ContractTransaction>;
|
|
303
331
|
|
|
304
332
|
callStatic: {
|
|
305
|
-
celerMessageBus(overrides?: CallOverrides): Promise<string>;
|
|
306
|
-
|
|
307
333
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
308
334
|
|
|
309
|
-
executeMessage(
|
|
310
|
-
srcAddress: string,
|
|
311
|
-
srcChainId: BigNumberish,
|
|
312
|
-
message: BytesLike,
|
|
313
|
-
arg3: string,
|
|
314
|
-
overrides?: CallOverrides
|
|
315
|
-
): Promise<number>;
|
|
316
|
-
|
|
317
335
|
govExecuteMessage(
|
|
318
336
|
receiver: string,
|
|
319
337
|
message: BytesLike,
|
|
@@ -322,6 +340,16 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
322
340
|
|
|
323
341
|
initialize(overrides?: CallOverrides): Promise<void>;
|
|
324
342
|
|
|
343
|
+
lzEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
344
|
+
|
|
345
|
+
lzReceive(
|
|
346
|
+
_srcChainId: BigNumberish,
|
|
347
|
+
_path: BytesLike,
|
|
348
|
+
_nonce: BigNumberish,
|
|
349
|
+
_payload: BytesLike,
|
|
350
|
+
overrides?: CallOverrides
|
|
351
|
+
): Promise<void>;
|
|
352
|
+
|
|
325
353
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
326
354
|
|
|
327
355
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
@@ -332,6 +360,11 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
332
360
|
|
|
333
361
|
sendEndpointChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
334
362
|
|
|
363
|
+
setLzReceiveVersion(
|
|
364
|
+
_newVersion: BigNumberish,
|
|
365
|
+
overrides?: CallOverrides
|
|
366
|
+
): Promise<void>;
|
|
367
|
+
|
|
335
368
|
transferOwnership(
|
|
336
369
|
newOwner: string,
|
|
337
370
|
direct: boolean,
|
|
@@ -366,6 +399,21 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
366
399
|
): BeaconUpgradedEventFilter;
|
|
367
400
|
BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
|
|
368
401
|
|
|
402
|
+
"MessageFailed(uint16,bytes,uint64,bytes,bytes)"(
|
|
403
|
+
_srcChainId?: null,
|
|
404
|
+
_path?: null,
|
|
405
|
+
_nonce?: null,
|
|
406
|
+
_payload?: null,
|
|
407
|
+
_reason?: null
|
|
408
|
+
): MessageFailedEventFilter;
|
|
409
|
+
MessageFailed(
|
|
410
|
+
_srcChainId?: null,
|
|
411
|
+
_path?: null,
|
|
412
|
+
_nonce?: null,
|
|
413
|
+
_payload?: null,
|
|
414
|
+
_reason?: null
|
|
415
|
+
): MessageFailedEventFilter;
|
|
416
|
+
|
|
369
417
|
"OwnershipTransferred(address,address)"(
|
|
370
418
|
previousOwner?: string | null,
|
|
371
419
|
newOwner?: string | null
|
|
@@ -380,20 +428,10 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
380
428
|
};
|
|
381
429
|
|
|
382
430
|
estimateGas: {
|
|
383
|
-
celerMessageBus(overrides?: CallOverrides): Promise<BigNumber>;
|
|
384
|
-
|
|
385
431
|
claimOwnership(
|
|
386
432
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
387
433
|
): Promise<BigNumber>;
|
|
388
434
|
|
|
389
|
-
executeMessage(
|
|
390
|
-
srcAddress: string,
|
|
391
|
-
srcChainId: BigNumberish,
|
|
392
|
-
message: BytesLike,
|
|
393
|
-
arg3: string,
|
|
394
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
395
|
-
): Promise<BigNumber>;
|
|
396
|
-
|
|
397
435
|
govExecuteMessage(
|
|
398
436
|
receiver: string,
|
|
399
437
|
message: BytesLike,
|
|
@@ -404,6 +442,16 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
404
442
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
405
443
|
): Promise<BigNumber>;
|
|
406
444
|
|
|
445
|
+
lzEndpoint(overrides?: CallOverrides): Promise<BigNumber>;
|
|
446
|
+
|
|
447
|
+
lzReceive(
|
|
448
|
+
_srcChainId: BigNumberish,
|
|
449
|
+
_path: BytesLike,
|
|
450
|
+
_nonce: BigNumberish,
|
|
451
|
+
_payload: BytesLike,
|
|
452
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
453
|
+
): Promise<BigNumber>;
|
|
454
|
+
|
|
407
455
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
408
456
|
|
|
409
457
|
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -414,6 +462,11 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
414
462
|
|
|
415
463
|
sendEndpointChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
416
464
|
|
|
465
|
+
setLzReceiveVersion(
|
|
466
|
+
_newVersion: BigNumberish,
|
|
467
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
468
|
+
): Promise<BigNumber>;
|
|
469
|
+
|
|
417
470
|
transferOwnership(
|
|
418
471
|
newOwner: string,
|
|
419
472
|
direct: boolean,
|
|
@@ -434,20 +487,10 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
434
487
|
};
|
|
435
488
|
|
|
436
489
|
populateTransaction: {
|
|
437
|
-
celerMessageBus(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
438
|
-
|
|
439
490
|
claimOwnership(
|
|
440
491
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
441
492
|
): Promise<PopulatedTransaction>;
|
|
442
493
|
|
|
443
|
-
executeMessage(
|
|
444
|
-
srcAddress: string,
|
|
445
|
-
srcChainId: BigNumberish,
|
|
446
|
-
message: BytesLike,
|
|
447
|
-
arg3: string,
|
|
448
|
-
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
449
|
-
): Promise<PopulatedTransaction>;
|
|
450
|
-
|
|
451
494
|
govExecuteMessage(
|
|
452
495
|
receiver: string,
|
|
453
496
|
message: BytesLike,
|
|
@@ -458,6 +501,16 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
458
501
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
459
502
|
): Promise<PopulatedTransaction>;
|
|
460
503
|
|
|
504
|
+
lzEndpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
505
|
+
|
|
506
|
+
lzReceive(
|
|
507
|
+
_srcChainId: BigNumberish,
|
|
508
|
+
_path: BytesLike,
|
|
509
|
+
_nonce: BigNumberish,
|
|
510
|
+
_payload: BytesLike,
|
|
511
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
512
|
+
): Promise<PopulatedTransaction>;
|
|
513
|
+
|
|
461
514
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
462
515
|
|
|
463
516
|
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -470,6 +523,11 @@ export interface PendleMsgReceiveEndpointUpg extends BaseContract {
|
|
|
470
523
|
overrides?: CallOverrides
|
|
471
524
|
): Promise<PopulatedTransaction>;
|
|
472
525
|
|
|
526
|
+
setLzReceiveVersion(
|
|
527
|
+
_newVersion: BigNumberish,
|
|
528
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
529
|
+
): Promise<PopulatedTransaction>;
|
|
530
|
+
|
|
473
531
|
transferOwnership(
|
|
474
532
|
newOwner: string,
|
|
475
533
|
direct: boolean,
|