@pendle/core-v2 5.2.5-beta → 5.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.
Files changed (32) hide show
  1. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +394 -0
  3. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +370 -0
  5. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +246 -0
  7. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.json +24 -0
  9. package/contracts/core/erc20/PendleERC20Permit.sol +80 -0
  10. package/contracts/core/erc20/PendleERC20PermitUpg.sol +82 -0
  11. package/contracts/core/erc20/PendleERC20Upg.sol +334 -0
  12. package/contracts/interfaces/IPOracleForSy.sol +7 -0
  13. package/package.json +5 -1
  14. package/typechain-types/EIP712.ts +135 -0
  15. package/typechain-types/ERC20Permit.ts +586 -0
  16. package/typechain-types/IERC5267.ts +135 -0
  17. package/typechain-types/IPOracleForSy.ts +87 -0
  18. package/typechain-types/PendleERC20Permit.ts +508 -0
  19. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  20. package/typechain-types/PendleERC20Upg.ts +348 -0
  21. package/typechain-types/ShortStrings.ts +57 -0
  22. package/typechain-types/common.ts +44 -0
  23. package/typechain-types/factories/EIP712__factory.ts +85 -0
  24. package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
  25. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  26. package/typechain-types/factories/IPOracleForSy__factory.ts +36 -0
  27. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  28. package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
  29. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  30. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  31. package/typechain-types/hardhat.d.ts +1725 -0
  32. package/typechain-types/index.ts +380 -0
