@pendle/core-v2 5.10.2 → 5.11.1-alpha
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 +9 -3
- 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 +9 -3
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +9 -3
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +9 -3
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +9 -3
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.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 +9 -3
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- 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/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.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/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +4 -0
- package/build/artifacts/contracts/core/libraries/{BoringOwnableUpgradeable.sol → BoringOwnableUpgradeableV2.sol}/BoringOwnableUpgradeableData.json +3 -3
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +598 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +4 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +498 -0
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +5 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +7 -2
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +9 -3
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +9 -3
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +9 -3
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +9 -3
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.json +153 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +7 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +4 -4
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +4 -4
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +2 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +2 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +2 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +2 -2
- package/contracts/LiquidityMining/PendleMerkleDistributor.sol +4 -4
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +2 -2
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +1 -1
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +2 -2
- package/contracts/core/Market/v3/PendleMarketFactoryV3.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +3 -3
- package/contracts/core/libraries/BoringOwnableUpgradeableV2.sol +5 -1
- package/contracts/{LiquidityMining → deprecated}/VeDistributor/PendleFeeDistributor.sol +6 -6
- package/contracts/{LiquidityMining → deprecated}/VeDistributor/PendleFeeDistributorV2.sol +4 -4
- package/contracts/limit/LimitRouterBase.sol +5 -4
- package/contracts/offchain-helpers/AddressProvider.sol +4 -4
- package/contracts/offchain-helpers/BalanceReader.sol +4 -4
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +3 -3
- package/contracts/offchain-helpers/Broadcaster.sol +4 -4
- package/contracts/offchain-helpers/EmptyUUPS.sol +4 -4
- package/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol +1 -1
- package/contracts/offchain-helpers/PendleExchangeRateOracle.sol +3 -4
- package/contracts/offchain-helpers/PendleLPWrapperFactory.sol +3 -3
- package/contracts/offchain-helpers/PendleMulticallOwnerV1.sol +39 -0
- package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +1 -1
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +5 -1
- package/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol +4 -4
- package/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol +1 -1
- package/deployments/80094-core.json +1 -1
- package/deployments/999-core.json +52 -0
- package/deployments/999-offchain-helper.json +7 -0
- package/package.json +1 -1
- package/typechain-types/AddressProvider.ts +281 -0
- package/typechain-types/BalanceReader.ts +7 -6
- package/typechain-types/BaseSplitCodeFactoryContract.ts +276 -0
- package/typechain-types/BoringOwnableUpgradeableData.ts +100 -0
- package/typechain-types/BoringOwnableUpgradeable__deprecated.ts +204 -0
- package/typechain-types/Broadcaster.ts +7 -6
- package/typechain-types/EmptyUUPS.ts +353 -0
- package/typechain-types/LimitRouterBase.ts +14 -3
- package/typechain-types/PendleFeeDistributor.ts +7 -6
- package/typechain-types/PendleFeeDistributorV2.ts +723 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +7 -6
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +7 -6
- package/typechain-types/PendleLimitRouter.ts +14 -3
- package/typechain-types/PendleMerkleDistributor.ts +611 -0
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +7 -6
- package/typechain-types/PendleMsgReceiverAppUpg.ts +125 -0
- package/typechain-types/PendleMsgSendEndpointUpg.ts +7 -6
- package/typechain-types/PendleMsgSenderAppUpg.ts +353 -0
- package/typechain-types/PendleMulticallOwnerV1.ts +271 -0
- package/typechain-types/PendlePYLpOracle.ts +7 -2
- package/typechain-types/PendleVotingControllerUpg.ts +7 -6
- package/typechain-types/factories/AddressProvider__factory.ts +202 -0
- package/typechain-types/factories/BalanceReader__factory.ts +8 -2
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +239 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +96 -0
- package/typechain-types/factories/BoringOwnableUpgradeable__deprecated__factory.ts +120 -0
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +8 -2
- package/typechain-types/factories/EmptyUUPS__factory.ts +256 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +5 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +555 -0
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +8 -2
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +8 -2
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +8 -2
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +6 -1
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +494 -0
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +8 -2
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +67 -0
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +8 -2
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +193 -0
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallOwnerV1__factory.ts +215 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +6 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +8 -2
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +27 -45
- package/typechain-types/index.ts +6 -10
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -592
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +0 -492
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +0 -1139
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +0 -664
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +0 -99
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +0 -4
- package/contracts/core/Market/v1/PendleMarket.sol +0 -348
- package/contracts/core/Market/v1/PendleMarketFactory.sol +0 -154
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +0 -58
|
@@ -0,0 +1,555 @@
|
|
|
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
|
+
PendleFeeDistributorV2,
|
|
8
|
+
PendleFeeDistributorV2Interface,
|
|
9
|
+
} from "../PendleFeeDistributorV2";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
type: "constructor",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "ArrayLengthMismatch",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [],
|
|
24
|
+
name: "InvalidMerkleProof",
|
|
25
|
+
type: "error",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
anonymous: false,
|
|
29
|
+
inputs: [
|
|
30
|
+
{
|
|
31
|
+
indexed: false,
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "previousAdmin",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
indexed: false,
|
|
38
|
+
internalType: "address",
|
|
39
|
+
name: "newAdmin",
|
|
40
|
+
type: "address",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
name: "AdminChanged",
|
|
44
|
+
type: "event",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
anonymous: false,
|
|
48
|
+
inputs: [
|
|
49
|
+
{
|
|
50
|
+
indexed: true,
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "beacon",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "BeaconUpgraded",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
anonymous: false,
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "user",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "amountOut",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "Claimed",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
anonymous: false,
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
indexed: false,
|
|
83
|
+
internalType: "uint8",
|
|
84
|
+
name: "version",
|
|
85
|
+
type: "uint8",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
name: "Initialized",
|
|
89
|
+
type: "event",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
anonymous: false,
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
indexed: true,
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "previousOwner",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
indexed: true,
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "newOwner",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "OwnershipTransferred",
|
|
108
|
+
type: "event",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
anonymous: false,
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
indexed: true,
|
|
115
|
+
internalType: "bytes32",
|
|
116
|
+
name: "merkleRoot",
|
|
117
|
+
type: "bytes32",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: false,
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "amountFunded",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
name: "SetMerkleRootAndFund",
|
|
127
|
+
type: "event",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
anonymous: false,
|
|
131
|
+
inputs: [
|
|
132
|
+
{
|
|
133
|
+
indexed: true,
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "user",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
indexed: false,
|
|
140
|
+
internalType: "uint256",
|
|
141
|
+
name: "sumTopUp",
|
|
142
|
+
type: "uint256",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
name: "UpdateProtocolClaimable",
|
|
146
|
+
type: "event",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
anonymous: false,
|
|
150
|
+
inputs: [
|
|
151
|
+
{
|
|
152
|
+
indexed: true,
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "implementation",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
name: "Upgraded",
|
|
159
|
+
type: "event",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [],
|
|
163
|
+
name: "claimOwnership",
|
|
164
|
+
outputs: [],
|
|
165
|
+
stateMutability: "nonpayable",
|
|
166
|
+
type: "function",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "receiver",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
internalType: "address[]",
|
|
177
|
+
name: "pools",
|
|
178
|
+
type: "address[]",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "claimProtocol",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "totalAmountOut",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
internalType: "uint256[]",
|
|
190
|
+
name: "amountsOut",
|
|
191
|
+
type: "uint256[]",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "nonpayable",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
internalType: "address",
|
|
201
|
+
name: "receiver",
|
|
202
|
+
type: "address",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "totalAccrued",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
internalType: "bytes32[]",
|
|
211
|
+
name: "proof",
|
|
212
|
+
type: "bytes32[]",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
name: "claimRetail",
|
|
216
|
+
outputs: [
|
|
217
|
+
{
|
|
218
|
+
internalType: "uint256",
|
|
219
|
+
name: "amountOut",
|
|
220
|
+
type: "uint256",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
stateMutability: "nonpayable",
|
|
224
|
+
type: "function",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
internalType: "address",
|
|
230
|
+
name: "",
|
|
231
|
+
type: "address",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
name: "claimed",
|
|
235
|
+
outputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
name: "",
|
|
239
|
+
type: "uint256",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
stateMutability: "view",
|
|
243
|
+
type: "function",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
inputs: [
|
|
247
|
+
{
|
|
248
|
+
internalType: "address",
|
|
249
|
+
name: "user",
|
|
250
|
+
type: "address",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
internalType: "address[]",
|
|
254
|
+
name: "pools",
|
|
255
|
+
type: "address[]",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
name: "getProtocolClaimables",
|
|
259
|
+
outputs: [
|
|
260
|
+
{
|
|
261
|
+
internalType: "uint256[]",
|
|
262
|
+
name: "claimables",
|
|
263
|
+
type: "uint256[]",
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
stateMutability: "view",
|
|
267
|
+
type: "function",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
inputs: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "address",
|
|
273
|
+
name: "user",
|
|
274
|
+
type: "address",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
name: "getProtocolTotalAccrued",
|
|
278
|
+
outputs: [
|
|
279
|
+
{
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
stateMutability: "view",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "address",
|
|
292
|
+
name: "_owner",
|
|
293
|
+
type: "address",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
name: "initialize",
|
|
297
|
+
outputs: [],
|
|
298
|
+
stateMutability: "nonpayable",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "merkleRoot",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "bytes32",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "bytes32",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
inputs: [],
|
|
316
|
+
name: "owner",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "address",
|
|
320
|
+
name: "",
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
stateMutability: "view",
|
|
325
|
+
type: "function",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
inputs: [],
|
|
329
|
+
name: "pendingOwner",
|
|
330
|
+
outputs: [
|
|
331
|
+
{
|
|
332
|
+
internalType: "address",
|
|
333
|
+
name: "",
|
|
334
|
+
type: "address",
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
stateMutability: "view",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [],
|
|
342
|
+
name: "proxiableUUID",
|
|
343
|
+
outputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "bytes32",
|
|
346
|
+
name: "",
|
|
347
|
+
type: "bytes32",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
stateMutability: "view",
|
|
351
|
+
type: "function",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
inputs: [
|
|
355
|
+
{
|
|
356
|
+
internalType: "bytes32",
|
|
357
|
+
name: "newMerkleRoot",
|
|
358
|
+
type: "bytes32",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
internalType: "uint256",
|
|
362
|
+
name: "amountToFund",
|
|
363
|
+
type: "uint256",
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
name: "setMerkleRootAndFund",
|
|
367
|
+
outputs: [],
|
|
368
|
+
stateMutability: "payable",
|
|
369
|
+
type: "function",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
inputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "newOwner",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
internalType: "bool",
|
|
380
|
+
name: "direct",
|
|
381
|
+
type: "bool",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
internalType: "bool",
|
|
385
|
+
name: "renounce",
|
|
386
|
+
type: "bool",
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
name: "transferOwnership",
|
|
390
|
+
outputs: [],
|
|
391
|
+
stateMutability: "nonpayable",
|
|
392
|
+
type: "function",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
inputs: [
|
|
396
|
+
{
|
|
397
|
+
components: [
|
|
398
|
+
{
|
|
399
|
+
internalType: "address",
|
|
400
|
+
name: "user",
|
|
401
|
+
type: "address",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "bytes32[]",
|
|
405
|
+
name: "proof",
|
|
406
|
+
type: "bytes32[]",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
internalType: "address[]",
|
|
410
|
+
name: "pools",
|
|
411
|
+
type: "address[]",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "uint256[]",
|
|
415
|
+
name: "topUps",
|
|
416
|
+
type: "uint256[]",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
internalType: "struct IPFeeDistributorV2.UpdateProtocolStruct",
|
|
420
|
+
name: "ele",
|
|
421
|
+
type: "tuple",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
name: "updateProtocolClaimable",
|
|
425
|
+
outputs: [],
|
|
426
|
+
stateMutability: "nonpayable",
|
|
427
|
+
type: "function",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
inputs: [
|
|
431
|
+
{
|
|
432
|
+
components: [
|
|
433
|
+
{
|
|
434
|
+
internalType: "address",
|
|
435
|
+
name: "user",
|
|
436
|
+
type: "address",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
internalType: "bytes32[]",
|
|
440
|
+
name: "proof",
|
|
441
|
+
type: "bytes32[]",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
internalType: "address[]",
|
|
445
|
+
name: "pools",
|
|
446
|
+
type: "address[]",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
internalType: "uint256[]",
|
|
450
|
+
name: "topUps",
|
|
451
|
+
type: "uint256[]",
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
internalType: "struct IPFeeDistributorV2.UpdateProtocolStruct[]",
|
|
455
|
+
name: "arr",
|
|
456
|
+
type: "tuple[]",
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
name: "updateProtocolClaimables",
|
|
460
|
+
outputs: [],
|
|
461
|
+
stateMutability: "nonpayable",
|
|
462
|
+
type: "function",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
inputs: [
|
|
466
|
+
{
|
|
467
|
+
internalType: "address",
|
|
468
|
+
name: "newImplementation",
|
|
469
|
+
type: "address",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
name: "upgradeTo",
|
|
473
|
+
outputs: [],
|
|
474
|
+
stateMutability: "nonpayable",
|
|
475
|
+
type: "function",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
inputs: [
|
|
479
|
+
{
|
|
480
|
+
internalType: "address",
|
|
481
|
+
name: "newImplementation",
|
|
482
|
+
type: "address",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
internalType: "bytes",
|
|
486
|
+
name: "data",
|
|
487
|
+
type: "bytes",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
name: "upgradeToAndCall",
|
|
491
|
+
outputs: [],
|
|
492
|
+
stateMutability: "payable",
|
|
493
|
+
type: "function",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
stateMutability: "payable",
|
|
497
|
+
type: "receive",
|
|
498
|
+
},
|
|
499
|
+
];
|
|
500
|
+
|
|
501
|
+
const _bytecode =
|
|
502
|
+
"0x60a06040523060805234801561001457600080fd5b50600154600160a81b900460ff161580801561003b575060018054600160a01b900460ff16105b8061005b5750303b15801561005b575060018054600160a01b900460ff16145b6100c25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b17905580156100ef576001805460ff60a81b1916600160a81b1790555b8015610136576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50608051611e5f6200016f60003960008181610567015281816105a7015281816106da0152818161071a01526107960152611e5f6000f3fe6080604052600436106100d25760003560e01c8063053f6a70146100de578063078dfbe7146101115780630ef863f6146101335780632eb4a7ab146101465780633659cfe61461015c5780634e71e0c81461017c5780634f1ef2861461019157806352d1902d146101a45780635305f829146101b95780636157daba146101f25780636db69ec5146102125780638da5cb5b1461023f578063afda4e5c14610277578063c4d66de814610297578063c884ef83146102b7578063e30c3978146102e4578063ff5b40661461030457600080fd5b366100d957005b600080fd5b3480156100ea57600080fd5b506100fe6100f936600461188b565b610332565b6040519081526020015b60405180910390f35b34801561011d57600080fd5b5061013161012c3660046118f2565b6103e4565b005b61013161014136600461193b565b6104e9565b34801561015257600080fd5b506100fe60325481565b34801561016857600080fd5b5061013161017736600461195d565b61055d565b34801561018857600080fd5b50610131610625565b61013161019f36600461198e565b6106d0565b3480156101b057600080fd5b506100fe610789565b3480156101c557600080fd5b506100fe6101d436600461195d565b6001600160a01b031660009081526034602052604090206001015490565b3480156101fe57600080fd5b5061013161020d366004611a4f565b610837565b34801561021e57600080fd5b5061023261022d366004611a89565b610a3b565b6040516101089190611b17565b34801561024b57600080fd5b5060005461025f906001600160a01b031681565b6040516001600160a01b039091168152602001610108565b34801561028357600080fd5b50610131610292366004611b2a565b610b64565b3480156102a357600080fd5b506101316102b236600461195d565b610b9e565b3480156102c357600080fd5b506100fe6102d236600461195d565b60336020526000908152604090205481565b3480156102f057600080fd5b5060015461025f906001600160a01b031681565b34801561031057600080fd5b5061032461031f366004611a89565b610cce565b604051610108929190611b6b565b60003361034181868686610ef6565b61035e5760405163582f497d60e11b815260040160405180910390fd5b6001600160a01b0381166000908152603360205260409020546103819086611b84565b6001600160a01b03821660009081526033602052604081208790559092506103aa908784610f81565b806001600160a01b0316600080516020611e0a833981519152836040516103d391815260200190565b60405180910390a250949350505050565b6000546001600160a01b031633146104175760405162461bcd60e51b815260040161040e90611ba5565b60405180910390fd5b81156104c8576001600160a01b0383161515806104315750805b6104755760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161040e565b600080546040516001600160a01b0380871693921691600080516020611dc383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000546001600160a01b031633146105135760405162461bcd60e51b815260040161040e90611ba5565b61051f6000338361104b565b603282905560405181815282907fc3cf50db282eb67e0c487a5fe4dbeb3a964478b2edd1615ef91160c7205ffccd9060200160405180910390a25050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105a55760405162461bcd60e51b815260040161040e90611bda565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105d76110b2565b6001600160a01b0316146105fd5760405162461bcd60e51b815260040161040e90611c14565b610606816110ce565b60408051600080825260208201909252610622918391906110f8565b50565b6001546001600160a01b03163381146106805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161040e565b600080546040516001600160a01b0380851693921691600080516020611dc383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107185760405162461bcd60e51b815260040161040e90611bda565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661074a6110b2565b6001600160a01b0316146107705760405162461bcd60e51b815260040161040e90611c14565b610779826110ce565b610785828260016110f8565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108245760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161040e565b50600080516020611da383398151915290565b6000546001600160a01b031633146108615760405162461bcd60e51b815260040161040e90611ba5565b6000368181818181610876602089018961195d565b61088360608a018a611c4e565b61089060408c018c611c4e565b61089d60208e018e611c4e565b959c50939a509198509650945092509050828581146108cf5760405163512509d360e11b815260040160405180910390fd5b6000805b8281101561098e578888828181106108ed576108ed611c97565b6001600160a01b038d16600090815260346020908152604080832091909302949094013593925090610921908f018f611c4e565b8581811061093157610931611c97565b9050602002016020810190610946919061195d565b6001600160a01b0316815260208101919091526040016000208054909101905588888281811061097857610978611c97565b60200291909101359290920191506001016108d3565b506001600160a01b03891660009081526034602052604090206001015481016109b98a828787610ef6565b6109d65760405163582f497d60e11b815260040160405180910390fd5b6001600160a01b038a1660008181526034602052604090819020600101839055517f4d490fc5b632b5a4319f50b51d1716cf9c227f26dfb9f1c3ea96a1d0707af18490610a269085815260200190565b60405180910390a25050505050505050505050565b606081806001600160401b03811115610a5657610a56611978565b604051908082528060200260200182016040528015610a7f578160200160208202803683370190505b50915060005b81811015610b5b576001600160a01b038616600090815260346020526040812090868684818110610ab857610ab8611c97565b9050602002016020810190610acd919061195d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054838281518110610b0057610b00611c97565b602002602001018181525050828181518110610b1e57610b1e611c97565b602002602001015160000315610b5357828181518110610b4057610b40611c97565b6020908102919091010180516000190190525b600101610a85565b50509392505050565b60005b818110156104e457610b96838383818110610b8457610b84611c97565b905060200281019061020d9190611cad565b600101610b67565b600154600160a81b900460ff1615808015610bc4575060018054600160a01b900460ff16105b80610beb5750610bd330611263565b158015610beb575060018054600160a01b900460ff16145b610c4e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161040e565b6001805460ff60a01b1916600160a01b1790558015610c7b576001805460ff60a81b1916600160a81b1790555b610c8482611272565b8015610785576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b600060603383806001600160401b03811115610cec57610cec611978565b604051908082528060200260200182016040528015610d15578160200160208202803683370190505b50925060005b81811015610e70576001600160a01b038316600090815260346020526040812090888884818110610d4e57610d4e611c97565b9050602002016020810190610d63919061195d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054848281518110610d9657610d96611c97565b602002602001018181525050838181518110610db457610db4611c97565b602002602001015160000315610e6857838181518110610dd657610dd6611c97565b6020026020010180518091906001900381525050838181518110610dfc57610dfc611c97565b6020908102919091018101516001600160a01b0385166000908152603490925260408220960195600191898985818110610e3857610e38611c97565b9050602002016020810190610e4d919061195d565b6001600160a01b031681526020810191909152604001600020555b600101610d1b565b506001600160a01b03821660009081526033602081815260408084208054890190819055603483529320600101549190521015610eaf57610eaf611ccd565b610ebb60008886610f81565b816001600160a01b0316600080516020611e0a83398151915285604051610ee491815260200190565b60405180910390a25050935093915050565b6040516001600160601b0319606086901b166020820152603481018490526000908190605401604051602081830303815290604052805190602001209050610f75848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506032549150849050611301565b9150505b949350505050565b80600003610f8e57505050565b6001600160a01b038316611037576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fe9576040519150601f19603f3d011682016040523d82523d6000602084013e610fee565b606091505b50509050806110315760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161040e565b50505050565b6104e46001600160a01b0384168383611317565b6001600160a01b038316611097578034146104e45760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161040e565b80156104e4576104e46001600160a01b03841683308461137a565b600080516020611da3833981519152546001600160a01b031690565b6000546001600160a01b031633146106225760405162461bcd60e51b815260040161040e90611ba5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561112b576104e4836113b2565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611185575060408051601f3d908101601f1916820190925261118291810190611ce3565b60015b6111e85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161040e565b600080516020611da383398151915281146112575760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161040e565b506104e483838361144c565b6001600160a01b03163b151590565b600154600160a81b900460ff166112df5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161040e565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008261130e8584611471565b14949350505050565b6040516001600160a01b0383166024820152604481018290526104e490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526114b6565b6040516001600160a01b03808516602483015283166044820152606481018290526110319085906323b872dd60e01b90608401611343565b6113bb81611263565b61141d5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161040e565b600080516020611da383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6114558361158b565b6000825111806114625750805b156104e45761103183836115cb565b600081815b84518110156114ac576114a28286838151811061149557611495611c97565b60200260200101516115f7565b9150600101611476565b5090505b92915050565b600061150b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116269092919063ffffffff16565b905080516000148061152c57508080602001905181019061152c9190611cfc565b6104e45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161040e565b611594816113b2565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606115f08383604051806060016040528060278152602001611de360279139611635565b9392505050565b60008183106116135760008281526020849052604090206115f0565b60008381526020839052604090206115f0565b6060610f7984846000856116ad565b6060600080856001600160a01b0316856040516116529190611d3d565b600060405180830381855af49150503d806000811461168d576040519150601f19603f3d011682016040523d82523d6000602084013e611692565b606091505b50915091506116a386838387611788565b9695505050505050565b60608247101561170e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161040e565b600080866001600160a01b0316858760405161172a9190611d3d565b60006040518083038185875af1925050503d8060008114611767576040519150601f19603f3d011682016040523d82523d6000602084013e61176c565b606091505b509150915061177d87838387611788565b979650505050505050565b606083156117f55782516000036117ee576117a285611263565b6117ee5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161040e565b5081610f79565b610f79838381511561180a5781518083602001fd5b8060405162461bcd60e51b815260040161040e9190611d4f565b80356001600160a01b038116811461183b57600080fd5b919050565b60008083601f84011261185257600080fd5b5081356001600160401b0381111561186957600080fd5b6020830191508360208260051b850101111561188457600080fd5b9250929050565b600080600080606085870312156118a157600080fd5b6118aa85611824565b93506020850135925060408501356001600160401b038111156118cc57600080fd5b6118d887828801611840565b95989497509550505050565b801515811461062257600080fd5b60008060006060848603121561190757600080fd5b61191084611824565b92506020840135611920816118e4565b91506040840135611930816118e4565b809150509250925092565b6000806040838503121561194e57600080fd5b50508035926020909101359150565b60006020828403121561196f57600080fd5b6115f082611824565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156119a157600080fd5b6119aa83611824565b915060208301356001600160401b03808211156119c657600080fd5b818501915085601f8301126119da57600080fd5b8135818111156119ec576119ec611978565b604051601f8201601f19908116603f01168101908382118183101715611a1457611a14611978565b81604052828152886020848701011115611a2d57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208284031215611a6157600080fd5b81356001600160401b03811115611a7757600080fd5b8201608081850312156115f057600080fd5b600080600060408486031215611a9e57600080fd5b611aa784611824565b925060208401356001600160401b03811115611ac257600080fd5b611ace86828701611840565b9497909650939450505050565b60008151808452602080850194506020840160005b83811015611b0c57815187529582019590820190600101611af0565b509495945050505050565b6020815260006115f06020830184611adb565b60008060208385031215611b3d57600080fd5b82356001600160401b03811115611b5357600080fd5b611b5f85828601611840565b90969095509350505050565b828152604060208201526000610f796040830184611adb565b818103818111156114b057634e487b7160e01b600052601160045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c90820152600080516020611d8383398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020611d8383398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6000808335601e19843603018112611c6557600080fd5b8301803591506001600160401b03821115611c7f57600080fd5b6020019150600581901b360382131561188457600080fd5b634e487b7160e01b600052603260045260246000fd5b60008235607e19833603018112611cc357600080fd5b9190910192915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215611cf557600080fd5b5051919050565b600060208284031215611d0e57600080fd5b81516115f0816118e4565b60005b83811015611d34578181015183820152602001611d1c565b50506000910152565b60008251611cc3818460208701611d19565b6020815260008251806020840152611d6e816040850160208701611d19565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564d8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426aa2646970667358221220e82114bdc35289357244680d6f3abbc45699aec7dabbd8ce9f34aa841c9c75d364736f6c63430008170033";
|
|
503
|
+
|
|
504
|
+
type PendleFeeDistributorV2ConstructorParams =
|
|
505
|
+
| [signer?: Signer]
|
|
506
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
507
|
+
|
|
508
|
+
const isSuperArgs = (
|
|
509
|
+
xs: PendleFeeDistributorV2ConstructorParams
|
|
510
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
511
|
+
|
|
512
|
+
export class PendleFeeDistributorV2__factory extends ContractFactory {
|
|
513
|
+
constructor(...args: PendleFeeDistributorV2ConstructorParams) {
|
|
514
|
+
if (isSuperArgs(args)) {
|
|
515
|
+
super(...args);
|
|
516
|
+
} else {
|
|
517
|
+
super(_abi, _bytecode, args[0]);
|
|
518
|
+
}
|
|
519
|
+
this.contractName = "PendleFeeDistributorV2";
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
deploy(
|
|
523
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
524
|
+
): Promise<PendleFeeDistributorV2> {
|
|
525
|
+
return super.deploy(overrides || {}) as Promise<PendleFeeDistributorV2>;
|
|
526
|
+
}
|
|
527
|
+
getDeployTransaction(
|
|
528
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
529
|
+
): TransactionRequest {
|
|
530
|
+
return super.getDeployTransaction(overrides || {});
|
|
531
|
+
}
|
|
532
|
+
attach(address: string): PendleFeeDistributorV2 {
|
|
533
|
+
return super.attach(address) as PendleFeeDistributorV2;
|
|
534
|
+
}
|
|
535
|
+
connect(signer: Signer): PendleFeeDistributorV2__factory {
|
|
536
|
+
return super.connect(signer) as PendleFeeDistributorV2__factory;
|
|
537
|
+
}
|
|
538
|
+
static readonly contractName: "PendleFeeDistributorV2";
|
|
539
|
+
public readonly contractName: "PendleFeeDistributorV2";
|
|
540
|
+
static readonly bytecode = _bytecode;
|
|
541
|
+
static readonly abi = _abi;
|
|
542
|
+
static createInterface(): PendleFeeDistributorV2Interface {
|
|
543
|
+
return new utils.Interface(_abi) as PendleFeeDistributorV2Interface;
|
|
544
|
+
}
|
|
545
|
+
static connect(
|
|
546
|
+
address: string,
|
|
547
|
+
signerOrProvider: Signer | Provider
|
|
548
|
+
): PendleFeeDistributorV2 {
|
|
549
|
+
return new Contract(
|
|
550
|
+
address,
|
|
551
|
+
_abi,
|
|
552
|
+
signerOrProvider
|
|
553
|
+
) as PendleFeeDistributorV2;
|
|
554
|
+
}
|
|
555
|
+
}
|