@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2

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 (93) hide show
  1. package/AGENTS.md +28 -18
  2. package/abis.json +23476 -12295
  3. package/dist/contracts/Addys.d.ts +124 -0
  4. package/dist/contracts/Addys.d.ts.map +1 -0
  5. package/dist/contracts/Addys.js +134 -0
  6. package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
  7. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
  8. package/dist/contracts/AgentSenderGeneric.js +892 -97
  9. package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
  10. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
  11. package/dist/contracts/AgentSenderSpecial.js +139 -0
  12. package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
  13. package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
  14. package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
  15. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
  16. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
  17. package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
  18. package/dist/contracts/AgentWrapper.d.ts +164 -6
  19. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  20. package/dist/contracts/AgentWrapper.js +219 -6
  21. package/dist/contracts/ChequeBook.d.ts +360 -204
  22. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  23. package/dist/contracts/ChequeBook.js +507 -298
  24. package/dist/contracts/DefaultsLocal.d.ts +320 -0
  25. package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
  26. package/dist/contracts/DefaultsLocal.js +350 -0
  27. package/dist/contracts/ERC20.d.ts +552 -27
  28. package/dist/contracts/ERC20.d.ts.map +1 -1
  29. package/dist/contracts/ERC20.js +713 -66
  30. package/dist/contracts/EarnVault.d.ts +284 -255
  31. package/dist/contracts/EarnVault.d.ts.map +1 -1
  32. package/dist/contracts/EarnVault.js +488 -456
  33. package/dist/contracts/EarnVaultAgent.d.ts +127 -0
  34. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
  35. package/dist/contracts/EarnVaultAgent.js +139 -0
  36. package/dist/contracts/EarnVaultWallet.d.ts +777 -0
  37. package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
  38. package/dist/contracts/EarnVaultWallet.js +987 -0
  39. package/dist/contracts/Erc20Token.d.ts +813 -0
  40. package/dist/contracts/Erc20Token.d.ts.map +1 -0
  41. package/dist/contracts/Erc20Token.js +1006 -0
  42. package/dist/contracts/HighCommand.d.ts +40 -0
  43. package/dist/contracts/HighCommand.d.ts.map +1 -1
  44. package/dist/contracts/HighCommand.js +45 -0
  45. package/dist/contracts/Kernel.d.ts +4 -0
  46. package/dist/contracts/Kernel.d.ts.map +1 -1
  47. package/dist/contracts/Kernel.js +4 -0
  48. package/dist/contracts/Ledger.d.ts +4 -75
  49. package/dist/contracts/Ledger.d.ts.map +1 -1
  50. package/dist/contracts/Ledger.js +4 -99
  51. package/dist/contracts/LevgVault.d.ts +299 -299
  52. package/dist/contracts/LevgVault.d.ts.map +1 -1
  53. package/dist/contracts/LevgVault.js +530 -530
  54. package/dist/contracts/LevgVaultAgent.d.ts +127 -69
  55. package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
  56. package/dist/contracts/LevgVaultAgent.js +134 -79
  57. package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
  58. package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
  59. package/dist/contracts/LevgVaultWallet.js +1439 -0
  60. package/dist/contracts/LocalGov.d.ts +427 -0
  61. package/dist/contracts/LocalGov.d.ts.map +1 -0
  62. package/dist/contracts/LocalGov.js +507 -0
  63. package/dist/contracts/Migrator.d.ts +160 -0
  64. package/dist/contracts/Migrator.d.ts.map +1 -1
  65. package/dist/contracts/Migrator.js +187 -0
  66. package/dist/contracts/Ownership.d.ts +414 -0
  67. package/dist/contracts/Ownership.d.ts.map +1 -0
  68. package/dist/contracts/Ownership.js +472 -0
  69. package/dist/contracts/Paymaster.d.ts +119 -322
  70. package/dist/contracts/Paymaster.d.ts.map +1 -1
  71. package/dist/contracts/Paymaster.js +118 -404
  72. package/dist/contracts/Sentinel.d.ts +9 -6
  73. package/dist/contracts/Sentinel.d.ts.map +1 -1
  74. package/dist/contracts/Sentinel.js +8 -4
  75. package/dist/contracts/UndyToken.d.ts +821 -0
  76. package/dist/contracts/UndyToken.d.ts.map +1 -0
  77. package/dist/contracts/UndyToken.js +1017 -0
  78. package/dist/contracts/UserWalletConfig.d.ts +334 -317
  79. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  80. package/dist/contracts/UserWalletConfig.js +391 -371
  81. package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
  82. package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
  83. package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
  84. package/dist/contracts/VaultErc20Token.d.ts +522 -0
  85. package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
  86. package/dist/contracts/VaultErc20Token.js +658 -0
  87. package/dist/contracts/index.d.ts +10 -0
  88. package/dist/contracts/index.d.ts.map +1 -1
  89. package/dist/contracts/index.js +10 -0
  90. package/dist/contracts/sdk.d.ts +20 -0
  91. package/dist/contracts/sdk.d.ts.map +1 -1
  92. package/dist/contracts/sdk.js +20 -0
  93. package/package.json +1 -1