@@ -0,0 +1,370 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PendleERC20PermitUpg",
4
+ "sourceName": "contracts/core/erc20/PendleERC20PermitUpg.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [],
34
+ "name": "EIP712DomainChanged",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint8",
43
+ "name": "version",
44
+ "type": "uint8"
45
+ }
46
+ ],
47
+ "name": "Initialized",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "anonymous": false,
52
+ "inputs": [
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "from",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "indexed": true,
61
+ "internalType": "address",
62
+ "name": "to",
63
+ "type": "address"
64
+ },
65
+ {
66
+ "indexed": false,
67
+ "internalType": "uint256",
68
+ "name": "value",
69
+ "type": "uint256"
70
+ }
71
+ ],
72
+ "name": "Transfer",
73
+ "type": "event"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "DOMAIN_SEPARATOR",
78
+ "outputs": [
79
+ {
80
+ "internalType": "bytes32",
81
+ "name": "",
82
+ "type": "bytes32"
83
+ }
84
+ ],
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "owner",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "internalType": "address",
97
+ "name": "spender",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "allowance",
102
+ "outputs": [
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "stateMutability": "view",
110
+ "type": "function"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "spender",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "internalType": "uint256",
121
+ "name": "amount",
122
+ "type": "uint256"
123
+ }
124
+ ],
125
+ "name": "approve",
126
+ "outputs": [
127
+ {
128
+ "internalType": "bool",
129
+ "name": "",
130
+ "type": "bool"
131
+ }
132
+ ],
133
+ "stateMutability": "nonpayable",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "account",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "balanceOf",
145
+ "outputs": [
146
+ {
147
+ "internalType": "uint256",
148
+ "name": "",
149
+ "type": "uint256"
150
+ }
151
+ ],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "decimals",
158
+ "outputs": [
159
+ {
160
+ "internalType": "uint8",
161
+ "name": "",
162
+ "type": "uint8"
163
+ }
164
+ ],
165
+ "stateMutability": "view",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "eip712Domain",
171
+ "outputs": [
172
+ {
173
+ "internalType": "bytes1",
174
+ "name": "fields",
175
+ "type": "bytes1"
176
+ },
177
+ {
178
+ "internalType": "string",
179
+ "name": "name",
180
+ "type": "string"
181
+ },
182
+ {
183
+ "internalType": "string",
184
+ "name": "version",
185
+ "type": "string"
186
+ },
187
+ {
188
+ "internalType": "uint256",
189
+ "name": "chainId",
190
+ "type": "uint256"
191
+ },
192
+ {
193
+ "internalType": "address",
194
+ "name": "verifyingContract",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "internalType": "bytes32",
199
+ "name": "salt",
200
+ "type": "bytes32"
201
+ },
202
+ {
203
+ "internalType": "uint256[]",
204
+ "name": "extensions",
205
+ "type": "uint256[]"
206
+ }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [],
213
+ "name": "name",
214
+ "outputs": [
215
+ {
216
+ "internalType": "string",
217
+ "name": "",
218
+ "type": "string"
219
+ }
220
+ ],
221
+ "stateMutability": "view",
222
+ "type": "function"
223
+ },
224
+ {
225
+ "inputs": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "owner",
229
+ "type": "address"
230
+ }
231
+ ],
232
+ "name": "nonces",
233
+ "outputs": [
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "",
237
+ "type": "uint256"
238
+ }
239
+ ],
240
+ "stateMutability": "view",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "address",
247
+ "name": "owner",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "internalType": "address",
252
+ "name": "spender",
253
+ "type": "address"
254
+ },
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "value",
258
+ "type": "uint256"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "deadline",
263
+ "type": "uint256"
264
+ },
265
+ {
266
+ "internalType": "uint8",
267
+ "name": "v",
268
+ "type": "uint8"
269
+ },
270
+ {
271
+ "internalType": "bytes32",
272
+ "name": "r",
273
+ "type": "bytes32"
274
+ },
275
+ {
276
+ "internalType": "bytes32",
277
+ "name": "s",
278
+ "type": "bytes32"
279
+ }
280
+ ],
281
+ "name": "permit",
282
+ "outputs": [],
283
+ "stateMutability": "nonpayable",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "inputs": [],
288
+ "name": "symbol",
289
+ "outputs": [
290
+ {
291
+ "internalType": "string",
292
+ "name": "",
293
+ "type": "string"
294
+ }
295
+ ],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "totalSupply",
302
+ "outputs": [
303
+ {
304
+ "internalType": "uint256",
305
+ "name": "",
306
+ "type": "uint256"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ {
315
+ "internalType": "address",
316
+ "name": "to",
317
+ "type": "address"
318
+ },
319
+ {
320
+ "internalType": "uint256",
321
+ "name": "amount",
322
+ "type": "uint256"
323
+ }
324
+ ],
325
+ "name": "transfer",
326
+ "outputs": [
327
+ {
328
+ "internalType": "bool",
329
+ "name": "",
330
+ "type": "bool"
331
+ }
332
+ ],
333
+ "stateMutability": "nonpayable",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "from",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "internalType": "address",
345
+ "name": "to",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "internalType": "uint256",
350
+ "name": "amount",
351
+ "type": "uint256"
352
+ }
353
+ ],
354
+ "name": "transferFrom",
355
+ "outputs": [
356
+ {
357
+ "internalType": "bool",
358
+ "name": "",
359
+ "type": "bool"
360
+ }
361
+ ],
362
+ "stateMutability": "nonpayable",
363
+ "type": "function"
364
+ }
365
+ ],
366
+ "bytecode": "0x",
367
+ "deployedBytecode": "0x",
368
+ "linkReferences": {},
369
+ "deployedLinkReferences": {}
370
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/ad5d6923f5ec144a4673e793f8d5c856.json"
4
+ }
@@ -0,0 +1,246 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PendleERC20Upg",
4
+ "sourceName": "contracts/core/erc20/PendleERC20Upg.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": false,
36
+ "internalType": "uint8",
37
+ "name": "version",
38
+ "type": "uint8"
39
+ }
40
+ ],
41
+ "name": "Initialized",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": true,
49
+ "internalType": "address",
50
+ "name": "from",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "to",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "indexed": false,
61
+ "internalType": "uint256",
62
+ "name": "value",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "name": "Transfer",
67
+ "type": "event"
68
+ },
69
+ {
70
+ "inputs": [
71
+ {
72
+ "internalType": "address",
73
+ "name": "owner",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "internalType": "address",
78
+ "name": "spender",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "name": "allowance",
83
+ "outputs": [
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "stateMutability": "view",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "spender",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "amount",
103
+ "type": "uint256"
104
+ }
105
+ ],
106
+ "name": "approve",
107
+ "outputs": [
108
+ {
109
+ "internalType": "bool",
110
+ "name": "",
111
+ "type": "bool"
112
+ }
113
+ ],
114
+ "stateMutability": "nonpayable",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "address",
121
+ "name": "account",
122
+ "type": "address"
123
+ }
124
+ ],
125
+ "name": "balanceOf",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "",
130
+ "type": "uint256"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "decimals",
139
+ "outputs": [
140
+ {
141
+ "internalType": "uint8",
142
+ "name": "",
143
+ "type": "uint8"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "name",
152
+ "outputs": [
153
+ {
154
+ "internalType": "string",
155
+ "name": "",
156
+ "type": "string"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "symbol",
165
+ "outputs": [
166
+ {
167
+ "internalType": "string",
168
+ "name": "",
169
+ "type": "string"
170
+ }
171
+ ],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [],
177
+ "name": "totalSupply",
178
+ "outputs": [
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "stateMutability": "view",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "to",
193
+ "type": "address"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "amount",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "transfer",
202
+ "outputs": [
203
+ {
204
+ "internalType": "bool",
205
+ "name": "",
206
+ "type": "bool"
207
+ }
208
+ ],
209
+ "stateMutability": "nonpayable",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [
214
+ {
215
+ "internalType": "address",
216
+ "name": "from",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "address",
221
+ "name": "to",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "amount",
227
+ "type": "uint256"
228
+ }
229
+ ],
230
+ "name": "transferFrom",
231
+ "outputs": [
232
+ {
233
+ "internalType": "bool",
234
+ "name": "",
235
+ "type": "bool"
236
+ }
237
+ ],
238
+ "stateMutability": "nonpayable",
239
+ "type": "function"
240
+ }
241
+ ],
242
+ "bytecode": "0x",
243
+ "deployedBytecode": "0x",
244
+ "linkReferences": {},
245
+ "deployedLinkReferences": {}
246
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ad5d6923f5ec144a4673e793f8d5c856.json"
4
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPOracleForSy",
4
+ "sourceName": "contracts/interfaces/IPOracleForSy.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "latestAnswer",
9
+ "outputs": [
10
+ {
11
+ "internalType": "int256",
12
+ "name": "",
13
+ "type": "int256"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ }
19
+ ],
20
+ "bytecode": "0x",
21
+ "deployedBytecode": "0x",
22
+ "linkReferences": {},
23
+ "deployedLinkReferences": {}
24
+ }