@1stdex/first-sdk 1.0.13 → 1.0.15

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 (40) hide show
  1. package/dist/cjs/calls/batch/prepare-market-order-with-setup.js +5 -1
  2. package/dist/cjs/calls/batch/prepare-market-order-with-setup.js.map +1 -1
  3. package/dist/cjs/calls/market/market.js.map +1 -1
  4. package/dist/cjs/constants/abis/core/claimable-dex-vault.js +1120 -0
  5. package/dist/cjs/constants/abis/core/claimable-dex-vault.js.map +1 -0
  6. package/dist/cjs/constants/abis/core/mirror-token-abi.js +58 -0
  7. package/dist/cjs/constants/abis/core/mirror-token-abi.js.map +1 -0
  8. package/dist/cjs/views/balance.js +85 -2
  9. package/dist/cjs/views/balance.js.map +1 -1
  10. package/dist/cjs/views/currency.js +3 -3
  11. package/dist/cjs/views/currency.js.map +1 -1
  12. package/dist/cjs/views/index.js +3 -2
  13. package/dist/cjs/views/index.js.map +1 -1
  14. package/dist/esm/calls/batch/prepare-market-order-with-setup.js +5 -1
  15. package/dist/esm/calls/batch/prepare-market-order-with-setup.js.map +1 -1
  16. package/dist/esm/calls/market/market.js.map +1 -1
  17. package/dist/esm/constants/abis/core/claimable-dex-vault.js +1117 -0
  18. package/dist/esm/constants/abis/core/claimable-dex-vault.js.map +1 -0
  19. package/dist/esm/constants/abis/core/mirror-token-abi.js +55 -0
  20. package/dist/esm/constants/abis/core/mirror-token-abi.js.map +1 -0
  21. package/dist/esm/views/balance.js +119 -1
  22. package/dist/esm/views/balance.js.map +1 -1
  23. package/dist/esm/views/currency.js +1 -1
  24. package/dist/esm/views/currency.js.map +1 -1
  25. package/dist/esm/views/index.js +2 -2
  26. package/dist/esm/views/index.js.map +1 -1
  27. package/dist/tsconfig.build.tsbuildinfo +1 -1
  28. package/dist/types/calls/batch/prepare-market-order-with-setup.d.ts.map +1 -1
  29. package/dist/types/calls/market/market.d.ts.map +1 -1
  30. package/dist/types/constants/abis/core/claimable-dex-vault.d.ts +1565 -0
  31. package/dist/types/constants/abis/core/claimable-dex-vault.d.ts.map +1 -0
  32. package/dist/types/constants/abis/core/mirror-token-abi.d.ts +80 -0
  33. package/dist/types/constants/abis/core/mirror-token-abi.d.ts.map +1 -0
  34. package/dist/types/views/balance.d.ts +30 -0
  35. package/dist/types/views/balance.d.ts.map +1 -1
  36. package/dist/types/views/currency.d.ts +1 -1
  37. package/dist/types/views/currency.d.ts.map +1 -1
  38. package/dist/types/views/index.d.ts +2 -2
  39. package/dist/types/views/index.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -0,0 +1,1120 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CLAIMABLE_DEX_VAULT_ABI = void 0;
