@pufferfinance/puffer-sdk 1.5.4 → 1.6.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.
- package/dist/api/puffer-client-helpers.d.ts +33 -0
- package/dist/api/puffer-client.d.ts +52 -0
- package/dist/chains/constants.d.ts +11 -0
- package/dist/contracts/abis/holesky/PufferDepositor.d.ts +283 -0
- package/dist/contracts/abis/holesky/PufferVaultV2.d.ts +1361 -0
- package/dist/contracts/abis/l1-reward-manager-abis.d.ts +527 -0
- package/dist/contracts/abis/l2-reward-manager-abis.d.ts +709 -0
- package/dist/contracts/abis/mainnet/ERC20Permit.d.ts +396 -0
- package/dist/contracts/abis/mainnet/L1RewardManager.d.ts +523 -0
- package/dist/contracts/abis/mainnet/L2RewardManager.d.ts +705 -0
- package/dist/contracts/abis/mainnet/PufLocker.d.ts +480 -0
- package/dist/contracts/abis/mainnet/PufToken.d.ts +676 -0
- package/dist/contracts/abis/mainnet/PufferDepositor.d.ts +283 -0
- package/dist/contracts/abis/mainnet/PufferL2Depositor.d.ts +373 -0
- package/dist/contracts/abis/mainnet/PufferVaultV2.d.ts +1421 -0
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.d.ts +510 -0
- package/dist/contracts/abis/puf-locker-abis.d.ts +484 -0
- package/dist/contracts/abis/puf-token-abis.d.ts +680 -0
- package/dist/contracts/abis/puffer-depositor-abis.d.ts +664 -0
- package/dist/contracts/abis/puffer-vault-abis.d.ts +2787 -0
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.d.ts +514 -0
- package/dist/contracts/abis/tokens-abis.d.ts +396 -0
- package/dist/contracts/addresses.cjs +1 -1
- package/dist/contracts/addresses.cjs.map +1 -1
- package/dist/contracts/addresses.d.ts +19 -0
- package/dist/contracts/addresses.js +10 -8
- package/dist/contracts/addresses.js.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +6580 -0
- package/dist/contracts/handlers/l1-reward-manager-handler.d.ts +6693 -0
- package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +6939 -0
- package/dist/contracts/handlers/puf-locker-handler.d.ts +6702 -0
- package/dist/contracts/handlers/puf-token-handler.d.ts +6920 -0
- package/dist/contracts/handlers/puffer-depositor-handler.d.ts +6462 -0
- package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +6555 -0
- package/dist/contracts/handlers/puffer-vault-handler.d.ts +9030 -0
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.d.ts +6697 -0
- package/dist/contracts/tokens.d.ts +52 -0
- package/dist/errors/base-error.d.ts +7 -0
- package/dist/errors/types.d.ts +4 -0
- package/dist/errors/validation-errors.d.ts +5 -0
- package/dist/main.d.ts +14 -0
- package/dist/utils/time.d.ts +1 -0
- package/dist/utils/types.d.ts +4 -0
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.d.ts +1 -0
- package/dist/utils/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
export declare const ERC20PERMIT_ABI: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "allowance";
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "owner";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "spender";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "";
|
|
25
|
+
readonly type: "uint256";
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
readonly name: "approve";
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly name: "spender";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "value";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly type: "bool";
|
|
44
|
+
readonly internalType: "bool";
|
|
45
|
+
}];
|
|
46
|
+
readonly stateMutability: "nonpayable";
|
|
47
|
+
}, {
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
readonly name: "balanceOf";
|
|
50
|
+
readonly inputs: readonly [{
|
|
51
|
+
readonly name: "account";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "uint256";
|
|
58
|
+
readonly internalType: "uint256";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "decimals";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly type: "uint8";
|
|
68
|
+
readonly internalType: "uint8";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly name: "eip712Domain";
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly name: "fields";
|
|
77
|
+
readonly type: "bytes1";
|
|
78
|
+
readonly internalType: "bytes1";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "name";
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly internalType: "string";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "version";
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
readonly internalType: "string";
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "chainId";
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "verifyingContract";
|
|
93
|
+
readonly type: "address";
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "salt";
|
|
97
|
+
readonly type: "bytes32";
|
|
98
|
+
readonly internalType: "bytes32";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "extensions";
|
|
101
|
+
readonly type: "uint256[]";
|
|
102
|
+
readonly internalType: "uint256[]";
|
|
103
|
+
}];
|
|
104
|
+
readonly stateMutability: "view";
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "function";
|
|
107
|
+
readonly name: "name";
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
readonly internalType: "string";
|
|
113
|
+
}];
|
|
114
|
+
readonly stateMutability: "view";
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly name: "nonces";
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly name: "owner";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
readonly internalType: "address";
|
|
122
|
+
}];
|
|
123
|
+
readonly outputs: readonly [{
|
|
124
|
+
readonly name: "";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
}];
|
|
128
|
+
readonly stateMutability: "view";
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
readonly name: "permit";
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly name: "owner";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
readonly internalType: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "spender";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly internalType: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "value";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "deadline";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
readonly internalType: "uint256";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "v";
|
|
150
|
+
readonly type: "uint8";
|
|
151
|
+
readonly internalType: "uint8";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "r";
|
|
154
|
+
readonly type: "bytes32";
|
|
155
|
+
readonly internalType: "bytes32";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "s";
|
|
158
|
+
readonly type: "bytes32";
|
|
159
|
+
readonly internalType: "bytes32";
|
|
160
|
+
}];
|
|
161
|
+
readonly outputs: readonly [];
|
|
162
|
+
readonly stateMutability: "nonpayable";
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
readonly name: "symbol";
|
|
166
|
+
readonly inputs: readonly [];
|
|
167
|
+
readonly outputs: readonly [{
|
|
168
|
+
readonly name: "";
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly internalType: "string";
|
|
171
|
+
}];
|
|
172
|
+
readonly stateMutability: "view";
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "function";
|
|
175
|
+
readonly name: "totalSupply";
|
|
176
|
+
readonly inputs: readonly [];
|
|
177
|
+
readonly outputs: readonly [{
|
|
178
|
+
readonly name: "";
|
|
179
|
+
readonly type: "uint256";
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
}];
|
|
182
|
+
readonly stateMutability: "view";
|
|
183
|
+
}, {
|
|
184
|
+
readonly type: "function";
|
|
185
|
+
readonly name: "transfer";
|
|
186
|
+
readonly inputs: readonly [{
|
|
187
|
+
readonly name: "to";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
readonly internalType: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "value";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
}];
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
197
|
+
readonly type: "bool";
|
|
198
|
+
readonly internalType: "bool";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "transferFrom";
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly name: "from";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
}, {
|
|
209
|
+
readonly name: "to";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "value";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly outputs: readonly [{
|
|
218
|
+
readonly name: "";
|
|
219
|
+
readonly type: "bool";
|
|
220
|
+
readonly internalType: "bool";
|
|
221
|
+
}];
|
|
222
|
+
readonly stateMutability: "nonpayable";
|
|
223
|
+
}, {
|
|
224
|
+
readonly type: "event";
|
|
225
|
+
readonly name: "Approval";
|
|
226
|
+
readonly inputs: readonly [{
|
|
227
|
+
readonly name: "owner";
|
|
228
|
+
readonly type: "address";
|
|
229
|
+
readonly indexed: true;
|
|
230
|
+
readonly internalType: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "spender";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly indexed: true;
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
}, {
|
|
237
|
+
readonly name: "value";
|
|
238
|
+
readonly type: "uint256";
|
|
239
|
+
readonly indexed: false;
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
}];
|
|
242
|
+
readonly anonymous: false;
|
|
243
|
+
}, {
|
|
244
|
+
readonly type: "event";
|
|
245
|
+
readonly name: "EIP712DomainChanged";
|
|
246
|
+
readonly inputs: readonly [];
|
|
247
|
+
readonly anonymous: false;
|
|
248
|
+
}, {
|
|
249
|
+
readonly type: "event";
|
|
250
|
+
readonly name: "Transfer";
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly name: "from";
|
|
253
|
+
readonly type: "address";
|
|
254
|
+
readonly indexed: true;
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "to";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
readonly indexed: true;
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "value";
|
|
263
|
+
readonly type: "uint256";
|
|
264
|
+
readonly indexed: false;
|
|
265
|
+
readonly internalType: "uint256";
|
|
266
|
+
}];
|
|
267
|
+
readonly anonymous: false;
|
|
268
|
+
}, {
|
|
269
|
+
readonly type: "error";
|
|
270
|
+
readonly name: "ECDSAInvalidSignature";
|
|
271
|
+
readonly inputs: readonly [];
|
|
272
|
+
}, {
|
|
273
|
+
readonly type: "error";
|
|
274
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
275
|
+
readonly inputs: readonly [{
|
|
276
|
+
readonly name: "length";
|
|
277
|
+
readonly type: "uint256";
|
|
278
|
+
readonly internalType: "uint256";
|
|
279
|
+
}];
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "error";
|
|
282
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly name: "s";
|
|
285
|
+
readonly type: "bytes32";
|
|
286
|
+
readonly internalType: "bytes32";
|
|
287
|
+
}];
|
|
288
|
+
}, {
|
|
289
|
+
readonly type: "error";
|
|
290
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
291
|
+
readonly inputs: readonly [{
|
|
292
|
+
readonly name: "spender";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
}, {
|
|
296
|
+
readonly name: "allowance";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "needed";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
}];
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "error";
|
|
306
|
+
readonly name: "ERC20InsufficientBalance";
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly name: "sender";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "balance";
|
|
313
|
+
readonly type: "uint256";
|
|
314
|
+
readonly internalType: "uint256";
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "needed";
|
|
317
|
+
readonly type: "uint256";
|
|
318
|
+
readonly internalType: "uint256";
|
|
319
|
+
}];
|
|
320
|
+
}, {
|
|
321
|
+
readonly type: "error";
|
|
322
|
+
readonly name: "ERC20InvalidApprover";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly name: "approver";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
}];
|
|
328
|
+
}, {
|
|
329
|
+
readonly type: "error";
|
|
330
|
+
readonly name: "ERC20InvalidReceiver";
|
|
331
|
+
readonly inputs: readonly [{
|
|
332
|
+
readonly name: "receiver";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
readonly internalType: "address";
|
|
335
|
+
}];
|
|
336
|
+
}, {
|
|
337
|
+
readonly type: "error";
|
|
338
|
+
readonly name: "ERC20InvalidSender";
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly name: "sender";
|
|
341
|
+
readonly type: "address";
|
|
342
|
+
readonly internalType: "address";
|
|
343
|
+
}];
|
|
344
|
+
}, {
|
|
345
|
+
readonly type: "error";
|
|
346
|
+
readonly name: "ERC20InvalidSpender";
|
|
347
|
+
readonly inputs: readonly [{
|
|
348
|
+
readonly name: "spender";
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
readonly internalType: "address";
|
|
351
|
+
}];
|
|
352
|
+
}, {
|
|
353
|
+
readonly type: "error";
|
|
354
|
+
readonly name: "ERC2612ExpiredSignature";
|
|
355
|
+
readonly inputs: readonly [{
|
|
356
|
+
readonly name: "deadline";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
}];
|
|
360
|
+
}, {
|
|
361
|
+
readonly type: "error";
|
|
362
|
+
readonly name: "ERC2612InvalidSigner";
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly name: "signer";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
readonly internalType: "address";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "owner";
|
|
369
|
+
readonly type: "address";
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
}];
|
|
372
|
+
}, {
|
|
373
|
+
readonly type: "error";
|
|
374
|
+
readonly name: "InvalidAccountNonce";
|
|
375
|
+
readonly inputs: readonly [{
|
|
376
|
+
readonly name: "account";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "currentNonce";
|
|
381
|
+
readonly type: "uint256";
|
|
382
|
+
readonly internalType: "uint256";
|
|
383
|
+
}];
|
|
384
|
+
}, {
|
|
385
|
+
readonly type: "error";
|
|
386
|
+
readonly name: "InvalidShortString";
|
|
387
|
+
readonly inputs: readonly [];
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "error";
|
|
390
|
+
readonly name: "StringTooLong";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly name: "str";
|
|
393
|
+
readonly type: "string";
|
|
394
|
+
readonly internalType: "string";
|
|
395
|
+
}];
|
|
396
|
+
}];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../constants-BvU-JhfL.cjs"),e={[a.Chain.Mainnet]:{PufferVault:"0xD9A442856C234a39a81a089C06451EBAa4306a72",PufferDepositor:"0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff",PufferL2Depositor:"0x3436E0B85cd929929F5802e792CFE282166E0259",PufLocker:"0x48e8dE138C246c14248C94d2D616a2F9eb4590D2",
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../constants-BvU-JhfL.cjs"),e={[a.Chain.Mainnet]:{PufferVault:"0xD9A442856C234a39a81a089C06451EBAa4306a72",PufferDepositor:"0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff",PufferL2Depositor:"0x3436E0B85cd929929F5802e792CFE282166E0259",PufLocker:"0x48e8dE138C246c14248C94d2D616a2F9eb4590D2",L1RewardManager:"0x157788cc028Ac6405bD406f2D1e0A8A22b3cf17b",L2RewardManager:"0x0000000000000000000000000000000000000000",PufferWithdrawalManager:"0x8a253974f1de9f64d79f1eaaf850faf406802fce"},[a.Chain.Holesky]:{PufferVault:"0x9196830bB4c05504E0A8475A0aD566AceEB6BeC9",PufferDepositor:"0x824AC05aeb86A0aD770b8acDe0906d2d4a6c4A8c",PufferL2Depositor:"0x0af6998e4828ad8ef8f79a9288d0a861890f791d",PufLocker:"0xa58983ad0899a452b7420bc57228e329d7ba92b6",L1RewardManager:"0x10f970bcb84B82B82a65eBCbF45F26dD26D69F12",L2RewardManager:"0x58C046794f69A8830b0BE737022a45b4acd01dE5",PufferWithdrawalManager:"0x5A3E1069B66800c0ecbc91bd81b1AE4D1804DBc4"},[a.Chain.Base]:{L2RewardManager:"0xF9Dd335bF363b2E4ecFe3c94A86EBD7Dd3Dcf0e7"}};exports.CONTRACT_ADDRESSES=e;
|
|
2
2
|
//# sourceMappingURL=addresses.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.cjs","sources":["../../lib/contracts/addresses.ts"],"sourcesContent":["import { Chain } from '../chains/constants';\n\n// Source of truth:\n// https://github.com/PufferFinance/Deployments-and-ACL/tree/main/docs/deployments\nexport const CONTRACT_ADDRESSES = {\n [Chain.Mainnet]: {\n PufferVault: '0xD9A442856C234a39a81a089C06451EBAa4306a72',\n PufferDepositor: '0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff',\n PufferL2Depositor: '0x3436E0B85cd929929F5802e792CFE282166E0259',\n PufLocker: '0x48e8dE138C246c14248C94d2D616a2F9eb4590D2',\n
|
|
1
|
+
{"version":3,"file":"addresses.cjs","sources":["../../lib/contracts/addresses.ts"],"sourcesContent":["import { Chain } from '../chains/constants';\n\n// Source of truth:\n// https://github.com/PufferFinance/Deployments-and-ACL/tree/main/docs/deployments\nexport const CONTRACT_ADDRESSES = {\n [Chain.Mainnet]: {\n PufferVault: '0xD9A442856C234a39a81a089C06451EBAa4306a72',\n PufferDepositor: '0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff',\n PufferL2Depositor: '0x3436E0B85cd929929F5802e792CFE282166E0259',\n PufLocker: '0x48e8dE138C246c14248C94d2D616a2F9eb4590D2',\n L1RewardManager: '0x157788cc028Ac6405bD406f2D1e0A8A22b3cf17b',\n // L2RewardManager is not deployed to mainnet but base.\n L2RewardManager: '0x0000000000000000000000000000000000000000',\n // Deployed on a fork\n // https://dashboard.tenderly.co/explorer/fork/f7fd7621-7280-47e5-8521-81b24142814f/transactions.\n PufferWithdrawalManager: '0x8a253974f1de9f64d79f1eaaf850faf406802fce',\n },\n [Chain.Holesky]: {\n PufferVault: '0x9196830bB4c05504E0A8475A0aD566AceEB6BeC9',\n PufferDepositor: '0x824AC05aeb86A0aD770b8acDe0906d2d4a6c4A8c',\n PufferL2Depositor: '0x0af6998e4828ad8ef8f79a9288d0a861890f791d',\n PufLocker: '0xa58983ad0899a452b7420bc57228e329d7ba92b6',\n L1RewardManager: '0x10f970bcb84B82B82a65eBCbF45F26dD26D69F12',\n L2RewardManager: '0x58C046794f69A8830b0BE737022a45b4acd01dE5',\n PufferWithdrawalManager: '0x5A3E1069B66800c0ecbc91bd81b1AE4D1804DBc4',\n },\n [Chain.Base]: {\n L2RewardManager: '0xF9Dd335bF363b2E4ecFe3c94A86EBD7Dd3Dcf0e7',\n },\n};\n"],"names":["CONTRACT_ADDRESSES","Chain"],"mappings":"6HAIaA,EAAqB,CAChC,CAACC,EAAAA,MAAM,OAAO,EAAG,CACf,YAAa,6CACb,gBAAiB,6CACjB,kBAAmB,6CACnB,UAAW,6CACX,gBAAiB,6CAEjB,gBAAiB,6CAGjB,wBAAyB,4CAC3B,EACA,CAACA,EAAAA,MAAM,OAAO,EAAG,CACf,YAAa,6CACb,gBAAiB,6CACjB,kBAAmB,6CACnB,UAAW,6CACX,gBAAiB,6CACjB,gBAAiB,6CACjB,wBAAyB,4CAC3B,EACA,CAACA,EAAAA,MAAM,IAAI,EAAG,CACZ,gBAAiB,4CACnB,CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const CONTRACT_ADDRESSES: {
|
|
2
|
+
[x: number]: {
|
|
3
|
+
PufferVault: string;
|
|
4
|
+
PufferDepositor: string;
|
|
5
|
+
PufferL2Depositor: string;
|
|
6
|
+
PufLocker: string;
|
|
7
|
+
L1RewardManager: string;
|
|
8
|
+
L2RewardManager: string;
|
|
9
|
+
PufferWithdrawalManager: string;
|
|
10
|
+
} | {
|
|
11
|
+
L2RewardManager: string;
|
|
12
|
+
PufferVault?: undefined;
|
|
13
|
+
PufferDepositor?: undefined;
|
|
14
|
+
PufferL2Depositor?: undefined;
|
|
15
|
+
PufLocker?: undefined;
|
|
16
|
+
L1RewardManager?: undefined;
|
|
17
|
+
PufferWithdrawalManager?: undefined;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -5,22 +5,24 @@ const f = {
|
|
|
5
5
|
PufferDepositor: "0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff",
|
|
6
6
|
PufferL2Depositor: "0x3436E0B85cd929929F5802e792CFE282166E0259",
|
|
7
7
|
PufLocker: "0x48e8dE138C246c14248C94d2D616a2F9eb4590D2",
|
|
8
|
-
|
|
9
|
-
L2RewardManager
|
|
10
|
-
|
|
8
|
+
L1RewardManager: "0x157788cc028Ac6405bD406f2D1e0A8A22b3cf17b",
|
|
9
|
+
// L2RewardManager is not deployed to mainnet but base.
|
|
10
|
+
L2RewardManager: "0x0000000000000000000000000000000000000000",
|
|
11
|
+
// Deployed on a fork
|
|
12
|
+
// https://dashboard.tenderly.co/explorer/fork/f7fd7621-7280-47e5-8521-81b24142814f/transactions.
|
|
13
|
+
PufferWithdrawalManager: "0x8a253974f1de9f64d79f1eaaf850faf406802fce"
|
|
11
14
|
},
|
|
12
15
|
[a.Holesky]: {
|
|
13
16
|
PufferVault: "0x9196830bB4c05504E0A8475A0aD566AceEB6BeC9",
|
|
14
17
|
PufferDepositor: "0x824AC05aeb86A0aD770b8acDe0906d2d4a6c4A8c",
|
|
15
18
|
PufferL2Depositor: "0x0af6998e4828ad8ef8f79a9288d0a861890f791d",
|
|
16
19
|
PufLocker: "0xa58983ad0899a452b7420bc57228e329d7ba92b6",
|
|
17
|
-
// These are deployed on a fork at the moment:
|
|
18
|
-
// https://rpc.tenderly.co/fork/f7fd7621-7280-47e5-8521-81b24142814f
|
|
19
20
|
L1RewardManager: "0x10f970bcb84B82B82a65eBCbF45F26dD26D69F12",
|
|
20
21
|
L2RewardManager: "0x58C046794f69A8830b0BE737022a45b4acd01dE5",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
PufferWithdrawalManager: "0x5A3E1069B66800c0ecbc91bd81b1AE4D1804DBc4"
|
|
23
|
+
},
|
|
24
|
+
[a.Base]: {
|
|
25
|
+
L2RewardManager: "0xF9Dd335bF363b2E4ecFe3c94A86EBD7Dd3Dcf0e7"
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
28
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.js","sources":["../../lib/contracts/addresses.ts"],"sourcesContent":["import { Chain } from '../chains/constants';\n\n// Source of truth:\n// https://github.com/PufferFinance/Deployments-and-ACL/tree/main/docs/deployments\nexport const CONTRACT_ADDRESSES = {\n [Chain.Mainnet]: {\n PufferVault: '0xD9A442856C234a39a81a089C06451EBAa4306a72',\n PufferDepositor: '0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff',\n PufferL2Depositor: '0x3436E0B85cd929929F5802e792CFE282166E0259',\n PufLocker: '0x48e8dE138C246c14248C94d2D616a2F9eb4590D2',\n
|
|
1
|
+
{"version":3,"file":"addresses.js","sources":["../../lib/contracts/addresses.ts"],"sourcesContent":["import { Chain } from '../chains/constants';\n\n// Source of truth:\n// https://github.com/PufferFinance/Deployments-and-ACL/tree/main/docs/deployments\nexport const CONTRACT_ADDRESSES = {\n [Chain.Mainnet]: {\n PufferVault: '0xD9A442856C234a39a81a089C06451EBAa4306a72',\n PufferDepositor: '0x4aa799c5dfc01ee7d790e3bf1a7c2257ce1dceff',\n PufferL2Depositor: '0x3436E0B85cd929929F5802e792CFE282166E0259',\n PufLocker: '0x48e8dE138C246c14248C94d2D616a2F9eb4590D2',\n L1RewardManager: '0x157788cc028Ac6405bD406f2D1e0A8A22b3cf17b',\n // L2RewardManager is not deployed to mainnet but base.\n L2RewardManager: '0x0000000000000000000000000000000000000000',\n // Deployed on a fork\n // https://dashboard.tenderly.co/explorer/fork/f7fd7621-7280-47e5-8521-81b24142814f/transactions.\n PufferWithdrawalManager: '0x8a253974f1de9f64d79f1eaaf850faf406802fce',\n },\n [Chain.Holesky]: {\n PufferVault: '0x9196830bB4c05504E0A8475A0aD566AceEB6BeC9',\n PufferDepositor: '0x824AC05aeb86A0aD770b8acDe0906d2d4a6c4A8c',\n PufferL2Depositor: '0x0af6998e4828ad8ef8f79a9288d0a861890f791d',\n PufLocker: '0xa58983ad0899a452b7420bc57228e329d7ba92b6',\n L1RewardManager: '0x10f970bcb84B82B82a65eBCbF45F26dD26D69F12',\n L2RewardManager: '0x58C046794f69A8830b0BE737022a45b4acd01dE5',\n PufferWithdrawalManager: '0x5A3E1069B66800c0ecbc91bd81b1AE4D1804DBc4',\n },\n [Chain.Base]: {\n L2RewardManager: '0xF9Dd335bF363b2E4ecFe3c94A86EBD7Dd3Dcf0e7',\n },\n};\n"],"names":["CONTRACT_ADDRESSES","Chain"],"mappings":";AAIO,MAAMA,IAAqB;AAAA,EAChC,CAACC,EAAM,OAAO,GAAG;AAAA,IACf,aAAa;AAAA,IACb,iBAAiB;AAAA,IACjB,mBAAmB;AAAA,IACnB,WAAW;AAAA,IACX,iBAAiB;AAAA;AAAA,IAEjB,iBAAiB;AAAA;AAAA;AAAA,IAGjB,yBAAyB;AAAA,EAC3B;AAAA,EACA,CAACA,EAAM,OAAO,GAAG;AAAA,IACf,aAAa;AAAA,IACb,iBAAiB;AAAA,IACjB,mBAAmB;AAAA,IACnB,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,yBAAyB;AAAA,EAC3B;AAAA,EACA,CAACA,EAAM,IAAI,GAAG;AAAA,IACZ,iBAAiB;AAAA,EACnB;AACF;"}
|