@pendle/core-v2 5.2.5-beta → 5.3.1

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 (43) 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/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +13 -0
  11. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  12. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +2 -2
  13. package/contracts/core/erc20/PendleERC20Permit.sol +80 -0
  14. package/contracts/core/erc20/PendleERC20PermitUpg.sol +82 -0
  15. package/contracts/core/erc20/PendleERC20Upg.sol +334 -0
  16. package/contracts/interfaces/IPOracleForSy.sol +7 -0
  17. package/contracts/interfaces/IPPausingInterface.sol +2 -0
  18. package/deployments/merkle-distribution/2024-10-31.json +23370 -0
  19. package/deployments/merkle-distribution/2024-11-28.json +24040 -0
  20. package/package.json +5 -1
  21. package/typechain-types/EIP712.ts +135 -0
  22. package/typechain-types/ERC20Permit.ts +586 -0
  23. package/typechain-types/IERC5267.ts +135 -0
  24. package/typechain-types/IPOracleForSy.ts +87 -0
  25. package/typechain-types/IPPausingInterface.ts +125 -0
  26. package/typechain-types/PendleERC20Permit.ts +508 -0
  27. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  28. package/typechain-types/PendleERC20Upg.ts +348 -0
  29. package/typechain-types/PendleGovernanceProxy.ts +603 -0
  30. package/typechain-types/ShortStrings.ts +57 -0
  31. package/typechain-types/common.ts +44 -0
  32. package/typechain-types/factories/EIP712__factory.ts +85 -0
  33. package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
  34. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  35. package/typechain-types/factories/IPOracleForSy__factory.ts +36 -0
  36. package/typechain-types/factories/IPPausingInterface__factory.ts +53 -0
  37. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  38. package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
  39. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  40. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
  41. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  42. package/typechain-types/hardhat.d.ts +1725 -0
  43. package/typechain-types/index.ts +380 -0
@@ -0,0 +1,261 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ PendleERC20Upg,
9
+ PendleERC20UpgInterface,
10
+ } from "../PendleERC20Upg";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: false,
43
+ internalType: "uint8",
44
+ name: "version",
45
+ type: "uint8",
46
+ },
47
+ ],
48
+ name: "Initialized",
49
+ type: "event",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ indexed: true,
56
+ internalType: "address",
57
+ name: "from",
58
+ type: "address",
59
+ },
60
+ {
61
+ indexed: true,
62
+ internalType: "address",
63
+ name: "to",
64
+ type: "address",
65
+ },
66
+ {
67
+ indexed: false,
68
+ internalType: "uint256",
69
+ name: "value",
70
+ type: "uint256",
71
+ },
72
+ ],
73
+ name: "Transfer",
74
+ type: "event",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "address",
80
+ name: "owner",
81
+ type: "address",
82
+ },
83
+ {
84
+ internalType: "address",
85
+ name: "spender",
86
+ type: "address",
87
+ },
88
+ ],
89
+ name: "allowance",
90
+ outputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ stateMutability: "view",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "spender",
105
+ type: "address",
106
+ },
107
+ {
108
+ internalType: "uint256",
109
+ name: "amount",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "approve",
114
+ outputs: [
115
+ {
116
+ internalType: "bool",
117
+ name: "",
118
+ type: "bool",
119
+ },
120
+ ],
121
+ stateMutability: "nonpayable",
122
+ type: "function",
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "address",
128
+ name: "account",
129
+ type: "address",
130
+ },
131
+ ],
132
+ name: "balanceOf",
133
+ outputs: [
134
+ {
135
+ internalType: "uint256",
136
+ name: "",
137
+ type: "uint256",
138
+ },
139
+ ],
140
+ stateMutability: "view",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [],
145
+ name: "decimals",
146
+ outputs: [
147
+ {
148
+ internalType: "uint8",
149
+ name: "",
150
+ type: "uint8",
151
+ },
152
+ ],
153
+ stateMutability: "view",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: "name",
159
+ outputs: [
160
+ {
161
+ internalType: "string",
162
+ name: "",
163
+ type: "string",
164
+ },
165
+ ],
166
+ stateMutability: "view",
167
+ type: "function",
168
+ },
169
+ {
170
+ inputs: [],
171
+ name: "symbol",
172
+ outputs: [
173
+ {
174
+ internalType: "string",
175
+ name: "",
176
+ type: "string",
177
+ },
178
+ ],
179
+ stateMutability: "view",
180
+ type: "function",
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "totalSupply",
185
+ outputs: [
186
+ {
187
+ internalType: "uint256",
188
+ name: "",
189
+ type: "uint256",
190
+ },
191
+ ],
192
+ stateMutability: "view",
193
+ type: "function",
194
+ },
195
+ {
196
+ inputs: [
197
+ {
198
+ internalType: "address",
199
+ name: "to",
200
+ type: "address",
201
+ },
202
+ {
203
+ internalType: "uint256",
204
+ name: "amount",
205
+ type: "uint256",
206
+ },
207
+ ],
208
+ name: "transfer",
209
+ outputs: [
210
+ {
211
+ internalType: "bool",
212
+ name: "",
213
+ type: "bool",
214
+ },
215
+ ],
216
+ stateMutability: "nonpayable",
217
+ type: "function",
218
+ },
219
+ {
220
+ inputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "from",
224
+ type: "address",
225
+ },
226
+ {
227
+ internalType: "address",
228
+ name: "to",
229
+ type: "address",
230
+ },
231
+ {
232
+ internalType: "uint256",
233
+ name: "amount",
234
+ type: "uint256",
235
+ },
236
+ ],
237
+ name: "transferFrom",
238
+ outputs: [
239
+ {
240
+ internalType: "bool",
241
+ name: "",
242
+ type: "bool",
243
+ },
244
+ ],
245
+ stateMutability: "nonpayable",
246
+ type: "function",
247
+ },
248
+ ];
249
+
250
+ export class PendleERC20Upg__factory {
251
+ static readonly abi = _abi;
252
+ static createInterface(): PendleERC20UpgInterface {
253
+ return new utils.Interface(_abi) as PendleERC20UpgInterface;
254
+ }
255
+ static connect(
256
+ address: string,
257
+ signerOrProvider: Signer | Provider
258
+ ): PendleERC20Upg {
259
+ return new Contract(address, _abi, signerOrProvider) as PendleERC20Upg;
260
+ }
261
+ }