4
+ exports.CLAIMABLE_DEX_VAULT_ABI = [
5
+ {
6
+ inputs: [
7
+ {
8
+ internalType: 'contract ClaimableToken',
9
+ name: 'asset_',
10
+ type: 'address',
11
+ },
12
+ { internalType: 'string', name: 'name_', type: 'string' },
13
+ { internalType: 'string', name: 'symbol_', type: 'string' },
14
+ { internalType: 'address', name: 'bookManager_', type: 'address' },
15
+ ],
16
+ stateMutability: 'nonpayable',
17
+ type: 'constructor',
18
+ },
19
+ { inputs: [], name: 'ECDSAInvalidSignature', type: 'error' },
20
+ {
21
+ inputs: [{ internalType: 'uint256', name: 'length', type: 'uint256' }],
22
+ name: 'ECDSAInvalidSignatureLength',
23
+ type: 'error',
24
+ },
25
+ {
26
+ inputs: [{ internalType: 'bytes32', name: 's', type: 'bytes32' }],
27
+ name: 'ECDSAInvalidSignatureS',
28
+ type: 'error',
29
+ },
30
+ {
31
+ inputs: [
32
+ { internalType: 'address', name: 'spender', type: 'address' },
33
+ { internalType: 'uint256', name: 'allowance', type: 'uint256' },
34
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
35
+ ],
36
+ name: 'ERC20InsufficientAllowance',
37
+ type: 'error',
38
+ },
39
+ {
40
+ inputs: [
41
+ { internalType: 'address', name: 'sender', type: 'address' },
42
+ { internalType: 'uint256', name: 'balance', type: 'uint256' },
43
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
44
+ ],
45
+ name: 'ERC20InsufficientBalance',
46
+ type: 'error',
47
+ },
48
+ {
49
+ inputs: [{ internalType: 'address', name: 'approver', type: 'address' }],
50
+ name: 'ERC20InvalidApprover',
51
+ type: 'error',
52
+ },
53
+ {
54
+ inputs: [{ internalType: 'address', name: 'receiver', type: 'address' }],
55
+ name: 'ERC20InvalidReceiver',
56
+ type: 'error',
57
+ },
58
+ {
59
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
60
+ name: 'ERC20InvalidSender',
61
+ type: 'error',
62
+ },
63
+ {
64
+ inputs: [{ internalType: 'address', name: 'spender', type: 'address' }],
65
+ name: 'ERC20InvalidSpender',
66
+ type: 'error',
67
+ },
68
+ {
69
+ inputs: [{ internalType: 'uint256', name: 'deadline', type: 'uint256' }],
70
+ name: 'ERC2612ExpiredSignature',
71
+ type: 'error',
72
+ },
73
+ {
74
+ inputs: [
75
+ { internalType: 'address', name: 'signer', type: 'address' },
76
+ { internalType: 'address', name: 'owner', type: 'address' },
77
+ ],
78
+ name: 'ERC2612InvalidSigner',
79
+ type: 'error',
80
+ },
81
+ {
82
+ inputs: [
83
+ { internalType: 'address', name: 'receiver', type: 'address' },
84
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
85
+ { internalType: 'uint256', name: 'max', type: 'uint256' },
86
+ ],
87
+ name: 'ERC4626ExceededMaxDeposit',
88
+ type: 'error',
89
+ },
90
+ {
91
+ inputs: [
92
+ { internalType: 'address', name: 'receiver', type: 'address' },
93
+ { internalType: 'uint256', name: 'shares', type: 'uint256' },
94
+ { internalType: 'uint256', name: 'max', type: 'uint256' },
95
+ ],
96
+ name: 'ERC4626ExceededMaxMint',
97
+ type: 'error',
98
+ },
99
+ {
100
+ inputs: [
101
+ { internalType: 'address', name: 'owner', type: 'address' },
102
+ { internalType: 'uint256', name: 'shares', type: 'uint256' },
103
+ { internalType: 'uint256', name: 'max', type: 'uint256' },
104
+ ],
105
+ name: 'ERC4626ExceededMaxRedeem',
106
+ type: 'error',
107
+ },
108
+ {
109
+ inputs: [
110
+ { internalType: 'address', name: 'owner', type: 'address' },
111
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
112
+ { internalType: 'uint256', name: 'max', type: 'uint256' },
113
+ ],
114
+ name: 'ERC4626ExceededMaxWithdraw',
115
+ type: 'error',
116
+ },
117
+ {
118
+ inputs: [
119
+ { internalType: 'address', name: 'account', type: 'address' },
120
+ { internalType: 'uint256', name: 'currentNonce', type: 'uint256' },
121
+ ],
122
+ name: 'InvalidAccountNonce',
123
+ type: 'error',
124
+ },
125
+ { inputs: [], name: 'InvalidShortString', type: 'error' },
126
+ {
127
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
128
+ name: 'OwnableInvalidOwner',
129
+ type: 'error',
130
+ },
131
+ {
132
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
133
+ name: 'OwnableUnauthorizedAccount',
134
+ type: 'error',
135
+ },
136
+ { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
137
+ {
138
+ inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
139
+ name: 'SafeERC20FailedOperation',
140
+ type: 'error',
141
+ },
142
+ {
143
+ inputs: [{ internalType: 'string', name: 'str', type: 'string' }],
144
+ name: 'StringTooLong',
145
+ type: 'error',
146
+ },
147
+ {
148
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
149
+ name: 'UnauthorizedDeflator',
150
+ type: 'error',
151
+ },
152
+ {
153
+ anonymous: false,
154
+ inputs: [
155
+ {
156
+ indexed: true,
157
+ internalType: 'address',
158
+ name: 'owner',
159
+ type: 'address',
160
+ },
161
+ {
162
+ indexed: true,
163
+ internalType: 'address',
164
+ name: 'spender',
165
+ type: 'address',
166
+ },
167
+ {
168
+ indexed: false,
169
+ internalType: 'uint256',
170
+ name: 'value',
171
+ type: 'uint256',
172
+ },
173
+ ],
174
+ name: 'Approval',
175
+ type: 'event',
176
+ },
177
+ {
178
+ anonymous: false,
179
+ inputs: [
180
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
181
+ {
182
+ indexed: false,
183
+ internalType: 'uint256',
184
+ name: 'shares',
185
+ type: 'uint256',
186
+ },
187
+ {
188
+ indexed: false,
189
+ internalType: 'uint256',
190
+ name: 'assets',
191
+ type: 'uint256',
192
+ },
193
+ {
194
+ indexed: false,
195
+ internalType: 'uint256',
196
+ name: 'lockedBalanceAfter',
197
+ type: 'uint256',
198
+ },
199
+ ],
200
+ name: 'BalanceLocked',
201
+ type: 'event',
202
+ },
203
+ {
204
+ anonymous: false,
205
+ inputs: [
206
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
207
+ {
208
+ indexed: false,
209
+ internalType: 'uint256',
210
+ name: 'shares',
211
+ type: 'uint256',
212
+ },
213
+ {
214
+ indexed: false,
215
+ internalType: 'uint256',
216
+ name: 'assets',
217
+ type: 'uint256',
218
+ },
219
+ {
220
+ indexed: false,
221
+ internalType: 'uint256',
222
+ name: 'lockedBalanceAfter',
223
+ type: 'uint256',
224
+ },
225
+ ],
226
+ name: 'BalanceUnlocked',
227
+ type: 'event',
228
+ },
229
+ {
230
+ anonymous: false,
231
+ inputs: [
232
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
233
+ {
234
+ indexed: false,
235
+ internalType: 'uint256',
236
+ name: 'shares',
237
+ type: 'uint256',
238
+ },
239
+ {
240
+ indexed: false,
241
+ internalType: 'uint256',
242
+ name: 'assets',
243
+ type: 'uint256',
244
+ },
245
+ {
246
+ indexed: false,
247
+ internalType: 'uint256',
248
+ name: 'pendingAmountAfter',
249
+ type: 'uint256',
250
+ },
251
+ ],
252
+ name: 'BurnedFromOwedToMakers',
253
+ type: 'event',
254
+ },
255
+ {
256
+ anonymous: false,
257
+ inputs: [
258
+ {
259
+ indexed: true,
260
+ internalType: 'address',
261
+ name: 'account',
262
+ type: 'address',
263
+ },
264
+ {
265
+ indexed: false,
266
+ internalType: 'bool',
267
+ name: 'whitelisted',
268
+ type: 'bool',
269
+ },
270
+ ],
271
+ name: 'CheckpointWhitelistUpdated',
272
+ type: 'event',
273
+ },
274
+ {
275
+ anonymous: false,
276
+ inputs: [
277
+ {
278
+ indexed: false,
279
+ internalType: 'uint256',
280
+ name: 'checkpoint',
281
+ type: 'uint256',
282
+ },
283
+ {
284
+ indexed: false,
285
+ internalType: 'uint256',
286
+ name: 'supplyBeforeDeflate',
287
+ type: 'uint256',
288
+ },
289
+ {
290
+ indexed: false,
291
+ internalType: 'uint256',
292
+ name: 'deflatedAmount',
293
+ type: 'uint256',
294
+ },
295
+ ],
296
+ name: 'Deflate',
297
+ type: 'event',
298
+ },
299
+ {
300
+ anonymous: false,
301
+ inputs: [
302
+ {
303
+ indexed: true,
304
+ internalType: 'address',
305
+ name: 'account',
306
+ type: 'address',
307
+ },
308
+ {
309
+ indexed: false,
310
+ internalType: 'uint256',
311
+ name: 'newVested',
312
+ type: 'uint256',
313
+ },
314
+ ],
315
+ name: 'DeflationSynced',
316
+ type: 'event',
317
+ },
318
+ {
319
+ anonymous: false,
320
+ inputs: [
321
+ {
322
+ indexed: true,
323
+ internalType: 'address',
324
+ name: 'sender',
325
+ type: 'address',
326
+ },
327
+ {
328
+ indexed: true,
329
+ internalType: 'address',
330
+ name: 'owner',
331
+ type: 'address',
332
+ },
333
+ {
334
+ indexed: false,
335
+ internalType: 'uint256',
336
+ name: 'assets',
337
+ type: 'uint256',
338
+ },
339
+ {
340
+ indexed: false,
341
+ internalType: 'uint256',
342
+ name: 'shares',
343
+ type: 'uint256',
344
+ },
345
+ ],
346
+ name: 'Deposit',
347
+ type: 'event',
348
+ },
349
+ { anonymous: false, inputs: [], name: 'EIP712DomainChanged', type: 'event' },
350
+ {
351
+ anonymous: false,
352
+ inputs: [
353
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
354
+ {
355
+ indexed: false,
356
+ internalType: 'uint256',
357
+ name: 'shares',
358
+ type: 'uint256',
359
+ },
360
+ {
361
+ indexed: false,
362
+ internalType: 'uint256',
363
+ name: 'assets',
364
+ type: 'uint256',
365
+ },
366
+ {
367
+ indexed: false,
368
+ internalType: 'uint256',
369
+ name: 'pendingAmountAfter',
370
+ type: 'uint256',
371
+ },
372
+ ],
373
+ name: 'MintedFromOwedToMakers',
374
+ type: 'event',
375
+ },
376
+ {
377
+ anonymous: false,
378
+ inputs: [
379
+ {
380
+ indexed: true,
381
+ internalType: 'contract DeflationaryToken',
382
+ name: 'nestedDeflationaryToken',
383
+ type: 'address',
384
+ },
385
+ ],
386
+ name: 'NestedDeflationaryTokenSet',
387
+ type: 'event',
388
+ },
389
+ {
390
+ anonymous: false,
391
+ inputs: [
392
+ {
393
+ indexed: true,
394
+ internalType: 'address',
395
+ name: 'previousOwner',
396
+ type: 'address',
397
+ },
398
+ {
399
+ indexed: true,
400
+ internalType: 'address',
401
+ name: 'newOwner',
402
+ type: 'address',
403
+ },
404
+ ],
405
+ name: 'OwnershipTransferred',
406
+ type: 'event',
407
+ },
408
+ {
409
+ anonymous: false,
410
+ inputs: [
411
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
412
+ {
413
+ indexed: false,
414
+ internalType: 'uint256',
415
+ name: 'shares',
416
+ type: 'uint256',
417
+ },
418
+ {
419
+ indexed: false,
420
+ internalType: 'uint256',
421
+ name: 'assets',
422
+ type: 'uint256',
423
+ },
424
+ {
425
+ indexed: false,
426
+ internalType: 'uint256',
427
+ name: 'totalPending',
428
+ type: 'uint256',
429
+ },
430
+ ],
431
+ name: 'TakenExtraBurned',
432
+ type: 'event',
433
+ },
434
+ {
435
+ anonymous: false,
436
+ inputs: [
437
+ { indexed: true, internalType: 'address', name: 'user', type: 'address' },
438
+ {
439
+ indexed: false,
440
+ internalType: 'uint256',
441
+ name: 'shares',
442
+ type: 'uint256',
443
+ },
444
+ {
445
+ indexed: false,
446
+ internalType: 'uint256',
447
+ name: 'assets',
448
+ type: 'uint256',
449
+ },
450
+ {
451
+ indexed: false,
452
+ internalType: 'uint256',
453
+ name: 'totalPending',
454
+ type: 'uint256',
455
+ },
456
+ ],
457
+ name: 'TakenExtraMinted',
458
+ type: 'event',
459
+ },
460
+ {
461
+ anonymous: false,
462
+ inputs: [
463
+ {
464
+ indexed: true,
465
+ internalType: 'address',
466
+ name: 'account',
467
+ type: 'address',
468
+ },
469
+ {
470
+ indexed: true,
471
+ internalType: 'address',
472
+ name: 'recipient',
473
+ type: 'address',
474
+ },
475
+ {
476
+ indexed: false,
477
+ internalType: 'uint256',
478
+ name: 'amount',
479
+ type: 'uint256',
480
+ },
481
+ ],
482
+ name: 'TokensClaimed',
483
+ type: 'event',
484
+ },
485
+ {
486
+ anonymous: false,
487
+ inputs: [
488
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
489
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
490
+ {
491
+ indexed: false,
492
+ internalType: 'uint256',
493
+ name: 'value',
494
+ type: 'uint256',
495
+ },
496
+ ],
497
+ name: 'Transfer',
498
+ type: 'event',
499
+ },
500
+ {
501
+ anonymous: false,
502
+ inputs: [
503
+ {
504
+ indexed: true,
505
+ internalType: 'address',
506
+ name: 'sender',
507
+ type: 'address',
508
+ },
509
+ {
510
+ indexed: true,
511
+ internalType: 'address',
512
+ name: 'receiver',
513
+ type: 'address',
514
+ },
515
+ {
516
+ indexed: true,
517
+ internalType: 'address',
518
+ name: 'owner',
519
+ type: 'address',
520
+ },
521
+ {
522
+ indexed: false,
523
+ internalType: 'uint256',
524
+ name: 'assets',
525
+ type: 'uint256',
526
+ },
527
+ {
528
+ indexed: false,
529
+ internalType: 'uint256',
530
+ name: 'shares',
531
+ type: 'uint256',
532
+ },
533
+ ],
534
+ name: 'Withdraw',
535
+ type: 'event',
536
+ },
537
+ {
538
+ inputs: [],
539
+ name: 'DOMAIN_SEPARATOR',
540
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
541
+ stateMutability: 'view',
542
+ type: 'function',
543
+ },
544
+ {
545
+ inputs: [
546
+ { internalType: 'address', name: 'owner', type: 'address' },
547
+ { internalType: 'address', name: 'spender', type: 'address' },
548
+ ],
549
+ name: 'allowance',
550
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
551
+ stateMutability: 'view',
552
+ type: 'function',
553
+ },
554
+ {
555
+ inputs: [
556
+ { internalType: 'address', name: 'spender', type: 'address' },
557
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
558
+ ],
559
+ name: 'approve',
560
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
561
+ stateMutability: 'nonpayable',
562
+ type: 'function',
563
+ },
564
+ {
565
+ inputs: [],
566
+ name: 'asset',
567
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
568
+ stateMutability: 'view',
569
+ type: 'function',
570
+ },
571
+ {
572
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
573
+ name: 'balanceOf',
574
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
575
+ stateMutability: 'view',
576
+ type: 'function',
577
+ },
578
+ {
579
+ inputs: [],
580
+ name: 'bookManager',
581
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
582
+ stateMutability: 'view',
583
+ type: 'function',
584
+ },
585
+ {
586
+ inputs: [
587
+ { internalType: 'address', name: 'user', type: 'address' },
588
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
589
+ ],
590
+ name: 'burnAssetsForMakers',
591
+ outputs: [],
592
+ stateMutability: 'nonpayable',
593
+ type: 'function',
594
+ },
595
+ {
596
+ inputs: [
597
+ { internalType: 'address', name: 'user', type: 'address' },
598
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
599
+ ],
600
+ name: 'burnTakenExtraAssets',
601
+ outputs: [],
602
+ stateMutability: 'nonpayable',
603
+ type: 'function',
604
+ },
605
+ {
606
+ inputs: [
607
+ { internalType: 'address', name: 'recipient', type: 'address' },
608
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
609
+ ],
610
+ name: 'claim',
611
+ outputs: [],
612
+ stateMutability: 'nonpayable',
613
+ type: 'function',
614
+ },
615
+ {
616
+ inputs: [],
617
+ name: 'claimableToken',
618
+ outputs: [
619
+ { internalType: 'contract ClaimableToken', name: '', type: 'address' },
620
+ ],
621
+ stateMutability: 'view',
622
+ type: 'function',
623
+ },
624
+ {
625
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
626
+ name: 'claimedAmounts',
627
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
628
+ stateMutability: 'view',
629
+ type: 'function',
630
+ },
631
+ {
632
+ inputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
633
+ name: 'convertToAssets',
634
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
635
+ stateMutability: 'view',
636
+ type: 'function',
637
+ },
638
+ {
639
+ inputs: [{ internalType: 'uint256', name: 'assets', type: 'uint256' }],
640
+ name: 'convertToShares',
641
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
642
+ stateMutability: 'view',
643
+ type: 'function',
644
+ },
645
+ {
646
+ inputs: [],
647
+ name: 'currentCheckpoint',
648
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
649
+ stateMutability: 'view',
650
+ type: 'function',
651
+ },
652
+ {
653
+ inputs: [],
654
+ name: 'decimals',
655
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
656
+ stateMutability: 'view',
657
+ type: 'function',
658
+ },
659
+ {
660
+ inputs: [
661
+ { internalType: 'uint256', name: 'amountToDeflate', type: 'uint256' },
662
+ ],
663
+ name: 'deflate',
664
+ outputs: [],
665
+ stateMutability: 'nonpayable',
666
+ type: 'function',
667
+ },
668
+ {
669
+ inputs: [
670
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
671
+ { internalType: 'address', name: 'receiver', type: 'address' },
672
+ ],
673
+ name: 'deposit',
674
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
675
+ stateMutability: 'nonpayable',
676
+ type: 'function',
677
+ },
678
+ {
679
+ inputs: [],
680
+ name: 'eip712Domain',
681
+ outputs: [
682
+ { internalType: 'bytes1', name: 'fields', type: 'bytes1' },
683
+ { internalType: 'string', name: 'name', type: 'string' },
684
+ { internalType: 'string', name: 'version', type: 'string' },
685
+ { internalType: 'uint256', name: 'chainId', type: 'uint256' },
686
+ { internalType: 'address', name: 'verifyingContract', type: 'address' },
687
+ { internalType: 'bytes32', name: 'salt', type: 'bytes32' },
688
+ { internalType: 'uint256[]', name: 'extensions', type: 'uint256[]' },
689
+ ],
690
+ stateMutability: 'view',
691
+ type: 'function',
692
+ },
693
+ {
694
+ inputs: [
695
+ { internalType: 'uint256', name: 'checkpoint', type: 'uint256' },
696
+ { internalType: 'address', name: 'account', type: 'address' },
697
+ ],
698
+ name: 'getBalanceBeforeCheckpoint',
699
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
700
+ stateMutability: 'view',
701
+ type: 'function',
702
+ },
703
+ {
704
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
705
+ name: 'getClaimableAmount',
706
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
707
+ stateMutability: 'view',
708
+ type: 'function',
709
+ },
710
+ {
711
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
712
+ name: 'getClaimableAssets',
713
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
714
+ stateMutability: 'view',
715
+ type: 'function',
716
+ },
717
+ {
718
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
719
+ name: 'getClaimedAssets',
720
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
721
+ stateMutability: 'view',
722
+ type: 'function',
723
+ },
724
+ {
725
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
726
+ name: 'getDeflatedAmount',
727
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
728
+ stateMutability: 'view',
729
+ type: 'function',
730
+ },
731
+ {
732
+ inputs: [
733
+ { internalType: 'uint256', name: 'checkpoint', type: 'uint256' },
734
+ { internalType: 'address', name: 'account', type: 'address' },
735
+ ],
736
+ name: 'getDeflatedAmountAtCheckpoint',
737
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
738
+ stateMutability: 'view',
739
+ type: 'function',
740
+ },
741
+ {
742
+ inputs: [{ internalType: 'address', name: 'user', type: 'address' }],
743
+ name: 'getLockedAssets',
744
+ outputs: [{ internalType: 'uint256', name: 'locked', type: 'uint256' }],
745
+ stateMutability: 'view',
746
+ type: 'function',
747
+ },
748
+ {
749
+ inputs: [],
750
+ name: 'getTotalAssetsOwedToMakers',
751
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
752
+ stateMutability: 'view',
753
+ type: 'function',
754
+ },
755
+ {
756
+ inputs: [],
757
+ name: 'getTotalLockedAssets',
758
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
759
+ stateMutability: 'view',
760
+ type: 'function',
761
+ },
762
+ {
763
+ inputs: [],
764
+ name: 'getTotalTakenExtraAssets',
765
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
766
+ stateMutability: 'view',
767
+ type: 'function',
768
+ },
769
+ {
770
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
771
+ name: 'getUnsyncedDeflatedAmount',
772
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
773
+ stateMutability: 'view',
774
+ type: 'function',
775
+ },
776
+ {
777
+ inputs: [
778
+ { internalType: 'address', name: 'user', type: 'address' },
779
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
780
+ ],
781
+ name: 'lockAssets',
782
+ outputs: [],
783
+ stateMutability: 'nonpayable',
784
+ type: 'function',
785
+ },
786
+ {
787
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
788
+ name: 'lockedBalances',
789
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
790
+ stateMutability: 'view',
791
+ type: 'function',
792
+ },
793
+ {
794
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
795
+ name: 'maxDeposit',
796
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
797
+ stateMutability: 'view',
798
+ type: 'function',
799
+ },
800
+ {
801
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
802
+ name: 'maxMint',
803
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
804
+ stateMutability: 'view',
805
+ type: 'function',
806
+ },
807
+ {
808
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
809
+ name: 'maxRedeem',
810
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
811
+ stateMutability: 'view',
812
+ type: 'function',
813
+ },
814
+ {
815
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
816
+ name: 'maxWithdraw',
817
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
818
+ stateMutability: 'view',
819
+ type: 'function',
820
+ },
821
+ {
822
+ inputs: [
823
+ { internalType: 'uint256', name: 'shares', type: 'uint256' },
824
+ { internalType: 'address', name: 'receiver', type: 'address' },
825
+ ],
826
+ name: 'mint',
827
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
828
+ stateMutability: 'nonpayable',
829
+ type: 'function',
830
+ },
831
+ {
832
+ inputs: [
833
+ { internalType: 'address', name: 'user', type: 'address' },
834
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
835
+ ],
836
+ name: 'mintAssetsFromOwedToMakers',
837
+ outputs: [],
838
+ stateMutability: 'nonpayable',
839
+ type: 'function',
840
+ },
841
+ {
842
+ inputs: [
843
+ { internalType: 'address', name: 'user', type: 'address' },
844
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
845
+ ],
846
+ name: 'mintTakenExtraAssets',
847
+ outputs: [],
848
+ stateMutability: 'nonpayable',
849
+ type: 'function',
850
+ },
851
+ {
852
+ inputs: [],
853
+ name: 'name',
854
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
855
+ stateMutability: 'view',
856
+ type: 'function',
857
+ },
858
+ {
859
+ inputs: [],
860
+ name: 'nestedDeflationaryToken',
861
+ outputs: [
862
+ { internalType: 'contract DeflationaryToken', name: '', type: 'address' },
863
+ ],
864
+ stateMutability: 'view',
865
+ type: 'function',
866
+ },
867
+ {
868
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
869
+ name: 'nonces',
870
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
871
+ stateMutability: 'view',
872
+ type: 'function',
873
+ },
874
+ {
875
+ inputs: [],
876
+ name: 'owner',
877
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
878
+ stateMutability: 'view',
879
+ type: 'function',
880
+ },
881
+ {
882
+ inputs: [],
883
+ name: 'parentDeflator',
884
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
885
+ stateMutability: 'view',
886
+ type: 'function',
887
+ },
888
+ {
889
+ inputs: [
890
+ { internalType: 'address', name: 'owner', type: 'address' },
891
+ { internalType: 'address', name: 'spender', type: 'address' },
892
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
893
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
894
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
895
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
896
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
897
+ ],
898
+ name: 'permit',
899
+ outputs: [],
900
+ stateMutability: 'nonpayable',
901
+ type: 'function',
902
+ },
903
+ {
904
+ inputs: [{ internalType: 'uint256', name: 'assets', type: 'uint256' }],
905
+ name: 'previewDeposit',
906
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
907
+ stateMutability: 'view',
908
+ type: 'function',
909
+ },
910
+ {
911
+ inputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
912
+ name: 'previewMint',
913
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
914
+ stateMutability: 'view',
915
+ type: 'function',
916
+ },
917
+ {
918
+ inputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
919
+ name: 'previewRedeem',
920
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
921
+ stateMutability: 'view',
922
+ type: 'function',
923
+ },
924
+ {
925
+ inputs: [{ internalType: 'uint256', name: 'assets', type: 'uint256' }],
926
+ name: 'previewWithdraw',
927
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
928
+ stateMutability: 'view',
929
+ type: 'function',
930
+ },
931
+ {
932
+ inputs: [
933
+ { internalType: 'uint256', name: 'shares', type: 'uint256' },
934
+ { internalType: 'address', name: 'receiver', type: 'address' },
935
+ { internalType: 'address', name: 'owner', type: 'address' },
936
+ ],
937
+ name: 'redeem',
938
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
939
+ stateMutability: 'nonpayable',
940
+ type: 'function',
941
+ },
942
+ {
943
+ inputs: [],
944
+ name: 'renounceOwnership',
945
+ outputs: [],
946
+ stateMutability: 'nonpayable',
947
+ type: 'function',
948
+ },
949
+ {
950
+ inputs: [
951
+ {
952
+ internalType: 'contract DeflationaryToken',
953
+ name: '_nestedDeflationaryToken',
954
+ type: 'address',
955
+ },
956
+ ],
957
+ name: 'setNestedDeflationaryToken',
958
+ outputs: [],
959
+ stateMutability: 'nonpayable',
960
+ type: 'function',
961
+ },
962
+ {
963
+ inputs: [{ internalType: 'address', name: 'parent', type: 'address' }],
964
+ name: 'setParentDeflator',
965
+ outputs: [],
966
+ stateMutability: 'nonpayable',
967
+ type: 'function',
968
+ },
969
+ {
970
+ inputs: [],
971
+ name: 'symbol',
972
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
973
+ stateMutability: 'view',
974
+ type: 'function',
975
+ },
976
+ {
977
+ inputs: [],
978
+ name: 'syncMyDeflation',
979
+ outputs: [],
980
+ stateMutability: 'nonpayable',
981
+ type: 'function',
982
+ },
983
+ {
984
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
985
+ name: 'syncedCheckpoints',
986
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
987
+ stateMutability: 'view',
988
+ type: 'function',
989
+ },
990
+ {
991
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
992
+ name: 'syncedDeflatedAmounts',
993
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
994
+ stateMutability: 'view',
995
+ type: 'function',
996
+ },
997
+ {
998
+ inputs: [],
999
+ name: 'totalAssets',
1000
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1001
+ stateMutability: 'view',
1002
+ type: 'function',
1003
+ },
1004
+ {
1005
+ inputs: [],
1006
+ name: 'totalDeflatedAmount',
1007
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1008
+ stateMutability: 'view',
1009
+ type: 'function',
1010
+ },
1011
+ {
1012
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1013
+ name: 'totalDeflatedAmountsAtCheckpoint',
1014
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1015
+ stateMutability: 'view',
1016
+ type: 'function',
1017
+ },
1018
+ {
1019
+ inputs: [],
1020
+ name: 'totalLocked',
1021
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1022
+ stateMutability: 'view',
1023
+ type: 'function',
1024
+ },
1025
+ {
1026
+ inputs: [],
1027
+ name: 'totalOwedToMakers',
1028
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1029
+ stateMutability: 'view',
1030
+ type: 'function',
1031
+ },
1032
+ {
1033
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1034
+ name: 'totalSuppliesBeforeCheckpoint',
1035
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1036
+ stateMutability: 'view',
1037
+ type: 'function',
1038
+ },
1039
+ {
1040
+ inputs: [],
1041
+ name: 'totalSupply',
1042
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1043
+ stateMutability: 'view',
1044
+ type: 'function',
1045
+ },
1046
+ {
1047
+ inputs: [],
1048
+ name: 'totalSyncedDeflatedAmount',
1049
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1050
+ stateMutability: 'view',
1051
+ type: 'function',
1052
+ },
1053
+ {
1054
+ inputs: [],
1055
+ name: 'totalTakenExtra',
1056
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1057
+ stateMutability: 'view',
1058
+ type: 'function',
1059
+ },
1060
+ {
1061
+ inputs: [
1062
+ { internalType: 'address', name: 'to', type: 'address' },
1063
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1064
+ ],
1065
+ name: 'transfer',
1066
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1067
+ stateMutability: 'nonpayable',
1068
+ type: 'function',
1069
+ },
1070
+ {
1071
+ inputs: [
1072
+ { internalType: 'address', name: 'from', type: 'address' },
1073
+ { internalType: 'address', name: 'to', type: 'address' },
1074
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1075
+ ],
1076
+ name: 'transferFrom',
1077
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1078
+ stateMutability: 'nonpayable',
1079
+ type: 'function',
1080
+ },
1081
+ {
1082
+ inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
1083
+ name: 'transferOwnership',
1084
+ outputs: [],
1085
+ stateMutability: 'nonpayable',
1086
+ type: 'function',
1087
+ },
1088
+ {
1089
+ inputs: [
1090
+ { internalType: 'address', name: 'user', type: 'address' },
1091
+ { internalType: 'uint256', name: 'shares', type: 'uint256' },
1092
+ ],
1093
+ name: 'unlock',
1094
+ outputs: [],
1095
+ stateMutability: 'nonpayable',
1096
+ type: 'function',
1097
+ },
1098
+ {
1099
+ inputs: [
1100
+ { internalType: 'address', name: 'user', type: 'address' },
1101
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
1102
+ ],
1103
+ name: 'unlockAssets',
1104
+ outputs: [],
1105
+ stateMutability: 'nonpayable',
1106
+ type: 'function',
1107
+ },
1108
+ {
1109
+ inputs: [
1110
+ { internalType: 'uint256', name: 'assets', type: 'uint256' },
1111
+ { internalType: 'address', name: 'receiver', type: 'address' },
1112
+ { internalType: 'address', name: 'owner', type: 'address' },
1113
+ ],
1114
+ name: 'withdraw',
1115
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1116
+ stateMutability: 'nonpayable',
1117
+ type: 'function',
1118
+ },
1119
+ ];
1120
+ //# sourceMappingURL=claimable-dex-vault.js.map