@pendle/core-v2 0.18.0-testnet → 0.19.0-testnet

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.
Files changed (174) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +560 -0
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  43. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  62. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  64. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  66. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  68. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  70. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +86 -5
  72. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +24 -32
  82. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  85. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  86. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  87. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  89. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
  91. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  93. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  95. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  97. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  99. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  101. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  103. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  105. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  106. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  107. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  108. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  109. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  110. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  111. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  112. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  113. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +1 -1
  114. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  115. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +214 -0
  116. package/contracts/core/libraries/ArrayLib.sol +9 -0
  117. package/contracts/core/libraries/Errors.sol +9 -2
  118. package/contracts/interfaces/IPFeeDistributor.sol +10 -10
  119. package/deployments/43113-core.json +9 -3
  120. package/package.json +1 -1
  121. package/typechain-types/IPFeeDistributor.ts +43 -78
  122. package/typechain-types/IPFeeDistributorFactory.ts +53 -139
  123. package/typechain-types/PendleFeeDistributor.ts +373 -118
  124. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  125. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  126. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  127. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  128. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  129. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  130. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  131. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  132. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  133. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  134. package/typechain-types/factories/Errors__factory.ts +85 -4
  135. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +25 -34
  136. package/typechain-types/factories/IPFeeDistributor__factory.ts +24 -32
  137. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  138. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  139. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  140. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  141. package/typechain-types/factories/PendleFeeDistributor__factory.ts +310 -67
  142. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  143. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  144. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  145. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  146. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  147. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  148. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  149. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  150. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  151. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  152. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  153. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  154. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  155. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  156. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  157. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  158. package/typechain-types/factories/SAPE__factory.ts +1 -1
  159. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  160. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  161. package/typechain-types/hardhat.d.ts +4 -76
  162. package/typechain-types/index.ts +2 -14
  163. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
  164. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +0 -131
  165. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  166. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -310
  167. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
  168. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +0 -389
  169. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +0 -4
  170. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json +0 -76
  171. package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +0 -159
  172. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +0 -99
  173. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +0 -70
  174. package/contracts/interfaces/IPFeeDistributorFactory.sol +0 -14
