@pufferfinance/puffer-sdk 1.25.3 → 1.26.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/dist/api/puffer-client.cjs +1 -1
- package/dist/api/puffer-client.cjs.map +1 -1
- package/dist/api/puffer-client.d.ts +3 -0
- package/dist/api/puffer-client.js +28 -21
- package/dist/api/puffer-client.js.map +1 -1
- package/dist/contracts/abis/mainnet/vlPUFFER.cjs +2 -0
- package/dist/contracts/abis/mainnet/vlPUFFER.cjs.map +1 -0
- package/dist/contracts/abis/mainnet/vlPUFFER.d.ts +437 -0
- package/dist/contracts/abis/mainnet/vlPUFFER.js +269 -0
- package/dist/contracts/abis/mainnet/vlPUFFER.js.map +1 -0
- package/dist/contracts/common/lib/types.cjs +2 -0
- package/dist/contracts/common/lib/types.cjs.map +1 -0
- package/dist/contracts/common/lib/types.d.ts +8 -0
- package/dist/contracts/common/lib/types.js +2 -0
- package/dist/contracts/common/lib/types.js.map +1 -0
- package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +10 -0
- package/dist/contracts/handlers/erc20-permit-handler.js +56 -40
- package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
- package/dist/contracts/handlers/lagoon-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/lagoon-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/lagoon-vault-handler.d.ts +51 -0
- package/dist/contracts/handlers/lagoon-vault-handler.js +87 -6
- package/dist/contracts/handlers/lagoon-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.d.ts +2 -6
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js +17 -17
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.d.ts +2 -6
- package/dist/contracts/handlers/nucleus-teller-handler.js +11 -20
- package/dist/contracts/handlers/nucleus-teller-handler.js.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.js +31 -40
- package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.js +26 -38
- package/dist/contracts/handlers/puffer-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js +28 -37
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-protocol-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-protocol-handler.d.ts +49 -55
- package/dist/contracts/handlers/puffer-protocol-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +21 -27
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js.map +1 -1
- package/dist/contracts/handlers/validator-ticket-handler.cjs.map +1 -1
- package/dist/contracts/handlers/validator-ticket-handler.d.ts +1 -7
- package/dist/contracts/handlers/validator-ticket-handler.js.map +1 -1
- package/dist/contracts/handlers/vl-puffer-handler.cjs +2 -0
- package/dist/contracts/handlers/vl-puffer-handler.cjs.map +1 -0
- package/dist/contracts/handlers/vl-puffer-handler.d.ts +14802 -0
- package/dist/contracts/handlers/vl-puffer-handler.js +357 -0
- package/dist/contracts/handlers/vl-puffer-handler.js.map +1 -0
- package/dist/contracts/tokens.cjs +1 -1
- package/dist/contracts/tokens.cjs.map +1 -1
- package/dist/contracts/tokens.d.ts +2 -1
- package/dist/contracts/tokens.js +8 -3
- package/dist/contracts/tokens.js.map +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
export declare const vlPUFFER: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "PUFFER";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly outputs: readonly [{
|
|
7
|
+
readonly type: "address";
|
|
8
|
+
readonly name: "";
|
|
9
|
+
readonly simpleType: "address";
|
|
10
|
+
}];
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "decimals";
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly type: "uint8";
|
|
18
|
+
readonly name: "";
|
|
19
|
+
readonly simpleType: "uint";
|
|
20
|
+
}];
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
readonly name: "delegates";
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
readonly name: "account";
|
|
28
|
+
readonly simpleType: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly outputs: readonly [{
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
readonly name: "";
|
|
33
|
+
readonly simpleType: "address";
|
|
34
|
+
}];
|
|
35
|
+
}, {
|
|
36
|
+
readonly type: "function";
|
|
37
|
+
readonly name: "owner";
|
|
38
|
+
readonly stateMutability: "view";
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly outputs: readonly [{
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly simpleType: "address";
|
|
44
|
+
}];
|
|
45
|
+
}, {
|
|
46
|
+
readonly type: "function";
|
|
47
|
+
readonly name: "allowance";
|
|
48
|
+
readonly stateMutability: "view";
|
|
49
|
+
readonly inputs: readonly [{
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
readonly name: "owner";
|
|
52
|
+
readonly simpleType: "address";
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
readonly name: "spender";
|
|
56
|
+
readonly simpleType: "address";
|
|
57
|
+
}];
|
|
58
|
+
readonly outputs: readonly [{
|
|
59
|
+
readonly type: "uint256";
|
|
60
|
+
readonly name: "";
|
|
61
|
+
readonly simpleType: "uint";
|
|
62
|
+
}];
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "transferFrom";
|
|
66
|
+
readonly stateMutability: "nonpayable";
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
readonly name: "from";
|
|
70
|
+
readonly simpleType: "address";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
readonly name: "to";
|
|
74
|
+
readonly simpleType: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
readonly name: "value";
|
|
78
|
+
readonly simpleType: "uint";
|
|
79
|
+
}];
|
|
80
|
+
readonly outputs: readonly [{
|
|
81
|
+
readonly type: "bool";
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly simpleType: "bool";
|
|
84
|
+
}];
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "totalSupply";
|
|
88
|
+
readonly stateMutability: "view";
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly outputs: readonly [{
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
readonly name: "";
|
|
93
|
+
readonly simpleType: "uint";
|
|
94
|
+
}];
|
|
95
|
+
}, {
|
|
96
|
+
readonly type: "function";
|
|
97
|
+
readonly name: "createLock";
|
|
98
|
+
readonly stateMutability: "nonpayable";
|
|
99
|
+
readonly inputs: readonly [{
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
readonly name: "amount";
|
|
102
|
+
readonly simpleType: "uint";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
readonly name: "multiplier";
|
|
106
|
+
readonly simpleType: "uint";
|
|
107
|
+
}];
|
|
108
|
+
readonly outputs: readonly [];
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "symbol";
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
readonly inputs: readonly [];
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly name: "";
|
|
117
|
+
readonly simpleType: "string";
|
|
118
|
+
}];
|
|
119
|
+
}, {
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
readonly name: "paused";
|
|
122
|
+
readonly stateMutability: "view";
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly type: "bool";
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly simpleType: "bool";
|
|
128
|
+
}];
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
readonly name: "lockInfos";
|
|
132
|
+
readonly stateMutability: "view";
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
readonly name: "user";
|
|
136
|
+
readonly simpleType: "address";
|
|
137
|
+
}];
|
|
138
|
+
readonly outputs: readonly [{
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
readonly name: "pufferAmount";
|
|
141
|
+
readonly simpleType: "uint";
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "uint256";
|
|
144
|
+
readonly name: "unlockTime";
|
|
145
|
+
readonly simpleType: "uint";
|
|
146
|
+
}];
|
|
147
|
+
}, {
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
readonly name: "getPastTotalSupply";
|
|
150
|
+
readonly stateMutability: "view";
|
|
151
|
+
readonly inputs: readonly [{
|
|
152
|
+
readonly type: "uint256";
|
|
153
|
+
readonly name: "timepoint";
|
|
154
|
+
readonly simpleType: "uint";
|
|
155
|
+
}];
|
|
156
|
+
readonly outputs: readonly [{
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
readonly name: "";
|
|
159
|
+
readonly simpleType: "uint";
|
|
160
|
+
}];
|
|
161
|
+
}, {
|
|
162
|
+
readonly type: "function";
|
|
163
|
+
readonly name: "balanceOf";
|
|
164
|
+
readonly stateMutability: "view";
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
readonly name: "account";
|
|
168
|
+
readonly simpleType: "address";
|
|
169
|
+
}];
|
|
170
|
+
readonly outputs: readonly [{
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly simpleType: "uint";
|
|
174
|
+
}];
|
|
175
|
+
}, {
|
|
176
|
+
readonly type: "function";
|
|
177
|
+
readonly name: "nonces";
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
readonly name: "owner";
|
|
182
|
+
readonly simpleType: "address";
|
|
183
|
+
}];
|
|
184
|
+
readonly outputs: readonly [{
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
readonly name: "";
|
|
187
|
+
readonly simpleType: "uint";
|
|
188
|
+
}];
|
|
189
|
+
}, {
|
|
190
|
+
readonly type: "function";
|
|
191
|
+
readonly name: "getVotes";
|
|
192
|
+
readonly stateMutability: "view";
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
readonly name: "account";
|
|
196
|
+
readonly simpleType: "address";
|
|
197
|
+
}];
|
|
198
|
+
readonly outputs: readonly [{
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
readonly name: "";
|
|
201
|
+
readonly simpleType: "uint";
|
|
202
|
+
}];
|
|
203
|
+
}, {
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
readonly name: "delegateBySig";
|
|
206
|
+
readonly stateMutability: "nonpayable";
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly type: "address";
|
|
209
|
+
readonly name: "delegatee";
|
|
210
|
+
readonly simpleType: "address";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "uint256";
|
|
213
|
+
readonly name: "nonce";
|
|
214
|
+
readonly simpleType: "uint";
|
|
215
|
+
}, {
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly name: "expiry";
|
|
218
|
+
readonly simpleType: "uint";
|
|
219
|
+
}, {
|
|
220
|
+
readonly type: "uint8";
|
|
221
|
+
readonly name: "v";
|
|
222
|
+
readonly simpleType: "uint";
|
|
223
|
+
}, {
|
|
224
|
+
readonly type: "bytes32";
|
|
225
|
+
readonly name: "r";
|
|
226
|
+
readonly simpleType: "bytes";
|
|
227
|
+
}, {
|
|
228
|
+
readonly type: "bytes32";
|
|
229
|
+
readonly name: "s";
|
|
230
|
+
readonly simpleType: "bytes";
|
|
231
|
+
}];
|
|
232
|
+
readonly outputs: readonly [];
|
|
233
|
+
}, {
|
|
234
|
+
readonly type: "function";
|
|
235
|
+
readonly name: "pause";
|
|
236
|
+
readonly stateMutability: "nonpayable";
|
|
237
|
+
readonly inputs: readonly [];
|
|
238
|
+
readonly outputs: readonly [];
|
|
239
|
+
}, {
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
readonly name: "transfer";
|
|
242
|
+
readonly stateMutability: "nonpayable";
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly type: "address";
|
|
245
|
+
readonly name: "to";
|
|
246
|
+
readonly simpleType: "address";
|
|
247
|
+
}, {
|
|
248
|
+
readonly type: "uint256";
|
|
249
|
+
readonly name: "value";
|
|
250
|
+
readonly simpleType: "uint";
|
|
251
|
+
}];
|
|
252
|
+
readonly outputs: readonly [{
|
|
253
|
+
readonly type: "bool";
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly simpleType: "bool";
|
|
256
|
+
}];
|
|
257
|
+
}, {
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
readonly name: "CLOCK_MODE";
|
|
260
|
+
readonly stateMutability: "pure";
|
|
261
|
+
readonly inputs: readonly [];
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly simpleType: "string";
|
|
266
|
+
}];
|
|
267
|
+
}, {
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
readonly name: "numCheckpoints";
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
readonly inputs: readonly [{
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
readonly name: "account";
|
|
274
|
+
readonly simpleType: "address";
|
|
275
|
+
}];
|
|
276
|
+
readonly outputs: readonly [{
|
|
277
|
+
readonly type: "uint32";
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly simpleType: "uint";
|
|
280
|
+
}];
|
|
281
|
+
}, {
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
readonly name: "approve";
|
|
284
|
+
readonly stateMutability: "nonpayable";
|
|
285
|
+
readonly inputs: readonly [{
|
|
286
|
+
readonly type: "address";
|
|
287
|
+
readonly name: "spender";
|
|
288
|
+
readonly simpleType: "address";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
readonly name: "value";
|
|
292
|
+
readonly simpleType: "uint";
|
|
293
|
+
}];
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly type: "bool";
|
|
296
|
+
readonly name: "";
|
|
297
|
+
readonly simpleType: "bool";
|
|
298
|
+
}];
|
|
299
|
+
}, {
|
|
300
|
+
readonly type: "function";
|
|
301
|
+
readonly name: "reLock";
|
|
302
|
+
readonly stateMutability: "nonpayable";
|
|
303
|
+
readonly inputs: readonly [{
|
|
304
|
+
readonly type: "uint256";
|
|
305
|
+
readonly name: "amount";
|
|
306
|
+
readonly simpleType: "uint";
|
|
307
|
+
}, {
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
readonly name: "multiplier";
|
|
310
|
+
readonly simpleType: "uint";
|
|
311
|
+
}];
|
|
312
|
+
readonly outputs: readonly [];
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "function";
|
|
315
|
+
readonly name: "getPastVotes";
|
|
316
|
+
readonly stateMutability: "view";
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly type: "address";
|
|
319
|
+
readonly name: "account";
|
|
320
|
+
readonly simpleType: "address";
|
|
321
|
+
}, {
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
readonly name: "timepoint";
|
|
324
|
+
readonly simpleType: "uint";
|
|
325
|
+
}];
|
|
326
|
+
readonly outputs: readonly [{
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
readonly name: "";
|
|
329
|
+
readonly simpleType: "uint";
|
|
330
|
+
}];
|
|
331
|
+
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "checkpoints";
|
|
334
|
+
readonly stateMutability: "view";
|
|
335
|
+
readonly inputs: readonly [{
|
|
336
|
+
readonly type: "address";
|
|
337
|
+
readonly name: "account";
|
|
338
|
+
readonly simpleType: "address";
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "uint32";
|
|
341
|
+
readonly name: "pos";
|
|
342
|
+
readonly simpleType: "uint";
|
|
343
|
+
}];
|
|
344
|
+
readonly outputs: readonly [{
|
|
345
|
+
readonly type: "tuple";
|
|
346
|
+
readonly name: "";
|
|
347
|
+
readonly simpleType: "tuple";
|
|
348
|
+
readonly components: readonly [{
|
|
349
|
+
readonly type: "uint48";
|
|
350
|
+
readonly name: "_key";
|
|
351
|
+
readonly simpleType: "uint";
|
|
352
|
+
}, {
|
|
353
|
+
readonly type: "uint208";
|
|
354
|
+
readonly name: "_value";
|
|
355
|
+
readonly simpleType: "uint";
|
|
356
|
+
}];
|
|
357
|
+
}];
|
|
358
|
+
}, {
|
|
359
|
+
readonly type: "function";
|
|
360
|
+
readonly name: "name";
|
|
361
|
+
readonly stateMutability: "view";
|
|
362
|
+
readonly inputs: readonly [];
|
|
363
|
+
readonly outputs: readonly [{
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly name: "";
|
|
366
|
+
readonly simpleType: "string";
|
|
367
|
+
}];
|
|
368
|
+
}, {
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
readonly name: "createLockWithPermit";
|
|
371
|
+
readonly stateMutability: "nonpayable";
|
|
372
|
+
readonly inputs: readonly [{
|
|
373
|
+
readonly type: "uint256";
|
|
374
|
+
readonly name: "value";
|
|
375
|
+
readonly simpleType: "uint";
|
|
376
|
+
}, {
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
readonly name: "multiplier";
|
|
379
|
+
readonly simpleType: "uint";
|
|
380
|
+
}, {
|
|
381
|
+
readonly type: "tuple";
|
|
382
|
+
readonly name: "permitData";
|
|
383
|
+
readonly simpleType: "tuple";
|
|
384
|
+
readonly components: readonly [{
|
|
385
|
+
readonly type: "uint256";
|
|
386
|
+
readonly name: "deadline";
|
|
387
|
+
readonly simpleType: "uint";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "uint256";
|
|
390
|
+
readonly name: "amount";
|
|
391
|
+
readonly simpleType: "uint";
|
|
392
|
+
}, {
|
|
393
|
+
readonly type: "uint8";
|
|
394
|
+
readonly name: "v";
|
|
395
|
+
readonly simpleType: "uint";
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "bytes32";
|
|
398
|
+
readonly name: "r";
|
|
399
|
+
readonly simpleType: "bytes";
|
|
400
|
+
}, {
|
|
401
|
+
readonly type: "bytes32";
|
|
402
|
+
readonly name: "s";
|
|
403
|
+
readonly simpleType: "bytes";
|
|
404
|
+
}];
|
|
405
|
+
}];
|
|
406
|
+
readonly outputs: readonly [];
|
|
407
|
+
}, {
|
|
408
|
+
readonly type: "function";
|
|
409
|
+
readonly name: "clock";
|
|
410
|
+
readonly stateMutability: "view";
|
|
411
|
+
readonly inputs: readonly [];
|
|
412
|
+
readonly outputs: readonly [{
|
|
413
|
+
readonly type: "uint48";
|
|
414
|
+
readonly name: "";
|
|
415
|
+
readonly simpleType: "uint";
|
|
416
|
+
}];
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
readonly name: "withdraw";
|
|
420
|
+
readonly stateMutability: "nonpayable";
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly type: "address";
|
|
423
|
+
readonly name: "recipient";
|
|
424
|
+
readonly simpleType: "address";
|
|
425
|
+
}];
|
|
426
|
+
readonly outputs: readonly [];
|
|
427
|
+
}, {
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
readonly name: "delegate";
|
|
430
|
+
readonly stateMutability: "nonpayable";
|
|
431
|
+
readonly inputs: readonly [{
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
readonly name: "delegatee";
|
|
434
|
+
readonly simpleType: "address";
|
|
435
|
+
}];
|
|
436
|
+
readonly outputs: readonly [];
|
|
437
|
+
}];
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
const e = [
|
|
2
|
+
{
|
|
3
|
+
type: "function",
|
|
4
|
+
name: "PUFFER",
|
|
5
|
+
stateMutability: "view",
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{ type: "address", name: "", simpleType: "address" }]
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "decimals",
|
|
12
|
+
stateMutability: "view",
|
|
13
|
+
inputs: [],
|
|
14
|
+
outputs: [{ type: "uint8", name: "", simpleType: "uint" }]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: "function",
|
|
18
|
+
name: "delegates",
|
|
19
|
+
stateMutability: "view",
|
|
20
|
+
inputs: [{ type: "address", name: "account", simpleType: "address" }],
|
|
21
|
+
outputs: [{ type: "address", name: "", simpleType: "address" }]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: "function",
|
|
25
|
+
name: "owner",
|
|
26
|
+
stateMutability: "view",
|
|
27
|
+
inputs: [],
|
|
28
|
+
outputs: [{ type: "address", name: "", simpleType: "address" }]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "function",
|
|
32
|
+
name: "allowance",
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
inputs: [
|
|
35
|
+
{ type: "address", name: "owner", simpleType: "address" },
|
|
36
|
+
{ type: "address", name: "spender", simpleType: "address" }
|
|
37
|
+
],
|
|
38
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: "function",
|
|
42
|
+
name: "transferFrom",
|
|
43
|
+
stateMutability: "nonpayable",
|
|
44
|
+
inputs: [
|
|
45
|
+
{ type: "address", name: "from", simpleType: "address" },
|
|
46
|
+
{ type: "address", name: "to", simpleType: "address" },
|
|
47
|
+
{ type: "uint256", name: "value", simpleType: "uint" }
|
|
48
|
+
],
|
|
49
|
+
outputs: [{ type: "bool", name: "", simpleType: "bool" }]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: "function",
|
|
53
|
+
name: "totalSupply",
|
|
54
|
+
stateMutability: "view",
|
|
55
|
+
inputs: [],
|
|
56
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
type: "function",
|
|
60
|
+
name: "createLock",
|
|
61
|
+
stateMutability: "nonpayable",
|
|
62
|
+
inputs: [
|
|
63
|
+
{ type: "uint256", name: "amount", simpleType: "uint" },
|
|
64
|
+
{ type: "uint256", name: "multiplier", simpleType: "uint" }
|
|
65
|
+
],
|
|
66
|
+
outputs: []
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "function",
|
|
70
|
+
name: "symbol",
|
|
71
|
+
stateMutability: "view",
|
|
72
|
+
inputs: [],
|
|
73
|
+
outputs: [{ type: "string", name: "", simpleType: "string" }]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "function",
|
|
77
|
+
name: "paused",
|
|
78
|
+
stateMutability: "view",
|
|
79
|
+
inputs: [],
|
|
80
|
+
outputs: [{ type: "bool", name: "", simpleType: "bool" }]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
type: "function",
|
|
84
|
+
name: "lockInfos",
|
|
85
|
+
stateMutability: "view",
|
|
86
|
+
inputs: [{ type: "address", name: "user", simpleType: "address" }],
|
|
87
|
+
outputs: [
|
|
88
|
+
{ type: "uint256", name: "pufferAmount", simpleType: "uint" },
|
|
89
|
+
{ type: "uint256", name: "unlockTime", simpleType: "uint" }
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
type: "function",
|
|
94
|
+
name: "getPastTotalSupply",
|
|
95
|
+
stateMutability: "view",
|
|
96
|
+
inputs: [{ type: "uint256", name: "timepoint", simpleType: "uint" }],
|
|
97
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: "function",
|
|
101
|
+
name: "balanceOf",
|
|
102
|
+
stateMutability: "view",
|
|
103
|
+
inputs: [{ type: "address", name: "account", simpleType: "address" }],
|
|
104
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
type: "function",
|
|
108
|
+
name: "nonces",
|
|
109
|
+
stateMutability: "view",
|
|
110
|
+
inputs: [{ type: "address", name: "owner", simpleType: "address" }],
|
|
111
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: "function",
|
|
115
|
+
name: "getVotes",
|
|
116
|
+
stateMutability: "view",
|
|
117
|
+
inputs: [{ type: "address", name: "account", simpleType: "address" }],
|
|
118
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: "function",
|
|
122
|
+
name: "delegateBySig",
|
|
123
|
+
stateMutability: "nonpayable",
|
|
124
|
+
inputs: [
|
|
125
|
+
{ type: "address", name: "delegatee", simpleType: "address" },
|
|
126
|
+
{ type: "uint256", name: "nonce", simpleType: "uint" },
|
|
127
|
+
{ type: "uint256", name: "expiry", simpleType: "uint" },
|
|
128
|
+
{ type: "uint8", name: "v", simpleType: "uint" },
|
|
129
|
+
{ type: "bytes32", name: "r", simpleType: "bytes" },
|
|
130
|
+
{ type: "bytes32", name: "s", simpleType: "bytes" }
|
|
131
|
+
],
|
|
132
|
+
outputs: []
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: "function",
|
|
136
|
+
name: "pause",
|
|
137
|
+
stateMutability: "nonpayable",
|
|
138
|
+
inputs: [],
|
|
139
|
+
outputs: []
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: "function",
|
|
143
|
+
name: "transfer",
|
|
144
|
+
stateMutability: "nonpayable",
|
|
145
|
+
inputs: [
|
|
146
|
+
{ type: "address", name: "to", simpleType: "address" },
|
|
147
|
+
{ type: "uint256", name: "value", simpleType: "uint" }
|
|
148
|
+
],
|
|
149
|
+
outputs: [{ type: "bool", name: "", simpleType: "bool" }]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: "function",
|
|
153
|
+
name: "CLOCK_MODE",
|
|
154
|
+
stateMutability: "pure",
|
|
155
|
+
inputs: [],
|
|
156
|
+
outputs: [{ type: "string", name: "", simpleType: "string" }]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
type: "function",
|
|
160
|
+
name: "numCheckpoints",
|
|
161
|
+
stateMutability: "view",
|
|
162
|
+
inputs: [{ type: "address", name: "account", simpleType: "address" }],
|
|
163
|
+
outputs: [{ type: "uint32", name: "", simpleType: "uint" }]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: "function",
|
|
167
|
+
name: "approve",
|
|
168
|
+
stateMutability: "nonpayable",
|
|
169
|
+
inputs: [
|
|
170
|
+
{ type: "address", name: "spender", simpleType: "address" },
|
|
171
|
+
{ type: "uint256", name: "value", simpleType: "uint" }
|
|
172
|
+
],
|
|
173
|
+
outputs: [{ type: "bool", name: "", simpleType: "bool" }]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: "function",
|
|
177
|
+
name: "reLock",
|
|
178
|
+
stateMutability: "nonpayable",
|
|
179
|
+
inputs: [
|
|
180
|
+
{ type: "uint256", name: "amount", simpleType: "uint" },
|
|
181
|
+
{ type: "uint256", name: "multiplier", simpleType: "uint" }
|
|
182
|
+
],
|
|
183
|
+
outputs: []
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: "function",
|
|
187
|
+
name: "getPastVotes",
|
|
188
|
+
stateMutability: "view",
|
|
189
|
+
inputs: [
|
|
190
|
+
{ type: "address", name: "account", simpleType: "address" },
|
|
191
|
+
{ type: "uint256", name: "timepoint", simpleType: "uint" }
|
|
192
|
+
],
|
|
193
|
+
outputs: [{ type: "uint256", name: "", simpleType: "uint" }]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
type: "function",
|
|
197
|
+
name: "checkpoints",
|
|
198
|
+
stateMutability: "view",
|
|
199
|
+
inputs: [
|
|
200
|
+
{ type: "address", name: "account", simpleType: "address" },
|
|
201
|
+
{ type: "uint32", name: "pos", simpleType: "uint" }
|
|
202
|
+
],
|
|
203
|
+
outputs: [
|
|
204
|
+
{
|
|
205
|
+
type: "tuple",
|
|
206
|
+
name: "",
|
|
207
|
+
simpleType: "tuple",
|
|
208
|
+
components: [
|
|
209
|
+
{ type: "uint48", name: "_key", simpleType: "uint" },
|
|
210
|
+
{ type: "uint208", name: "_value", simpleType: "uint" }
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
type: "function",
|
|
217
|
+
name: "name",
|
|
218
|
+
stateMutability: "view",
|
|
219
|
+
inputs: [],
|
|
220
|
+
outputs: [{ type: "string", name: "", simpleType: "string" }]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
type: "function",
|
|
224
|
+
name: "createLockWithPermit",
|
|
225
|
+
stateMutability: "nonpayable",
|
|
226
|
+
inputs: [
|
|
227
|
+
{ type: "uint256", name: "value", simpleType: "uint" },
|
|
228
|
+
{ type: "uint256", name: "multiplier", simpleType: "uint" },
|
|
229
|
+
{
|
|
230
|
+
type: "tuple",
|
|
231
|
+
name: "permitData",
|
|
232
|
+
simpleType: "tuple",
|
|
233
|
+
components: [
|
|
234
|
+
{ type: "uint256", name: "deadline", simpleType: "uint" },
|
|
235
|
+
{ type: "uint256", name: "amount", simpleType: "uint" },
|
|
236
|
+
{ type: "uint8", name: "v", simpleType: "uint" },
|
|
237
|
+
{ type: "bytes32", name: "r", simpleType: "bytes" },
|
|
238
|
+
{ type: "bytes32", name: "s", simpleType: "bytes" }
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
outputs: []
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
type: "function",
|
|
246
|
+
name: "clock",
|
|
247
|
+
stateMutability: "view",
|
|
248
|
+
inputs: [],
|
|
249
|
+
outputs: [{ type: "uint48", name: "", simpleType: "uint" }]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
type: "function",
|
|
253
|
+
name: "withdraw",
|
|
254
|
+
stateMutability: "nonpayable",
|
|
255
|
+
inputs: [{ type: "address", name: "recipient", simpleType: "address" }],
|
|
256
|
+
outputs: []
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
type: "function",
|
|
260
|
+
name: "delegate",
|
|
261
|
+
stateMutability: "nonpayable",
|
|
262
|
+
inputs: [{ type: "address", name: "delegatee", simpleType: "address" }],
|
|
263
|
+
outputs: []
|
|
264
|
+
}
|
|
265
|
+
];
|
|
266
|
+
export {
|
|
267
|
+
e as vlPUFFER
|
|
268
|
+
};
|
|
269
|
+
//# sourceMappingURL=vlPUFFER.js.map
|