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