@gitmyabi/usddpsm7 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,728 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * UsddPsm7_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const UsddPsm7_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "gemJoin_";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "address";
14
+ readonly name: "usddJoin_";
15
+ readonly type: "address";
16
+ }, {
17
+ readonly internalType: "address";
18
+ readonly name: "vow_";
19
+ readonly type: "address";
20
+ }];
21
+ readonly stateMutability: "nonpayable";
22
+ readonly type: "constructor";
23
+ }, {
24
+ readonly anonymous: false;
25
+ readonly inputs: readonly [{
26
+ readonly indexed: true;
27
+ readonly internalType: "address";
28
+ readonly name: "owner";
29
+ readonly type: "address";
30
+ }, {
31
+ readonly indexed: false;
32
+ readonly internalType: "uint256";
33
+ readonly name: "value";
34
+ readonly type: "uint256";
35
+ }, {
36
+ readonly indexed: false;
37
+ readonly internalType: "uint256";
38
+ readonly name: "fee";
39
+ readonly type: "uint256";
40
+ }];
41
+ readonly name: "BuyGem";
42
+ readonly type: "event";
43
+ }, {
44
+ readonly anonymous: false;
45
+ readonly inputs: readonly [{
46
+ readonly indexed: true;
47
+ readonly internalType: "address";
48
+ readonly name: "usr";
49
+ readonly type: "address";
50
+ }];
51
+ readonly name: "Deny";
52
+ readonly type: "event";
53
+ }, {
54
+ readonly anonymous: false;
55
+ readonly inputs: readonly [{
56
+ readonly indexed: true;
57
+ readonly internalType: "bytes32";
58
+ readonly name: "what";
59
+ readonly type: "bytes32";
60
+ }, {
61
+ readonly indexed: false;
62
+ readonly internalType: "uint256";
63
+ readonly name: "data";
64
+ readonly type: "uint256";
65
+ }];
66
+ readonly name: "File";
67
+ readonly type: "event";
68
+ }, {
69
+ readonly anonymous: false;
70
+ readonly inputs: readonly [{
71
+ readonly indexed: true;
72
+ readonly internalType: "address";
73
+ readonly name: "usr";
74
+ readonly type: "address";
75
+ }];
76
+ readonly name: "Rely";
77
+ readonly type: "event";
78
+ }, {
79
+ readonly anonymous: false;
80
+ readonly inputs: readonly [{
81
+ readonly indexed: true;
82
+ readonly internalType: "address";
83
+ readonly name: "owner";
84
+ readonly type: "address";
85
+ }, {
86
+ readonly indexed: false;
87
+ readonly internalType: "uint256";
88
+ readonly name: "value";
89
+ readonly type: "uint256";
90
+ }, {
91
+ readonly indexed: false;
92
+ readonly internalType: "uint256";
93
+ readonly name: "fee";
94
+ readonly type: "uint256";
95
+ }];
96
+ readonly name: "SellGem";
97
+ readonly type: "event";
98
+ }, {
99
+ readonly inputs: readonly [];
100
+ readonly name: "buyEnabled";
101
+ readonly outputs: readonly [{
102
+ readonly internalType: "uint256";
103
+ readonly name: "";
104
+ readonly type: "uint256";
105
+ }];
106
+ readonly stateMutability: "view";
107
+ readonly type: "function";
108
+ }, {
109
+ readonly inputs: readonly [{
110
+ readonly internalType: "address";
111
+ readonly name: "usr";
112
+ readonly type: "address";
113
+ }, {
114
+ readonly internalType: "uint256";
115
+ readonly name: "gemAmt";
116
+ readonly type: "uint256";
117
+ }];
118
+ readonly name: "buyGem";
119
+ readonly outputs: readonly [];
120
+ readonly stateMutability: "nonpayable";
121
+ readonly type: "function";
122
+ }, {
123
+ readonly inputs: readonly [{
124
+ readonly internalType: "address";
125
+ readonly name: "usr";
126
+ readonly type: "address";
127
+ }];
128
+ readonly name: "deny";
129
+ readonly outputs: readonly [];
130
+ readonly stateMutability: "nonpayable";
131
+ readonly type: "function";
132
+ }, {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "bytes32";
135
+ readonly name: "what";
136
+ readonly type: "bytes32";
137
+ }, {
138
+ readonly internalType: "uint256";
139
+ readonly name: "data";
140
+ readonly type: "uint256";
141
+ }];
142
+ readonly name: "file";
143
+ readonly outputs: readonly [];
144
+ readonly stateMutability: "nonpayable";
145
+ readonly type: "function";
146
+ }, {
147
+ readonly inputs: readonly [];
148
+ readonly name: "gemJoin";
149
+ readonly outputs: readonly [{
150
+ readonly internalType: "contract AuthGemJoinAbstract";
151
+ readonly name: "";
152
+ readonly type: "address";
153
+ }];
154
+ readonly stateMutability: "view";
155
+ readonly type: "function";
156
+ }, {
157
+ readonly inputs: readonly [{
158
+ readonly internalType: "address";
159
+ readonly name: "usr";
160
+ readonly type: "address";
161
+ }];
162
+ readonly name: "hope";
163
+ readonly outputs: readonly [];
164
+ readonly stateMutability: "nonpayable";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [];
168
+ readonly name: "ilk";
169
+ readonly outputs: readonly [{
170
+ readonly internalType: "bytes32";
171
+ readonly name: "";
172
+ readonly type: "bytes32";
173
+ }];
174
+ readonly stateMutability: "view";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "address";
179
+ readonly name: "usr";
180
+ readonly type: "address";
181
+ }];
182
+ readonly name: "nope";
183
+ readonly outputs: readonly [];
184
+ readonly stateMutability: "nonpayable";
185
+ readonly type: "function";
186
+ }, {
187
+ readonly inputs: readonly [{
188
+ readonly internalType: "address";
189
+ readonly name: "usr";
190
+ readonly type: "address";
191
+ }];
192
+ readonly name: "rely";
193
+ readonly outputs: readonly [];
194
+ readonly stateMutability: "nonpayable";
195
+ readonly type: "function";
196
+ }, {
197
+ readonly inputs: readonly [];
198
+ readonly name: "sellEnabled";
199
+ readonly outputs: readonly [{
200
+ readonly internalType: "uint256";
201
+ readonly name: "";
202
+ readonly type: "uint256";
203
+ }];
204
+ readonly stateMutability: "view";
205
+ readonly type: "function";
206
+ }, {
207
+ readonly inputs: readonly [{
208
+ readonly internalType: "address";
209
+ readonly name: "usr";
210
+ readonly type: "address";
211
+ }, {
212
+ readonly internalType: "uint256";
213
+ readonly name: "gemAmt";
214
+ readonly type: "uint256";
215
+ }];
216
+ readonly name: "sellGem";
217
+ readonly outputs: readonly [];
218
+ readonly stateMutability: "nonpayable";
219
+ readonly type: "function";
220
+ }, {
221
+ readonly inputs: readonly [];
222
+ readonly name: "tin";
223
+ readonly outputs: readonly [{
224
+ readonly internalType: "uint256";
225
+ readonly name: "";
226
+ readonly type: "uint256";
227
+ }];
228
+ readonly stateMutability: "view";
229
+ readonly type: "function";
230
+ }, {
231
+ readonly inputs: readonly [];
232
+ readonly name: "tout";
233
+ readonly outputs: readonly [{
234
+ readonly internalType: "uint256";
235
+ readonly name: "";
236
+ readonly type: "uint256";
237
+ }];
238
+ readonly stateMutability: "view";
239
+ readonly type: "function";
240
+ }, {
241
+ readonly inputs: readonly [];
242
+ readonly name: "usdd";
243
+ readonly outputs: readonly [{
244
+ readonly internalType: "contract UsddAbstract";
245
+ readonly name: "";
246
+ readonly type: "address";
247
+ }];
248
+ readonly stateMutability: "view";
249
+ readonly type: "function";
250
+ }, {
251
+ readonly inputs: readonly [];
252
+ readonly name: "usddJoin";
253
+ readonly outputs: readonly [{
254
+ readonly internalType: "contract UsddJoinAbstract";
255
+ readonly name: "";
256
+ readonly type: "address";
257
+ }];
258
+ readonly stateMutability: "view";
259
+ readonly type: "function";
260
+ }, {
261
+ readonly inputs: readonly [];
262
+ readonly name: "vat";
263
+ readonly outputs: readonly [{
264
+ readonly internalType: "contract VatAbstract";
265
+ readonly name: "";
266
+ readonly type: "address";
267
+ }];
268
+ readonly stateMutability: "view";
269
+ readonly type: "function";
270
+ }, {
271
+ readonly inputs: readonly [];
272
+ readonly name: "vow";
273
+ readonly outputs: readonly [{
274
+ readonly internalType: "address";
275
+ readonly name: "";
276
+ readonly type: "address";
277
+ }];
278
+ readonly stateMutability: "view";
279
+ readonly type: "function";
280
+ }, {
281
+ readonly inputs: readonly [{
282
+ readonly internalType: "address";
283
+ readonly name: "";
284
+ readonly type: "address";
285
+ }];
286
+ readonly name: "wards";
287
+ readonly outputs: readonly [{
288
+ readonly internalType: "uint256";
289
+ readonly name: "";
290
+ readonly type: "uint256";
291
+ }];
292
+ readonly stateMutability: "view";
293
+ readonly type: "function";
294
+ }];
295
+ /**
296
+ * Type-safe ABI for UsddPsm7_json
297
+ */
298
+ export type UsddPsm7_jsonAbi = typeof UsddPsm7_jsonAbi;
299
+ /**
300
+ * Contract instance type for UsddPsm7_json
301
+ */
302
+ export type UsddPsm7_jsonContract = any;
303
+ /**
304
+ * UsddPsm7_json Contract Class
305
+ *
306
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
307
+ *
308
+ * @example
309
+ * ```typescript
310
+ * import { createPublicClient, createWalletClient, http } from 'viem';
311
+ * import { mainnet } from 'viem/chains';
312
+ * import { UsddPsm7_json } from 'UsddPsm7_json';
313
+ *
314
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
315
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
316
+ *
317
+ * const contract = new UsddPsm7_json('0x...', { publicClient, walletClient });
318
+ *
319
+ * // Read functions
320
+ * const result = await contract.balanceOf('0x...');
321
+ *
322
+ * // Write functions
323
+ * const hash = await contract.transfer('0x...', 1000n);
324
+ *
325
+ * // Simulate transactions (dry-run)
326
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
327
+ * console.log('Gas estimate:', simulation.request.gas);
328
+ *
329
+ * // Watch events
330
+ * const unwatch = contract.watch.Transfer((event) => {
331
+ * console.log('Transfer event:', event);
332
+ * });
333
+ * ```
334
+ */
335
+ export declare class UsddPsm7_json {
336
+ private contract;
337
+ private contractAddress;
338
+ private publicClient;
339
+ constructor(address: Address, clients: {
340
+ publicClient: PublicClient;
341
+ walletClient?: WalletClient;
342
+ });
343
+ /**
344
+ * Get the contract address
345
+ */
346
+ get address(): Address;
347
+ /**
348
+ * Get the underlying viem contract instance
349
+ */
350
+ getContract(): UsddPsm7_jsonContract;
351
+ /**
352
+ * buyEnabled
353
+ * view
354
+ */
355
+ buyEnabled(): Promise<bigint>;
356
+ /**
357
+ * gemJoin
358
+ * view
359
+ */
360
+ gemJoin(): Promise<`0x${string}`>;
361
+ /**
362
+ * ilk
363
+ * view
364
+ */
365
+ ilk(): Promise<`0x${string}`>;
366
+ /**
367
+ * sellEnabled
368
+ * view
369
+ */
370
+ sellEnabled(): Promise<bigint>;
371
+ /**
372
+ * tin
373
+ * view
374
+ */
375
+ tin(): Promise<bigint>;
376
+ /**
377
+ * tout
378
+ * view
379
+ */
380
+ tout(): Promise<bigint>;
381
+ /**
382
+ * usdd
383
+ * view
384
+ */
385
+ usdd(): Promise<`0x${string}`>;
386
+ /**
387
+ * usddJoin
388
+ * view
389
+ */
390
+ usddJoin(): Promise<`0x${string}`>;
391
+ /**
392
+ * vat
393
+ * view
394
+ */
395
+ vat(): Promise<`0x${string}`>;
396
+ /**
397
+ * vow
398
+ * view
399
+ */
400
+ vow(): Promise<`0x${string}`>;
401
+ /**
402
+ * wards
403
+ * view
404
+ */
405
+ wards(arg0: `0x${string}`): Promise<bigint>;
406
+ /**
407
+ * buyGem
408
+ * nonpayable
409
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
410
+ */
411
+ buyGem(usr: `0x${string}`, gemAmt: bigint, options?: {
412
+ accessList?: import('viem').AccessList;
413
+ authorizationList?: import('viem').AuthorizationList;
414
+ chain?: import('viem').Chain | null;
415
+ dataSuffix?: `0x${string}`;
416
+ gas?: bigint;
417
+ gasPrice?: bigint;
418
+ maxFeePerGas?: bigint;
419
+ maxPriorityFeePerGas?: bigint;
420
+ nonce?: number;
421
+ value?: bigint;
422
+ }): Promise<`0x${string}`>;
423
+ /**
424
+ * deny
425
+ * nonpayable
426
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
427
+ */
428
+ deny(usr: `0x${string}`, options?: {
429
+ accessList?: import('viem').AccessList;
430
+ authorizationList?: import('viem').AuthorizationList;
431
+ chain?: import('viem').Chain | null;
432
+ dataSuffix?: `0x${string}`;
433
+ gas?: bigint;
434
+ gasPrice?: bigint;
435
+ maxFeePerGas?: bigint;
436
+ maxPriorityFeePerGas?: bigint;
437
+ nonce?: number;
438
+ value?: bigint;
439
+ }): Promise<`0x${string}`>;
440
+ /**
441
+ * file
442
+ * nonpayable
443
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
444
+ */
445
+ file(what: `0x${string}`, data: bigint, options?: {
446
+ accessList?: import('viem').AccessList;
447
+ authorizationList?: import('viem').AuthorizationList;
448
+ chain?: import('viem').Chain | null;
449
+ dataSuffix?: `0x${string}`;
450
+ gas?: bigint;
451
+ gasPrice?: bigint;
452
+ maxFeePerGas?: bigint;
453
+ maxPriorityFeePerGas?: bigint;
454
+ nonce?: number;
455
+ value?: bigint;
456
+ }): Promise<`0x${string}`>;
457
+ /**
458
+ * hope
459
+ * nonpayable
460
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
461
+ */
462
+ hope(usr: `0x${string}`, options?: {
463
+ accessList?: import('viem').AccessList;
464
+ authorizationList?: import('viem').AuthorizationList;
465
+ chain?: import('viem').Chain | null;
466
+ dataSuffix?: `0x${string}`;
467
+ gas?: bigint;
468
+ gasPrice?: bigint;
469
+ maxFeePerGas?: bigint;
470
+ maxPriorityFeePerGas?: bigint;
471
+ nonce?: number;
472
+ value?: bigint;
473
+ }): Promise<`0x${string}`>;
474
+ /**
475
+ * nope
476
+ * nonpayable
477
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
478
+ */
479
+ nope(usr: `0x${string}`, options?: {
480
+ accessList?: import('viem').AccessList;
481
+ authorizationList?: import('viem').AuthorizationList;
482
+ chain?: import('viem').Chain | null;
483
+ dataSuffix?: `0x${string}`;
484
+ gas?: bigint;
485
+ gasPrice?: bigint;
486
+ maxFeePerGas?: bigint;
487
+ maxPriorityFeePerGas?: bigint;
488
+ nonce?: number;
489
+ value?: bigint;
490
+ }): Promise<`0x${string}`>;
491
+ /**
492
+ * rely
493
+ * nonpayable
494
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
495
+ */
496
+ rely(usr: `0x${string}`, options?: {
497
+ accessList?: import('viem').AccessList;
498
+ authorizationList?: import('viem').AuthorizationList;
499
+ chain?: import('viem').Chain | null;
500
+ dataSuffix?: `0x${string}`;
501
+ gas?: bigint;
502
+ gasPrice?: bigint;
503
+ maxFeePerGas?: bigint;
504
+ maxPriorityFeePerGas?: bigint;
505
+ nonce?: number;
506
+ value?: bigint;
507
+ }): Promise<`0x${string}`>;
508
+ /**
509
+ * sellGem
510
+ * nonpayable
511
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
512
+ */
513
+ sellGem(usr: `0x${string}`, gemAmt: bigint, options?: {
514
+ accessList?: import('viem').AccessList;
515
+ authorizationList?: import('viem').AuthorizationList;
516
+ chain?: import('viem').Chain | null;
517
+ dataSuffix?: `0x${string}`;
518
+ gas?: bigint;
519
+ gasPrice?: bigint;
520
+ maxFeePerGas?: bigint;
521
+ maxPriorityFeePerGas?: bigint;
522
+ nonce?: number;
523
+ value?: bigint;
524
+ }): Promise<`0x${string}`>;
525
+ /**
526
+ * Simulate contract write operations (dry-run without sending transaction)
527
+ *
528
+ * @example
529
+ * const result = await contract.simulate.transfer('0x...', 1000n);
530
+ * console.log('Gas estimate:', result.request.gas);
531
+ * console.log('Would succeed:', result.result);
532
+ */
533
+ get simulate(): {
534
+ /**
535
+ * Simulate buyGem
536
+ * Returns gas estimate and result without sending transaction
537
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
538
+ */
539
+ buyGem(usr: `0x${string}`, gemAmt: bigint, options?: {
540
+ accessList?: import("viem").AccessList;
541
+ authorizationList?: import("viem").AuthorizationList;
542
+ chain?: import("viem").Chain | null;
543
+ dataSuffix?: `0x${string}`;
544
+ gas?: bigint;
545
+ gasPrice?: bigint;
546
+ maxFeePerGas?: bigint;
547
+ maxPriorityFeePerGas?: bigint;
548
+ nonce?: number;
549
+ value?: bigint;
550
+ }): Promise<void>;
551
+ /**
552
+ * Simulate deny
553
+ * Returns gas estimate and result without sending transaction
554
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
555
+ */
556
+ deny(usr: `0x${string}`, options?: {
557
+ accessList?: import("viem").AccessList;
558
+ authorizationList?: import("viem").AuthorizationList;
559
+ chain?: import("viem").Chain | null;
560
+ dataSuffix?: `0x${string}`;
561
+ gas?: bigint;
562
+ gasPrice?: bigint;
563
+ maxFeePerGas?: bigint;
564
+ maxPriorityFeePerGas?: bigint;
565
+ nonce?: number;
566
+ value?: bigint;
567
+ }): Promise<void>;
568
+ /**
569
+ * Simulate file
570
+ * Returns gas estimate and result without sending transaction
571
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
572
+ */
573
+ file(what: `0x${string}`, data: bigint, options?: {
574
+ accessList?: import("viem").AccessList;
575
+ authorizationList?: import("viem").AuthorizationList;
576
+ chain?: import("viem").Chain | null;
577
+ dataSuffix?: `0x${string}`;
578
+ gas?: bigint;
579
+ gasPrice?: bigint;
580
+ maxFeePerGas?: bigint;
581
+ maxPriorityFeePerGas?: bigint;
582
+ nonce?: number;
583
+ value?: bigint;
584
+ }): Promise<void>;
585
+ /**
586
+ * Simulate hope
587
+ * Returns gas estimate and result without sending transaction
588
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
589
+ */
590
+ hope(usr: `0x${string}`, options?: {
591
+ accessList?: import("viem").AccessList;
592
+ authorizationList?: import("viem").AuthorizationList;
593
+ chain?: import("viem").Chain | null;
594
+ dataSuffix?: `0x${string}`;
595
+ gas?: bigint;
596
+ gasPrice?: bigint;
597
+ maxFeePerGas?: bigint;
598
+ maxPriorityFeePerGas?: bigint;
599
+ nonce?: number;
600
+ value?: bigint;
601
+ }): Promise<void>;
602
+ /**
603
+ * Simulate nope
604
+ * Returns gas estimate and result without sending transaction
605
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
606
+ */
607
+ nope(usr: `0x${string}`, options?: {
608
+ accessList?: import("viem").AccessList;
609
+ authorizationList?: import("viem").AuthorizationList;
610
+ chain?: import("viem").Chain | null;
611
+ dataSuffix?: `0x${string}`;
612
+ gas?: bigint;
613
+ gasPrice?: bigint;
614
+ maxFeePerGas?: bigint;
615
+ maxPriorityFeePerGas?: bigint;
616
+ nonce?: number;
617
+ value?: bigint;
618
+ }): Promise<void>;
619
+ /**
620
+ * Simulate rely
621
+ * Returns gas estimate and result without sending transaction
622
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
623
+ */
624
+ rely(usr: `0x${string}`, options?: {
625
+ accessList?: import("viem").AccessList;
626
+ authorizationList?: import("viem").AuthorizationList;
627
+ chain?: import("viem").Chain | null;
628
+ dataSuffix?: `0x${string}`;
629
+ gas?: bigint;
630
+ gasPrice?: bigint;
631
+ maxFeePerGas?: bigint;
632
+ maxPriorityFeePerGas?: bigint;
633
+ nonce?: number;
634
+ value?: bigint;
635
+ }): Promise<void>;
636
+ /**
637
+ * Simulate sellGem
638
+ * Returns gas estimate and result without sending transaction
639
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
640
+ */
641
+ sellGem(usr: `0x${string}`, gemAmt: bigint, options?: {
642
+ accessList?: import("viem").AccessList;
643
+ authorizationList?: import("viem").AuthorizationList;
644
+ chain?: import("viem").Chain | null;
645
+ dataSuffix?: `0x${string}`;
646
+ gas?: bigint;
647
+ gasPrice?: bigint;
648
+ maxFeePerGas?: bigint;
649
+ maxPriorityFeePerGas?: bigint;
650
+ nonce?: number;
651
+ value?: bigint;
652
+ }): Promise<void>;
653
+ };
654
+ /**
655
+ * Watch contract events
656
+ *
657
+ * @example
658
+ * // Watch all Transfer events
659
+ * const unwatch = contract.watch.Transfer((event) => {
660
+ * console.log('Transfer:', event);
661
+ * });
662
+ *
663
+ * // Stop watching
664
+ * unwatch();
665
+ */
666
+ get watch(): {
667
+ /**
668
+ * Watch BuyGem events
669
+ * @param callback Function to call when event is emitted
670
+ * @param filter Optional filter for indexed parameters
671
+ * @returns Unwatch function to stop listening
672
+ */
673
+ BuyGem: (callback: (event: {
674
+ owner: `0x${string}`;
675
+ value: bigint;
676
+ fee: bigint;
677
+ }) => void, filter?: {
678
+ owner: `0x${string}`;
679
+ }) => () => void;
680
+ /**
681
+ * Watch Deny events
682
+ * @param callback Function to call when event is emitted
683
+ * @param filter Optional filter for indexed parameters
684
+ * @returns Unwatch function to stop listening
685
+ */
686
+ Deny: (callback: (event: {
687
+ usr: `0x${string}`;
688
+ }) => void, filter?: {
689
+ usr: `0x${string}`;
690
+ }) => () => void;
691
+ /**
692
+ * Watch File events
693
+ * @param callback Function to call when event is emitted
694
+ * @param filter Optional filter for indexed parameters
695
+ * @returns Unwatch function to stop listening
696
+ */
697
+ File: (callback: (event: {
698
+ what: `0x${string}`;
699
+ data: bigint;
700
+ }) => void, filter?: {
701
+ what: `0x${string}`;
702
+ }) => () => void;
703
+ /**
704
+ * Watch Rely events
705
+ * @param callback Function to call when event is emitted
706
+ * @param filter Optional filter for indexed parameters
707
+ * @returns Unwatch function to stop listening
708
+ */
709
+ Rely: (callback: (event: {
710
+ usr: `0x${string}`;
711
+ }) => void, filter?: {
712
+ usr: `0x${string}`;
713
+ }) => () => void;
714
+ /**
715
+ * Watch SellGem events
716
+ * @param callback Function to call when event is emitted
717
+ * @param filter Optional filter for indexed parameters
718
+ * @returns Unwatch function to stop listening
719
+ */
720
+ SellGem: (callback: (event: {
721
+ owner: `0x${string}`;
722
+ value: bigint;
723
+ fee: bigint;
724
+ }) => void, filter?: {
725
+ owner: `0x${string}`;
726
+ }) => () => void;
727
+ };
728
+ }