@pendle/core-v2 4.2.7 → 4.3.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.
- package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPPtOracle.sol/IPPtOracle.json → IPPtLpOracle.sol/IPPtLpOracle.json} +75 -3
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +96 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +98 -2
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +2 -2
- package/contracts/interfaces/{IPPtOracle.sol → IPPtLpOracle.sol} +8 -2
- package/contracts/limit/LimitRouterBase.sol +26 -9
- package/contracts/oracles/PendlePtLpOracle.sol +4 -2
- package/contracts/oracles/samples/BoringLpGlpOracle.sol +2 -2
- package/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol +3 -3
- package/deployments/1-markets/APXETH-MAR2025.json +13 -0
- package/package.json +1 -1
- package/typechain-types/IPPtLpOracle.ts +301 -0
- package/typechain-types/LimitRouterBase.ts +36 -0
- package/typechain-types/PendleLimitRouter.ts +36 -0
- package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPtUsdChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/IPPtLpOracle__factory.ts +166 -0
- package/typechain-types/factories/LimitRouterBase__factory.ts +96 -0
- package/typechain-types/factories/PendleLimitRouter__factory.ts +97 -1
- package/typechain-types/factories/PendlePtLpOracle__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +4 -4
- package/typechain-types/index.ts +2 -2
- package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "
|
|
4
|
-
"sourceName": "contracts/interfaces/
|
|
3
|
+
"contractName": "IPPtLpOracle",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPPtLpOracle.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"anonymous": false,
|
|
@@ -16,6 +16,54 @@
|
|
|
16
16
|
"name": "SetBlockCycleNumerator",
|
|
17
17
|
"type": "event"
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "market",
|
|
24
|
+
"type": "address"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "uint32",
|
|
28
|
+
"name": "duration",
|
|
29
|
+
"type": "uint32"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"name": "getLpToAssetRate",
|
|
33
|
+
"outputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "uint256",
|
|
36
|
+
"name": "",
|
|
37
|
+
"type": "uint256"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"stateMutability": "view",
|
|
41
|
+
"type": "function"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "address",
|
|
47
|
+
"name": "market",
|
|
48
|
+
"type": "address"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"internalType": "uint32",
|
|
52
|
+
"name": "duration",
|
|
53
|
+
"type": "uint32"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"name": "getLpToSyRate",
|
|
57
|
+
"outputs": [
|
|
58
|
+
{
|
|
59
|
+
"internalType": "uint256",
|
|
60
|
+
"name": "",
|
|
61
|
+
"type": "uint256"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"stateMutability": "view",
|
|
65
|
+
"type": "function"
|
|
66
|
+
},
|
|
19
67
|
{
|
|
20
68
|
"inputs": [
|
|
21
69
|
{
|
|
@@ -67,7 +115,31 @@
|
|
|
67
115
|
"outputs": [
|
|
68
116
|
{
|
|
69
117
|
"internalType": "uint256",
|
|
70
|
-
"name": "
|
|
118
|
+
"name": "",
|
|
119
|
+
"type": "uint256"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"stateMutability": "view",
|
|
123
|
+
"type": "function"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"inputs": [
|
|
127
|
+
{
|
|
128
|
+
"internalType": "address",
|
|
129
|
+
"name": "market",
|
|
130
|
+
"type": "address"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"internalType": "uint32",
|
|
134
|
+
"name": "duration",
|
|
135
|
+
"type": "uint32"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "getPtToSyRate",
|
|
139
|
+
"outputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "",
|
|
71
143
|
"type": "uint256"
|
|
72
144
|
}
|
|
73
145
|
],
|
|
@@ -220,6 +220,102 @@
|
|
|
220
220
|
"stateMutability": "view",
|
|
221
221
|
"type": "function"
|
|
222
222
|
},
|
|
223
|
+
{
|
|
224
|
+
"inputs": [
|
|
225
|
+
{
|
|
226
|
+
"components": [
|
|
227
|
+
{
|
|
228
|
+
"internalType": "uint256",
|
|
229
|
+
"name": "salt",
|
|
230
|
+
"type": "uint256"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"internalType": "uint256",
|
|
234
|
+
"name": "expiry",
|
|
235
|
+
"type": "uint256"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"internalType": "uint256",
|
|
239
|
+
"name": "nonce",
|
|
240
|
+
"type": "uint256"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
244
|
+
"name": "orderType",
|
|
245
|
+
"type": "uint8"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"internalType": "address",
|
|
249
|
+
"name": "token",
|
|
250
|
+
"type": "address"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"internalType": "address",
|
|
254
|
+
"name": "YT",
|
|
255
|
+
"type": "address"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"internalType": "address",
|
|
259
|
+
"name": "maker",
|
|
260
|
+
"type": "address"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "address",
|
|
264
|
+
"name": "receiver",
|
|
265
|
+
"type": "address"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"internalType": "uint256",
|
|
269
|
+
"name": "makingAmount",
|
|
270
|
+
"type": "uint256"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"internalType": "uint256",
|
|
274
|
+
"name": "lnImpliedRate",
|
|
275
|
+
"type": "uint256"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"internalType": "uint256",
|
|
279
|
+
"name": "failSafeRate",
|
|
280
|
+
"type": "uint256"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"internalType": "bytes",
|
|
284
|
+
"name": "permit",
|
|
285
|
+
"type": "bytes"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"internalType": "struct Order",
|
|
289
|
+
"name": "order",
|
|
290
|
+
"type": "tuple"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"internalType": "bytes",
|
|
294
|
+
"name": "signature",
|
|
295
|
+
"type": "bytes"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"name": "_checkSig",
|
|
299
|
+
"outputs": [
|
|
300
|
+
{
|
|
301
|
+
"internalType": "bytes32",
|
|
302
|
+
"name": "",
|
|
303
|
+
"type": "bytes32"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"internalType": "uint256",
|
|
307
|
+
"name": "",
|
|
308
|
+
"type": "uint256"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"internalType": "uint256",
|
|
312
|
+
"name": "",
|
|
313
|
+
"type": "uint256"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"stateMutability": "view",
|
|
317
|
+
"type": "function"
|
|
318
|
+
},
|
|
223
319
|
{
|
|
224
320
|
"inputs": [
|
|
225
321
|
{
|