@@ -0,0 +1,658 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ import { encodeEventTopics, parseEventLogs } from 'viem';
7
+ export const abi = [
8
+ {
9
+ "name": "Transfer",
10
+ "inputs": [
11
+ {
12
+ "name": "sender",
13
+ "type": "address",
14
+ "indexed": true
15
+ },
16
+ {
17
+ "name": "recipient",
18
+ "type": "address",
19
+ "indexed": true
20
+ },
21
+ {
22
+ "name": "amount",
23
+ "type": "uint256",
24
+ "indexed": false
25
+ }
26
+ ],
27
+ "anonymous": false,
28
+ "type": "event"
29
+ },
30
+ {
31
+ "name": "Approval",
32
+ "inputs": [
33
+ {
34
+ "name": "owner",
35
+ "type": "address",
36
+ "indexed": true
37
+ },
38
+ {
39
+ "name": "spender",
40
+ "type": "address",
41
+ "indexed": true
42
+ },
43
+ {
44
+ "name": "amount",
45
+ "type": "uint256",
46
+ "indexed": false
47
+ }
48
+ ],
49
+ "anonymous": false,
50
+ "type": "event"
51
+ },
52
+ {
53
+ "name": "BlacklistModified",
54
+ "inputs": [
55
+ {
56
+ "name": "addr",
57
+ "type": "address",
58
+ "indexed": true
59
+ },
60
+ {
61
+ "name": "isBlacklisted",
62
+ "type": "bool",
63
+ "indexed": false
64
+ }
65
+ ],
66
+ "anonymous": false,
67
+ "type": "event"
68
+ },
69
+ {
70
+ "name": "TokenPauseModified",
71
+ "inputs": [
72
+ {
73
+ "name": "isPaused",
74
+ "type": "bool",
75
+ "indexed": false
76
+ }
77
+ ],
78
+ "anonymous": false,
79
+ "type": "event"
80
+ },
81
+ {
82
+ "stateMutability": "view",
83
+ "type": "function",
84
+ "name": "name",
85
+ "inputs": [],
86
+ "outputs": [
87
+ {
88
+ "name": "",
89
+ "type": "string"
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "stateMutability": "view",
95
+ "type": "function",
96
+ "name": "symbol",
97
+ "inputs": [],
98
+ "outputs": [
99
+ {
100
+ "name": "",
101
+ "type": "string"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "stateMutability": "view",
107
+ "type": "function",
108
+ "name": "decimals",
109
+ "inputs": [],
110
+ "outputs": [
111
+ {
112
+ "name": "",
113
+ "type": "uint8"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "stateMutability": "nonpayable",
119
+ "type": "function",
120
+ "name": "transfer",
121
+ "inputs": [
122
+ {
123
+ "name": "_recipient",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "name": "_amount",
128
+ "type": "uint256"
129
+ }
130
+ ],
131
+ "outputs": [
132
+ {
133
+ "name": "",
134
+ "type": "bool"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "stateMutability": "nonpayable",
140
+ "type": "function",
141
+ "name": "transferFrom",
142
+ "inputs": [
143
+ {
144
+ "name": "_sender",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "name": "_recipient",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "name": "_amount",
153
+ "type": "uint256"
154
+ }
155
+ ],
156
+ "outputs": [
157
+ {
158
+ "name": "",
159
+ "type": "bool"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "stateMutability": "nonpayable",
165
+ "type": "function",
166
+ "name": "approve",
167
+ "inputs": [
168
+ {
169
+ "name": "_spender",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "name": "_amount",
174
+ "type": "uint256"
175
+ }
176
+ ],
177
+ "outputs": [
178
+ {
179
+ "name": "",
180
+ "type": "bool"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "stateMutability": "nonpayable",
186
+ "type": "function",
187
+ "name": "increaseAllowance",
188
+ "inputs": [
189
+ {
190
+ "name": "_spender",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "name": "_amount",
195
+ "type": "uint256"
196
+ }
197
+ ],
198
+ "outputs": [
199
+ {
200
+ "name": "",
201
+ "type": "bool"
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "stateMutability": "nonpayable",
207
+ "type": "function",
208
+ "name": "decreaseAllowance",
209
+ "inputs": [
210
+ {
211
+ "name": "_spender",
212
+ "type": "address"
213
+ },
214
+ {
215
+ "name": "_amount",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "outputs": [
220
+ {
221
+ "name": "",
222
+ "type": "bool"
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "stateMutability": "nonpayable",
228
+ "type": "function",
229
+ "name": "burn",
230
+ "inputs": [
231
+ {
232
+ "name": "_amount",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "outputs": [
237
+ {
238
+ "name": "",
239
+ "type": "bool"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "stateMutability": "view",
245
+ "type": "function",
246
+ "name": "DOMAIN_SEPARATOR",
247
+ "inputs": [],
248
+ "outputs": [
249
+ {
250
+ "name": "",
251
+ "type": "bytes32"
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "stateMutability": "nonpayable",
257
+ "type": "function",
258
+ "name": "permit",
259
+ "inputs": [
260
+ {
261
+ "name": "_owner",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "name": "_spender",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "name": "_value",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "name": "_deadline",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "name": "_signature",
278
+ "type": "bytes"
279
+ }
280
+ ],
281
+ "outputs": [
282
+ {
283
+ "name": "",
284
+ "type": "bool"
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "stateMutability": "nonpayable",
290
+ "type": "function",
291
+ "name": "setBlacklist",
292
+ "inputs": [
293
+ {
294
+ "name": "_addr",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "name": "_shouldBlacklist",
299
+ "type": "bool"
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "name": "",
305
+ "type": "bool"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "stateMutability": "nonpayable",
311
+ "type": "function",
312
+ "name": "burnBlacklistTokens",
313
+ "inputs": [
314
+ {
315
+ "name": "_addr",
316
+ "type": "address"
317
+ }
318
+ ],
319
+ "outputs": [
320
+ {
321
+ "name": "",
322
+ "type": "bool"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "stateMutability": "nonpayable",
328
+ "type": "function",
329
+ "name": "burnBlacklistTokens",
330
+ "inputs": [
331
+ {
332
+ "name": "_addr",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "name": "_amount",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "outputs": [
341
+ {
342
+ "name": "",
343
+ "type": "bool"
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "stateMutability": "nonpayable",
349
+ "type": "function",
350
+ "name": "pause",
351
+ "inputs": [
352
+ {
353
+ "name": "_shouldPause",
354
+ "type": "bool"
355
+ }
356
+ ],
357
+ "outputs": []
358
+ },
359
+ {
360
+ "stateMutability": "view",
361
+ "type": "function",
362
+ "name": "undyHq",
363
+ "inputs": [],
364
+ "outputs": [
365
+ {
366
+ "name": "",
367
+ "type": "address"
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "stateMutability": "view",
373
+ "type": "function",
374
+ "name": "blacklisted",
375
+ "inputs": [
376
+ {
377
+ "name": "arg0",
378
+ "type": "address"
379
+ }
380
+ ],
381
+ "outputs": [
382
+ {
383
+ "name": "",
384
+ "type": "bool"
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "stateMutability": "view",
390
+ "type": "function",
391
+ "name": "isPaused",
392
+ "inputs": [],
393
+ "outputs": [
394
+ {
395
+ "name": "",
396
+ "type": "bool"
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ "stateMutability": "view",
402
+ "type": "function",
403
+ "name": "balanceOf",
404
+ "inputs": [
405
+ {
406
+ "name": "arg0",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "outputs": [
411
+ {
412
+ "name": "",
413
+ "type": "uint256"
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ "stateMutability": "view",
419
+ "type": "function",
420
+ "name": "allowance",
421
+ "inputs": [
422
+ {
423
+ "name": "arg0",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "name": "arg1",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "outputs": [
432
+ {
433
+ "name": "",
434
+ "type": "uint256"
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "stateMutability": "view",
440
+ "type": "function",
441
+ "name": "totalSupply",
442
+ "inputs": [],
443
+ "outputs": [
444
+ {
445
+ "name": "",
446
+ "type": "uint256"
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "stateMutability": "view",
452
+ "type": "function",
453
+ "name": "TOKEN_NAME",
454
+ "inputs": [],
455
+ "outputs": [
456
+ {
457
+ "name": "",
458
+ "type": "string"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "stateMutability": "view",
464
+ "type": "function",
465
+ "name": "TOKEN_SYMBOL",
466
+ "inputs": [],
467
+ "outputs": [
468
+ {
469
+ "name": "",
470
+ "type": "string"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "stateMutability": "view",
476
+ "type": "function",
477
+ "name": "TOKEN_DECIMALS",
478
+ "inputs": [],
479
+ "outputs": [
480
+ {
481
+ "name": "",
482
+ "type": "uint8"
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "stateMutability": "view",
488
+ "type": "function",
489
+ "name": "VERSION",
490
+ "inputs": [],
491
+ "outputs": [
492
+ {
493
+ "name": "",
494
+ "type": "string"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "stateMutability": "view",
500
+ "type": "function",
501
+ "name": "nonces",
502
+ "inputs": [
503
+ {
504
+ "name": "arg0",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "outputs": [
509
+ {
510
+ "name": "",
511
+ "type": "uint256"
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "stateMutability": "nonpayable",
517
+ "type": "constructor",
518
+ "inputs": [
519
+ {
520
+ "name": "_tokenName",
521
+ "type": "string"
522
+ },
523
+ {
524
+ "name": "_tokenSymbol",
525
+ "type": "string"
526
+ },
527
+ {
528
+ "name": "_tokenDecimals",
529
+ "type": "uint8"
530
+ },
531
+ {
532
+ "name": "_undyHq",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "outputs": []
537
+ }
538
+ ];
539
+ export const deployAddress = undefined;
540
+ function getRequest(method, args, contractAddressOrOptions) {
541
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
542
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
543
+ const call = {
544
+ contractName: 'VaultErc20Token',
545
+ method,
546
+ args,
547
+ address,
548
+ deployAddress,
549
+ defaultValue,
550
+ getAbi: () => abi,
551
+ with: (options) => {
552
+ call.address = options.contractAddress;
553
+ call.defaultValue = options.defaultValue;
554
+ return call;
555
+ },
556
+ defaultTo: (defaultValue) => {
557
+ call.defaultValue = defaultValue;
558
+ return call;
559
+ },
560
+ at: (address) => {
561
+ call.address = address;
562
+ return call;
563
+ },
564
+ };
565
+ return call;
566
+ }
567
+ export const call = {
568
+ name: (...args) => getRequest('name', args),
569
+ symbol: (...args) => getRequest('symbol', args),
570
+ decimals: (...args) => getRequest('decimals', args),
571
+ DOMAIN_SEPARATOR: (...args) => getRequest('DOMAIN_SEPARATOR', args),
572
+ undyHq: (...args) => getRequest('undyHq', args),
573
+ blacklisted: (...args) => getRequest('blacklisted', args),
574
+ isPaused: (...args) => getRequest('isPaused', args),
575
+ balanceOf: (...args) => getRequest('balanceOf', args),
576
+ allowance: (...args) => getRequest('allowance', args),
577
+ totalSupply: (...args) => getRequest('totalSupply', args),
578
+ TOKEN_NAME: (...args) => getRequest('TOKEN_NAME', args),
579
+ TOKEN_SYMBOL: (...args) => getRequest('TOKEN_SYMBOL', args),
580
+ TOKEN_DECIMALS: (...args) => getRequest('TOKEN_DECIMALS', args),
581
+ VERSION: (...args) => getRequest('VERSION', args),
582
+ nonces: (...args) => getRequest('nonces', args),
583
+ };
584
+ function getMutation(functionName) {
585
+ return {
586
+ contractName: 'VaultErc20Token',
587
+ functionName,
588
+ deployAddress,
589
+ argsType: undefined,
590
+ getAbi: () => abi,
591
+ };
592
+ }
593
+ export const mutation = {
594
+ transfer: getMutation('transfer'),
595
+ transferFrom: getMutation('transferFrom'),
596
+ approve: getMutation('approve'),
597
+ increaseAllowance: getMutation('increaseAllowance'),
598
+ decreaseAllowance: getMutation('decreaseAllowance'),
599
+ burn: getMutation('burn'),
600
+ permit: getMutation('permit'),
601
+ setBlacklist: getMutation('setBlacklist'),
602
+ burnBlacklistTokens: getMutation('burnBlacklistTokens'),
603
+ pause: getMutation('pause'),
604
+ };
605
+ export function parseEvents(eventName, events) {
606
+ return events.map((event) => {
607
+ return {
608
+ event,
609
+ parsed: parseEventLogs({
610
+ abi,
611
+ eventName,
612
+ logs: [event],
613
+ }),
614
+ };
615
+ });
616
+ }
617
+ export function getEventTopic(eventName) {
618
+ return encodeEventTopics({ abi, eventName })[0];
619
+ }
620
+ export function toSdk(deployAddress, publicClient, walletClient, addressResolver) {
621
+ return {
622
+ deployAddress,
623
+ abi,
624
+ events: {
625
+ Transfer: { topic: getEventTopic('Transfer'), parse: (events) => parseEvents('Transfer', events) },
626
+ Approval: { topic: getEventTopic('Approval'), parse: (events) => parseEvents('Approval', events) },
627
+ BlacklistModified: { topic: getEventTopic('BlacklistModified'), parse: (events) => parseEvents('BlacklistModified', events) },
628
+ TokenPauseModified: { topic: getEventTopic('TokenPauseModified'), parse: (events) => parseEvents('TokenPauseModified', events) },
629
+ },
630
+ // Queries
631
+ name: (...args) => singleQuery(publicClient, call.name(...args).at(deployAddress), {}, addressResolver),
632
+ symbol: (...args) => singleQuery(publicClient, call.symbol(...args).at(deployAddress), {}, addressResolver),
633
+ decimals: (...args) => singleQuery(publicClient, call.decimals(...args).at(deployAddress), {}, addressResolver),
634
+ DOMAIN_SEPARATOR: (...args) => singleQuery(publicClient, call.DOMAIN_SEPARATOR(...args).at(deployAddress), {}, addressResolver),
635
+ undyHq: (...args) => singleQuery(publicClient, call.undyHq(...args).at(deployAddress), {}, addressResolver),
636
+ blacklisted: (...args) => singleQuery(publicClient, call.blacklisted(...args).at(deployAddress), {}, addressResolver),
637
+ isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args).at(deployAddress), {}, addressResolver),
638
+ balanceOf: (...args) => singleQuery(publicClient, call.balanceOf(...args).at(deployAddress), {}, addressResolver),
639
+ allowance: (...args) => singleQuery(publicClient, call.allowance(...args).at(deployAddress), {}, addressResolver),
640
+ totalSupply: (...args) => singleQuery(publicClient, call.totalSupply(...args).at(deployAddress), {}, addressResolver),
641
+ TOKEN_NAME: (...args) => singleQuery(publicClient, call.TOKEN_NAME(...args).at(deployAddress), {}, addressResolver),
642
+ TOKEN_SYMBOL: (...args) => singleQuery(publicClient, call.TOKEN_SYMBOL(...args).at(deployAddress), {}, addressResolver),
643
+ TOKEN_DECIMALS: (...args) => singleQuery(publicClient, call.TOKEN_DECIMALS(...args).at(deployAddress), {}, addressResolver),
644
+ VERSION: (...args) => singleQuery(publicClient, call.VERSION(...args).at(deployAddress), {}, addressResolver),
645
+ nonces: (...args) => singleQuery(publicClient, call.nonces(...args).at(deployAddress), {}, addressResolver),
646
+ // Mutations
647
+ transfer: (...args) => mutate(walletClient, mutation.transfer, { address: deployAddress, addressResolver })(...args),
648
+ transferFrom: (...args) => mutate(walletClient, mutation.transferFrom, { address: deployAddress, addressResolver })(...args),
649
+ approve: (...args) => mutate(walletClient, mutation.approve, { address: deployAddress, addressResolver })(...args),
650
+ increaseAllowance: (...args) => mutate(walletClient, mutation.increaseAllowance, { address: deployAddress, addressResolver })(...args),
651
+ decreaseAllowance: (...args) => mutate(walletClient, mutation.decreaseAllowance, { address: deployAddress, addressResolver })(...args),
652
+ burn: (...args) => mutate(walletClient, mutation.burn, { address: deployAddress, addressResolver })(...args),
653
+ permit: (...args) => mutate(walletClient, mutation.permit, { address: deployAddress, addressResolver })(...args),
654
+ setBlacklist: (...args) => mutate(walletClient, mutation.setBlacklist, { address: deployAddress, addressResolver })(...args),
655
+ burnBlacklistTokens: (...args) => mutate(walletClient, mutation.burnBlacklistTokens, { address: deployAddress, addressResolver })(...args),
656
+ pause: (...args) => mutate(walletClient, mutation.pause, { address: deployAddress, addressResolver })(...args),
657
+ };
658
+ }