@pendle/core-v2 0.17.1-daily → 0.17.3-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.
- 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/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.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/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- 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/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +2 -2
- package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +2 -2
- package/contracts/interfaces/IPMarket.sol +1 -0
- package/contracts/offchain-helpers/RouterStatic.sol +1 -1
- package/deployments/43113-core.json +11 -11
- package/deployments/43113-markets/USDC-FEB-2ND.json +4 -4
- package/deployments/43113-markets/WETH-FEB-2ND.json +5 -5
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ abstract contract PendleGaugeControllerBaseUpg is
|
|
|
44
44
|
uint128 incentiveEndsAt;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
uint128 internal constant WEEK = 1
|
|
47
|
+
uint128 internal constant WEEK = 1 weeks;
|
|
48
48
|
|
|
49
49
|
address public immutable pendle;
|
|
50
50
|
IPMarketFactory public immutable marketFactory;
|
|
@@ -49,7 +49,7 @@ abstract contract VotingControllerStorageUpg is IPVotingController {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
52
|
-
uint128 public constant WEEK = 1
|
|
52
|
+
uint128 public constant WEEK = 1 weeks;
|
|
53
53
|
uint128 public constant GOVERNANCE_PENDLE_VOTE = 10**24;
|
|
54
54
|
|
|
55
55
|
IPVeToken public immutable vePendle;
|
|
@@ -25,9 +25,9 @@ abstract contract VotingEscrowTokenBase is IPVeToken {
|
|
|
25
25
|
using VeBalanceLib for VeBalance;
|
|
26
26
|
using VeBalanceLib for LockedPosition;
|
|
27
27
|
|
|
28
|
-
uint128 public constant WEEK = 1
|
|
28
|
+
uint128 public constant WEEK = 1 weeks;
|
|
29
29
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
30
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
30
|
+
uint128 public constant MIN_LOCK_TIME = 1 weeks;
|
|
31
31
|
|
|
32
32
|
VeBalance internal _totalSupply;
|
|
33
33
|
|
|
@@ -191,7 +191,7 @@ contract PendleMarket is PendleERC20Permit, PendleGauge, IPMarket {
|
|
|
191
191
|
if (_selfBalance(PT) < market.totalPt.Uint())
|
|
192
192
|
revert Errors.MarketInsufficientPtReceived(_selfBalance(PT), market.totalPt.Uint());
|
|
193
193
|
|
|
194
|
-
emit Swap(receiver, exactPtIn.neg(), netSyOut.Int(), netSyFee, netSyToReserve);
|
|
194
|
+
emit Swap(msg.sender, receiver, exactPtIn.neg(), netSyOut.Int(), netSyFee, netSyToReserve);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/**
|
|
@@ -231,7 +231,7 @@ contract PendleMarket is PendleERC20Permit, PendleGauge, IPMarket {
|
|
|
231
231
|
if (_selfBalance(SY) < market.totalSy.Uint())
|
|
232
232
|
revert Errors.MarketInsufficientSyReceived(_selfBalance(SY), market.totalSy.Uint());
|
|
233
233
|
|
|
234
|
-
emit Swap(receiver, exactPtOut.Int(), netSyIn.neg(), netSyFee, netSyToReserve);
|
|
234
|
+
emit Swap(msg.sender, receiver, exactPtOut.Int(), netSyIn.neg(), netSyFee, netSyToReserve);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/// @notice forces balances to match reserves
|
|
@@ -23,7 +23,7 @@ contract RouterStatic is Initializable, BoringOwnableUpgradeable, UUPSUpgradeabl
|
|
|
23
23
|
using BulkSellerMathCore for BulkSellerState;
|
|
24
24
|
|
|
25
25
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
26
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
26
|
+
uint128 public constant MIN_LOCK_TIME = 1 weeks;
|
|
27
27
|
|
|
28
28
|
struct TokenAmount {
|
|
29
29
|
address token;
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"lzEndpoint": "0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706",
|
|
9
9
|
"wrappedNative": "0xe43a7aD7C09d8fAE3ADe7361f0b847b23adD5094"
|
|
10
10
|
},
|
|
11
|
-
"splitter": "
|
|
11
|
+
"splitter": "0x315A059EB986507A2a6085726643228401ea5e78",
|
|
12
12
|
"PENDLE": "0xB7609dec1C926204c3B67345cbCd54bc4aa7a940",
|
|
13
|
-
"yieldContractFactory": "
|
|
14
|
-
"marketFactory": "
|
|
15
|
-
"bulkSellerFactory": "
|
|
16
|
-
"bulkSellerOffchain": "
|
|
17
|
-
"router": "
|
|
18
|
-
"routerStatic": "
|
|
19
|
-
"vePendle": "
|
|
20
|
-
"senderEndpoint": "
|
|
21
|
-
"votingController": "
|
|
22
|
-
"gaugeController": "
|
|
13
|
+
"yieldContractFactory": "0xe189c0F1EABDD23AB7DcA0d7657FF60c8f137356",
|
|
14
|
+
"marketFactory": "0x24265d37C87d3ffE64D6B0274c168945d44D1ba2",
|
|
15
|
+
"bulkSellerFactory": "0x137404E334a80fa741AD03d8965ee4b5b8A20259",
|
|
16
|
+
"bulkSellerOffchain": "0x85C369B1aD9A981DCf4Fd8F00F74cB783cacec34",
|
|
17
|
+
"router": "0x17ae363f142517b593d9A71282BAb8CA6bb4eA51",
|
|
18
|
+
"routerStatic": "0x2F308CaE3A9e6018A571958656cC4Fd0B954144F",
|
|
19
|
+
"vePendle": "0xB20E3c268C993BC3c9Bc1C1cc5D7491F2268cD91",
|
|
20
|
+
"senderEndpoint": "0x86bD575c36e236386284C035ffeBE66CB6ecd2DD",
|
|
21
|
+
"votingController": "0x40ea97a7E9A4A0520229d1bbdf4D82E36b1a5475",
|
|
22
|
+
"gaugeController": "0x90Fa61ea34f61e31e9471CEB0ED22b12bBf4263E"
|
|
23
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "SY Benqi USDC",
|
|
3
|
-
"SY": "
|
|
4
|
-
"YT": "
|
|
5
|
-
"PT": "
|
|
6
|
-
"market": "
|
|
3
|
+
"SY": "0x0209b7e742ea0C0cD466eB7cdDA596d7a624387F",
|
|
4
|
+
"YT": "0x7cDE2A6E964Ef46CF88e73D0f4b9D99705638C5E",
|
|
5
|
+
"PT": "0xb7a1e3aFA053E2ff4B525900b3359749BeAb101F",
|
|
6
|
+
"market": "0x0e303BbD4F9F316c797AaEDc71ebE7342a5269C6",
|
|
7
7
|
"expiry": 1675382400,
|
|
8
8
|
"scalarRoot": "62000000000000000000",
|
|
9
9
|
"initAnchor": "1012600000000000000"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "SY Benqi WETH",
|
|
3
|
-
"SY": "
|
|
4
|
-
"YT": "
|
|
5
|
-
"PT": "
|
|
6
|
-
"market": "
|
|
3
|
+
"SY": "0x2E6cDFD2c1379270553EF1Ab8bbeDE0BCB9eF737",
|
|
4
|
+
"YT": "0xc0eD42Fa7521936f26DdCc226D2761fBb47000A4",
|
|
5
|
+
"PT": "0x4CFe3aB9cF4bDA9b668497E373baA00E875f722C",
|
|
6
|
+
"market": "0x671610F13e56bD530Dc2A3b9504eba2F402913d7",
|
|
7
7
|
"expiry": 1675382400,
|
|
8
|
-
"bulkSeller": "
|
|
8
|
+
"bulkSeller": "0x9118368BdbA84B86507AFb1D15c349099Cd41c9D",
|
|
9
9
|
"scalarRoot": "62000000000000000000",
|
|
10
10
|
"initAnchor": "1012600000000000000"
|
|
11
11
|
}
|
package/package.json
CHANGED