@pendle/core-v2 3.0.0-beta-14 → 4.0.0
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.
|
@@ -31,15 +31,14 @@ abstract contract LimitRouterBase is
|
|
|
31
31
|
uint128 internal constant _ORDER_FILLED = 1;
|
|
32
32
|
|
|
33
33
|
address public feeRecipient;
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
// YT => lnFeeRateRoot // not to be accessed directly
|
|
36
|
+
mapping(address => uint256) internal __lnFeeRateRoot;
|
|
35
37
|
|
|
36
38
|
address private immutable WNATIVE;
|
|
37
39
|
|
|
38
40
|
mapping(bytes32 => OrderStatus) internal _status;
|
|
39
41
|
|
|
40
|
-
// YT => lnFeeRateRoot // not to be accessed directly
|
|
41
|
-
mapping(address => uint256) internal __lnFeeRateRoot;
|
|
42
|
-
|
|
43
42
|
uint256[100] private __gap;
|
|
44
43
|
|
|
45
44
|
constructor(address _WNATIVE) {
|
package/deployments/1-core.json
CHANGED
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"routerStatic": "0x263833d47eA3fA4a30f269323aba6a107f9eB14C",
|
|
27
27
|
"pendleSwap": "0x324D838b26Eb73786bDBBc53bb0682F1EBB50603",
|
|
28
28
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
29
|
-
"routerHelper2": "0x2ed3af0275a1fd0c53c39d70241a1c14e8ce37d3",
|
|
30
29
|
"ptOracle": "0xbbd487268A295531d299c125F3e5f749884A3e30",
|
|
31
30
|
"yieldContractFactoryV3": "0xdF3601014686674e53d1Fa52F7602525483F9122",
|
|
32
31
|
"marketFactoryV3": "0x1A6fCc85557BC4fB7B534ed835a03EF056552D52",
|
|
@@ -36,5 +35,7 @@
|
|
|
36
35
|
"votingController": "0x44087E105137a5095c008AaB6a6530182821F2F0",
|
|
37
36
|
"gaugeController": "0x47D74516B33eD5D70ddE7119A40839f6Fcc24e57",
|
|
38
37
|
"feeDistributor": "0xd7b34a6fDCb2A7ceD2115FF7f5fdD72aa6aA4dE2",
|
|
39
|
-
"feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9"
|
|
38
|
+
"feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9",
|
|
39
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
40
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
40
41
|
}
|
package/deployments/10-core.json
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"routerStatic": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
24
24
|
"pendleSwap": "0x85D0C209FC632e6908D78BE08646dE3e39A58453",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
|
-
"routerHelper2": "0x25e5e9E134ddAf1D378fcB0Ec8dbd3F148cb55FD",
|
|
27
26
|
"ptOracle": "0x0b692f06CA82e3075dC537224450885Fd138e655",
|
|
28
27
|
"externalRewardDistributor": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D",
|
|
29
28
|
"yieldContractFactoryV3": "0xfa6B22FC4c3Ad88B68c16b3061a16b1714F6Bd57",
|
|
@@ -31,5 +30,7 @@
|
|
|
31
30
|
"liquiditySeedingHelper": "0xFc7A495389cD3454f5cC0Ecaa55D30E343A1Fc16",
|
|
32
31
|
"receiverEndpoint": "0xED18de5442297a4Ec1ce59C7c7d9427Adc2A012b",
|
|
33
32
|
"vePendle": "0xd5C47D2383Fddc19596489280C0A33AC42b2bB18",
|
|
34
|
-
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C"
|
|
33
|
+
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C",
|
|
34
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
35
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
35
36
|
}
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
|
|
24
24
|
"pendleSwap": "0x8e09Aa43885d99701AB047dA2aC98aECC13807B0",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
|
-
"routerHelper2": "0x64e50365eb97a199d71b15e32761c4b9147cd0f0",
|
|
27
26
|
"ptOracle": "0x7e16e4253CE4a1C96422a9567B23b4b5Ebc207F1",
|
|
28
27
|
"yieldContractFactoryV3": "0xEb38531db128EcA928aea1B1CE9E5609B15ba146",
|
|
29
28
|
"marketFactoryV3": "0x2FCb47B58350cD377f94d3821e7373Df60bD9Ced",
|
|
@@ -31,9 +30,9 @@
|
|
|
31
30
|
"receiverEndpoint": "0xC9215ae9EC67385F38C755D862C8eE3702B5793A",
|
|
32
31
|
"vePendle": "0x3209E9412cca80B18338f2a56ADA59c484c39644",
|
|
33
32
|
"gaugeController": "0x1e56299ebc8a1010cec26005d12e3e5c5cc2db00",
|
|
34
|
-
"limitRouter": "0xF5d582f126Ca43E0247Ce5260c2b545260e09b70",
|
|
35
|
-
"proxyAdmin": "0xb699508D2384039e06f5535Ec8a48e7829ca7724",
|
|
36
33
|
"arbMerkleDistribution": "0x23a102e78D1FF1645a3666691495174764a5FCAF",
|
|
37
34
|
"linearDistributor": "0x83d85AEDD308261d847C3eb8d7146457bD8F38E8",
|
|
38
|
-
"limitBackendHelper": "0xa3b3442D8f9ceb45D87b5f32115d94e9b7FcB114"
|
|
35
|
+
"limitBackendHelper": "0xa3b3442D8f9ceb45D87b5f32115d94e9b7FcB114",
|
|
36
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
37
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
39
38
|
}
|
package/deployments/56-core.json
CHANGED
|
@@ -23,12 +23,13 @@
|
|
|
23
23
|
"routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
|
|
24
24
|
"pendleSwap": "0xD85d2F484DF4329746325e7398f3fC3E1915a173",
|
|
25
25
|
"routerHelper": "0x09D65812dCD0f276e052583d41885cA5C7Dd0086",
|
|
26
|
-
"routerHelper2": "0x46aCbe071f580bfC09C6F48326f01148991DB107",
|
|
27
26
|
"ptOracle": "0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD",
|
|
28
27
|
"yieldContractFactoryV3": "0x40Ae6da2d92aa3DCb7f8d7a7209FD12BDfcb7C85",
|
|
29
28
|
"marketFactoryV3": "0xC40fEbF5A33b8C92B187d9be0fD3fe0ac2E4B07c",
|
|
30
29
|
"liquiditySeedingHelper": "0x203D3A2Fd52973A34bAb6fC50E3B69863bdb769C",
|
|
31
30
|
"receiverEndpoint": "0x998CF52b2585e05494BF9F2bF502351a9C7FdA8f",
|
|
32
31
|
"vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
|
|
33
|
-
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0"
|
|
32
|
+
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
33
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
34
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
34
35
|
}
|