@@ -1,310 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PendleFeeDistributor",
4
- "sourceName": "contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "_pool",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "_rewardToken",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "uint256",
20
- "name": "_startEpoch",
21
- "type": "uint256"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
- {
28
- "inputs": [],
29
- "name": "FDCantFundFutureEpoch",
30
- "type": "error"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": true,
37
- "internalType": "address",
38
- "name": "user",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": true,
43
- "internalType": "address",
44
- "name": "rewardToken",
45
- "type": "address"
46
- },
47
- {
48
- "indexed": false,
49
- "internalType": "uint256",
50
- "name": "lastEpochClaimed",
51
- "type": "uint256"
52
- },
53
- {
54
- "indexed": false,
55
- "internalType": "uint256",
56
- "name": "totalReward",
57
- "type": "uint256"
58
- }
59
- ],
60
- "name": "ClaimReward",
61
- "type": "event"
62
- },
63
- {
64
- "anonymous": false,
65
- "inputs": [
66
- {
67
- "indexed": true,
68
- "internalType": "uint256",
69
- "name": "epoch",
70
- "type": "uint256"
71
- },
72
- {
73
- "indexed": false,
74
- "internalType": "uint256",
75
- "name": "incentive",
76
- "type": "uint256"
77
- }
78
- ],
79
- "name": "Fund",
80
- "type": "event"
81
- },
82
- {
83
- "anonymous": false,
84
- "inputs": [
85
- {
86
- "indexed": false,
87
- "internalType": "uint8",
88
- "name": "version",
89
- "type": "uint8"
90
- }
91
- ],
92
- "name": "Initialized",
93
- "type": "event"
94
- },
95
- {
96
- "anonymous": false,
97
- "inputs": [
98
- {
99
- "indexed": true,
100
- "internalType": "address",
101
- "name": "previousOwner",
102
- "type": "address"
103
- },
104
- {
105
- "indexed": true,
106
- "internalType": "address",
107
- "name": "newOwner",
108
- "type": "address"
109
- }
110
- ],
111
- "name": "OwnershipTransferred",
112
- "type": "event"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "claimOwnership",
117
- "outputs": [],
118
- "stateMutability": "nonpayable",
119
- "type": "function"
120
- },
121
- {
122
- "inputs": [
123
- {
124
- "internalType": "address",
125
- "name": "user",
126
- "type": "address"
127
- }
128
- ],
129
- "name": "claimReward",
130
- "outputs": [
131
- {
132
- "internalType": "uint256",
133
- "name": "amountRewardOut",
134
- "type": "uint256"
135
- }
136
- ],
137
- "stateMutability": "nonpayable",
138
- "type": "function"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "factory",
143
- "outputs": [
144
- {
145
- "internalType": "address",
146
- "name": "",
147
- "type": "address"
148
- }
149
- ],
150
- "stateMutability": "view",
151
- "type": "function"
152
- },
153
- {
154
- "inputs": [
155
- {
156
- "internalType": "uint256[]",
157
- "name": "rewardsForEpoch",
158
- "type": "uint256[]"
159
- }
160
- ],
161
- "name": "fund",
162
- "outputs": [],
163
- "stateMutability": "nonpayable",
164
- "type": "function"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "uint256",
170
- "name": "",
171
- "type": "uint256"
172
- }
173
- ],
174
- "name": "incentivesForEpoch",
175
- "outputs": [
176
- {
177
- "internalType": "uint256",
178
- "name": "",
179
- "type": "uint256"
180
- }
181
- ],
182
- "stateMutability": "view",
183
- "type": "function"
184
- },
185
- {
186
- "inputs": [],
187
- "name": "lastFinishedEpoch",
188
- "outputs": [
189
- {
190
- "internalType": "uint256",
191
- "name": "",
192
- "type": "uint256"
193
- }
194
- ],
195
- "stateMutability": "view",
196
- "type": "function"
197
- },
198
- {
199
- "inputs": [],
200
- "name": "owner",
201
- "outputs": [
202
- {
203
- "internalType": "address",
204
- "name": "",
205
- "type": "address"
206
- }
207
- ],
208
- "stateMutability": "view",
209
- "type": "function"
210
- },
211
- {
212
- "inputs": [],
213
- "name": "pendingOwner",
214
- "outputs": [
215
- {
216
- "internalType": "address",
217
- "name": "",
218
- "type": "address"
219
- }
220
- ],
221
- "stateMutability": "view",
222
- "type": "function"
223
- },
224
- {
225
- "inputs": [],
226
- "name": "pool",
227
- "outputs": [
228
- {
229
- "internalType": "address",
230
- "name": "",
231
- "type": "address"
232
- }
233
- ],
234
- "stateMutability": "view",
235
- "type": "function"
236
- },
237
- {
238
- "inputs": [],
239
- "name": "rewardToken",
240
- "outputs": [
241
- {
242
- "internalType": "address",
243
- "name": "",
244
- "type": "address"
245
- }
246
- ],
247
- "stateMutability": "view",
248
- "type": "function"
249
- },
250
- {
251
- "inputs": [],
252
- "name": "startEpoch",
253
- "outputs": [
254
- {
255
- "internalType": "uint256",
256
- "name": "",
257
- "type": "uint256"
258
- }
259
- ],
260
- "stateMutability": "view",
261
- "type": "function"
262
- },
263
- {
264
- "inputs": [
265
- {
266
- "internalType": "address",
267
- "name": "newOwner",
268
- "type": "address"
269
- },
270
- {
271
- "internalType": "bool",
272
- "name": "direct",
273
- "type": "bool"
274
- },
275
- {
276
- "internalType": "bool",
277
- "name": "renounce",
278
- "type": "bool"
279
- }
280
- ],
281
- "name": "transferOwnership",
282
- "outputs": [],
283
- "stateMutability": "nonpayable",
284
- "type": "function"
285
- },
286
- {
287
- "inputs": [
288
- {
289
- "internalType": "address",
290
- "name": "",
291
- "type": "address"
292
- }
293
- ],
294
- "name": "userLastClaimedEpoch",
295
- "outputs": [
296
- {
297
- "internalType": "uint256",
298
- "name": "",
299
- "type": "uint256"
300
- }
301
- ],
302
- "stateMutability": "view",
303
- "type": "function"
304
- }
305
- ],
306
- "bytecode": "0x6101006040523480156200001257600080fd5b50604051620011df380380620011df833981016040819052620000359162000255565b600154600160a81b900460ff16158080156200005c575060018054600160a01b900460ff16105b806200009257506200007930620001a660201b620008891760201c565b15801562000092575060018054600160a01b900460ff16145b620000fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000129576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380851660a05233608052831660c05260e0829052603282905562000154620001b5565b80156200019c576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505062000296565b6001600160a01b03163b151590565b600154600160a81b900460ff16620002245760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000f2565b600080546001600160a01b03191633179055565b80516001600160a01b03811681146200025057600080fd5b919050565b6000806000606084860312156200026b57600080fd5b620002768462000238565b9250620002866020850162000238565b9150604084015190509250925092565b60805160a05160c05160e051610ed8620003076000396000818161016e015261067301526000818161020b0152818161050b015281816107e5015261080e01526000818160ce015281816105af01526106fc01526000818161019e015281816105da01526106cc0152610ed86000f3fe608060405234801561001057600080fd5b50600436106100af5760003560e01c8063078dfbe7146100b457806316f0115b146100c95780634e71e0c81461010d57806383bbfde1146101155780638413bb89146101285780638da5cb5b14610156578063a2c8b17714610169578063b9a53a8414610190578063c45a015514610199578063d279c191146101c0578063da1b4364146101d3578063e30c3978146101f3578063f7c618c114610206575b600080fd5b6100c76100c2366004610b9a565b61022d565b005b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100c7610332565b6100c7610123366004610be3565b6103dd565b610148610136366004610c57565b60346020526000908152604090205481565b604051908152602001610104565b6000546100f0906001600160a01b031681565b6101487f000000000000000000000000000000000000000000000000000000000000000081565b61014860325481565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6101486101ce366004610c70565b610590565b6101486101e1366004610c70565b60336020526000908152604090205481565b6001546100f0906001600160a01b031681565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146102605760405162461bcd60e51b815260040161025790610c8b565b60405180910390fd5b8115610311576001600160a01b03831615158061027a5750805b6102be5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610257565b600080546040516001600160a01b0380871693921691600080516020610e8383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001546001600160a01b031633811461038d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610257565b600080546040516001600160a01b0380851693921691600080516020610e8383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000546001600160a01b031633146104075760405162461bcd60e51b815260040161025790610c8b565b6032546000805b838110156104c25761042362093a8084610cd6565b9250600085858381811061043957610439610ce9565b905060200201359050806034600086815260200190815260200160002060008282546104659190610cd6565b9091555061047590508184610cd6565b9250837fe10598fa0628b6878df33dddd270fc68abc6bc5b8b864e07ac2d9313cf31043e826040516104a991815260200190565b60405180910390a2506104bb81610cff565b905061040e565b506104cb610898565b6001600160801b03168211156104f45760405163f85a2fcf60e01b815260040160405180910390fd5b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd9061054490339030908690600401610d18565b6020604051808303816000875af1158015610563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105879190610d3c565b50506032555050565b6040516318d5b80d60e31b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063c6adc06890604401600060405180830381600087803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b50506032546001600160a01b0385166000908152603360205260409020549092509050818103610668575060009392505050565b8060000361069357507f00000000000000000000000000000000000000000000000000000000000000005b818110156107b7576106a862093a8082610cd6565b6000818152603460205260408120549192508190036106c75750610693565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c0aabb0d887f0000000000000000000000000000000000000000000000000000000000000000876040518463ffffffff1660e01b815260040161073a93929190610d18565b6040805180830381865afa158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190610d59565b915091508160000361078e57505050610693565b806107998484610d7d565b6107a39190610daa565b6107ad9087610cd6565b9550505050610693565b6001600160a01b0384166000908152603360205260409020829055821561080c5761080c6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001685856108a8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03167ffe7c5fc89da23a432c91f264decb100ab9d08ab7b14650c3cdb9b6b4f84a60e9848660405161087a929190918252602082015260400190565b60405180910390a35050919050565b6001600160a01b03163b151590565b60006108a3426108fa565b905090565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261032d90849061091a565b600062093a8061090a8184610dbe565b6109149190610de4565b92915050565b600061096f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166109ec9092919063ffffffff16565b80519091501561032d578080602001905181019061098d9190610d3c565b61032d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610257565b60606109fb8484600085610a05565b90505b9392505050565b606082471015610a665760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610257565b610a6f85610889565b610abb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610257565b600080866001600160a01b03168587604051610ad79190610e33565b60006040518083038185875af1925050503d8060008114610b14576040519150601f19603f3d011682016040523d82523d6000602084013e610b19565b606091505b5091509150610b29828286610b34565b979650505050505050565b60608315610b435750816109fe565b825115610b535782518084602001fd5b8160405162461bcd60e51b81526004016102579190610e4f565b80356001600160a01b0381168114610b8457600080fd5b919050565b8015158114610b9757600080fd5b50565b600080600060608486031215610baf57600080fd5b610bb884610b6d565b92506020840135610bc881610b89565b91506040840135610bd881610b89565b809150509250925092565b60008060208385031215610bf657600080fd5b82356001600160401b0380821115610c0d57600080fd5b818501915085601f830112610c2157600080fd5b813581811115610c3057600080fd5b8660208260051b8501011115610c4557600080fd5b60209290920196919550909350505050565b600060208284031215610c6957600080fd5b5035919050565b600060208284031215610c8257600080fd5b6109fe82610b6d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091457610914610cc0565b634e487b7160e01b600052603260045260246000fd5b600060018201610d1157610d11610cc0565b5060010190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060208284031215610d4e57600080fd5b81516109fe81610b89565b60008060408385031215610d6c57600080fd5b505080516020909101519092909150565b808202811582820484141761091457610914610cc0565b634e487b7160e01b600052601260045260246000fd5b600082610db957610db9610d94565b500490565b60006001600160801b0383811680610dd857610dd8610d94565b92169190910492915050565b6001600160801b03818116838216028082169190828114610e0757610e07610cc0565b505092915050565b60005b83811015610e2a578181015183820152602001610e12565b50506000910152565b60008251610e45818460208701610e0f565b9190910192915050565b6020815260008251806020840152610e6e816040850160208701610e0f565b601f01601f1916919091016040019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a264697066735822122042ceeff82bba62b01bbc928dca8490d49c766a07ae7b8f6496cc0162519e940564736f6c63430008110033",
307
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100af5760003560e01c8063078dfbe7146100b457806316f0115b146100c95780634e71e0c81461010d57806383bbfde1146101155780638413bb89146101285780638da5cb5b14610156578063a2c8b17714610169578063b9a53a8414610190578063c45a015514610199578063d279c191146101c0578063da1b4364146101d3578063e30c3978146101f3578063f7c618c114610206575b600080fd5b6100c76100c2366004610b9a565b61022d565b005b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100c7610332565b6100c7610123366004610be3565b6103dd565b610148610136366004610c57565b60346020526000908152604090205481565b604051908152602001610104565b6000546100f0906001600160a01b031681565b6101487f000000000000000000000000000000000000000000000000000000000000000081565b61014860325481565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6101486101ce366004610c70565b610590565b6101486101e1366004610c70565b60336020526000908152604090205481565b6001546100f0906001600160a01b031681565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146102605760405162461bcd60e51b815260040161025790610c8b565b60405180910390fd5b8115610311576001600160a01b03831615158061027a5750805b6102be5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610257565b600080546040516001600160a01b0380871693921691600080516020610e8383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001546001600160a01b031633811461038d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610257565b600080546040516001600160a01b0380851693921691600080516020610e8383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000546001600160a01b031633146104075760405162461bcd60e51b815260040161025790610c8b565b6032546000805b838110156104c25761042362093a8084610cd6565b9250600085858381811061043957610439610ce9565b905060200201359050806034600086815260200190815260200160002060008282546104659190610cd6565b9091555061047590508184610cd6565b9250837fe10598fa0628b6878df33dddd270fc68abc6bc5b8b864e07ac2d9313cf31043e826040516104a991815260200190565b60405180910390a2506104bb81610cff565b905061040e565b506104cb610898565b6001600160801b03168211156104f45760405163f85a2fcf60e01b815260040160405180910390fd5b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd9061054490339030908690600401610d18565b6020604051808303816000875af1158015610563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105879190610d3c565b50506032555050565b6040516318d5b80d60e31b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063c6adc06890604401600060405180830381600087803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b50506032546001600160a01b0385166000908152603360205260409020549092509050818103610668575060009392505050565b8060000361069357507f00000000000000000000000000000000000000000000000000000000000000005b818110156107b7576106a862093a8082610cd6565b6000818152603460205260408120549192508190036106c75750610693565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c0aabb0d887f0000000000000000000000000000000000000000000000000000000000000000876040518463ffffffff1660e01b815260040161073a93929190610d18565b6040805180830381865afa158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190610d59565b915091508160000361078e57505050610693565b806107998484610d7d565b6107a39190610daa565b6107ad9087610cd6565b9550505050610693565b6001600160a01b0384166000908152603360205260409020829055821561080c5761080c6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001685856108a8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03167ffe7c5fc89da23a432c91f264decb100ab9d08ab7b14650c3cdb9b6b4f84a60e9848660405161087a929190918252602082015260400190565b60405180910390a35050919050565b6001600160a01b03163b151590565b60006108a3426108fa565b905090565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261032d90849061091a565b600062093a8061090a8184610dbe565b6109149190610de4565b92915050565b600061096f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166109ec9092919063ffffffff16565b80519091501561032d578080602001905181019061098d9190610d3c565b61032d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610257565b60606109fb8484600085610a05565b90505b9392505050565b606082471015610a665760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610257565b610a6f85610889565b610abb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610257565b600080866001600160a01b03168587604051610ad79190610e33565b60006040518083038185875af1925050503d8060008114610b14576040519150601f19603f3d011682016040523d82523d6000602084013e610b19565b606091505b5091509150610b29828286610b34565b979650505050505050565b60608315610b435750816109fe565b825115610b535782518084602001fd5b8160405162461bcd60e51b81526004016102579190610e4f565b80356001600160a01b0381168114610b8457600080fd5b919050565b8015158114610b9757600080fd5b50565b600080600060608486031215610baf57600080fd5b610bb884610b6d565b92506020840135610bc881610b89565b91506040840135610bd881610b89565b809150509250925092565b60008060208385031215610bf657600080fd5b82356001600160401b0380821115610c0d57600080fd5b818501915085601f830112610c2157600080fd5b813581811115610c3057600080fd5b8660208260051b8501011115610c4557600080fd5b60209290920196919550909350505050565b600060208284031215610c6957600080fd5b5035919050565b600060208284031215610c8257600080fd5b6109fe82610b6d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091457610914610cc0565b634e487b7160e01b600052603260045260246000fd5b600060018201610d1157610d11610cc0565b5060010190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060208284031215610d4e57600080fd5b81516109fe81610b89565b60008060408385031215610d6c57600080fd5b505080516020909101519092909150565b808202811582820484141761091457610914610cc0565b634e487b7160e01b600052601260045260246000fd5b600082610db957610db9610d94565b500490565b60006001600160801b0383811680610dd857610dd8610d94565b92169190910492915050565b6001600160801b03818116838216028082169190828114610e0757610e07610cc0565b505092915050565b60005b83811015610e2a578181015183820152602001610e12565b50506000910152565b60008251610e45818460208701610e0f565b9190910192915050565b6020815260008251806020840152610e6e816040850160208701610e0f565b601f01601f1916919091016040019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a264697066735822122042ceeff82bba62b01bbc928dca8490d49c766a07ae7b8f6496cc0162519e940564736f6c63430008110033",
308
- "linkReferences": {},
309
- "deployedLinkReferences": {}
310
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/cfaee2011af0cd925c44a0b8d7310816.json"
4
- }