@gitmyabi/hardcompanyfee 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,857 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * HardCompanyFee.Payee struct type
4
+ */
5
+ export type HardCompanyFee_Payee = {
6
+ account: `0x${string}`;
7
+ bps: bigint;
8
+ };
9
+ /**
10
+ * HardCompanyFee ABI
11
+ *
12
+ * This ABI is typed using viem's type system for full type safety.
13
+ */
14
+ export declare const HardCompanyFeeAbi: readonly [{
15
+ readonly inputs: readonly [{
16
+ readonly internalType: "address";
17
+ readonly name: "owner_";
18
+ readonly type: "address";
19
+ }, {
20
+ readonly internalType: "address";
21
+ readonly name: "stable_";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly internalType: "address";
25
+ readonly name: "payeeA";
26
+ readonly type: "address";
27
+ }, {
28
+ readonly internalType: "address";
29
+ readonly name: "payeeB";
30
+ readonly type: "address";
31
+ }, {
32
+ readonly internalType: "uint64";
33
+ readonly name: "timelock_";
34
+ readonly type: "uint64";
35
+ }];
36
+ readonly stateMutability: "nonpayable";
37
+ readonly type: "constructor";
38
+ }, {
39
+ readonly inputs: readonly [];
40
+ readonly name: "AlreadyInitialized";
41
+ readonly type: "error";
42
+ }, {
43
+ readonly inputs: readonly [];
44
+ readonly name: "BadTerms";
45
+ readonly type: "error";
46
+ }, {
47
+ readonly inputs: readonly [];
48
+ readonly name: "BalanceUnreadable";
49
+ readonly type: "error";
50
+ }, {
51
+ readonly inputs: readonly [];
52
+ readonly name: "InvalidPayees";
53
+ readonly type: "error";
54
+ }, {
55
+ readonly inputs: readonly [];
56
+ readonly name: "InvalidShares";
57
+ readonly type: "error";
58
+ }, {
59
+ readonly inputs: readonly [];
60
+ readonly name: "NewOwnerIsZeroAddress";
61
+ readonly type: "error";
62
+ }, {
63
+ readonly inputs: readonly [];
64
+ readonly name: "NoHandoverRequest";
65
+ readonly type: "error";
66
+ }, {
67
+ readonly inputs: readonly [];
68
+ readonly name: "NothingToClaim";
69
+ readonly type: "error";
70
+ }, {
71
+ readonly inputs: readonly [];
72
+ readonly name: "Reentrancy";
73
+ readonly type: "error";
74
+ }, {
75
+ readonly inputs: readonly [];
76
+ readonly name: "ThirdPayeeTooLarge";
77
+ readonly type: "error";
78
+ }, {
79
+ readonly inputs: readonly [];
80
+ readonly name: "Unauthorized";
81
+ readonly type: "error";
82
+ }, {
83
+ readonly inputs: readonly [];
84
+ readonly name: "ZeroAddress";
85
+ readonly type: "error";
86
+ }, {
87
+ readonly anonymous: false;
88
+ readonly inputs: readonly [{
89
+ readonly indexed: true;
90
+ readonly internalType: "address";
91
+ readonly name: "payee";
92
+ readonly type: "address";
93
+ }, {
94
+ readonly indexed: false;
95
+ readonly internalType: "uint256";
96
+ readonly name: "amount";
97
+ readonly type: "uint256";
98
+ }];
99
+ readonly name: "FeeClaimed";
100
+ readonly type: "event";
101
+ }, {
102
+ readonly anonymous: false;
103
+ readonly inputs: readonly [{
104
+ readonly indexed: false;
105
+ readonly internalType: "uint256";
106
+ readonly name: "incoming";
107
+ readonly type: "uint256";
108
+ }];
109
+ readonly name: "FeeSynced";
110
+ readonly type: "event";
111
+ }, {
112
+ readonly anonymous: false;
113
+ readonly inputs: readonly [{
114
+ readonly indexed: true;
115
+ readonly internalType: "address";
116
+ readonly name: "pendingOwner";
117
+ readonly type: "address";
118
+ }];
119
+ readonly name: "OwnershipHandoverCanceled";
120
+ readonly type: "event";
121
+ }, {
122
+ readonly anonymous: false;
123
+ readonly inputs: readonly [{
124
+ readonly indexed: true;
125
+ readonly internalType: "address";
126
+ readonly name: "pendingOwner";
127
+ readonly type: "address";
128
+ }];
129
+ readonly name: "OwnershipHandoverRequested";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly anonymous: false;
133
+ readonly inputs: readonly [{
134
+ readonly indexed: true;
135
+ readonly internalType: "address";
136
+ readonly name: "oldOwner";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly indexed: true;
140
+ readonly internalType: "address";
141
+ readonly name: "newOwner";
142
+ readonly type: "address";
143
+ }];
144
+ readonly name: "OwnershipTransferred";
145
+ readonly type: "event";
146
+ }, {
147
+ readonly anonymous: false;
148
+ readonly inputs: readonly [];
149
+ readonly name: "PayeesApplied";
150
+ readonly type: "event";
151
+ }, {
152
+ readonly anonymous: false;
153
+ readonly inputs: readonly [{
154
+ readonly indexed: false;
155
+ readonly internalType: "address[]";
156
+ readonly name: "accounts";
157
+ readonly type: "address[]";
158
+ }, {
159
+ readonly indexed: false;
160
+ readonly internalType: "uint16[]";
161
+ readonly name: "shares";
162
+ readonly type: "uint16[]";
163
+ }, {
164
+ readonly indexed: false;
165
+ readonly internalType: "uint64";
166
+ readonly name: "readyAt";
167
+ readonly type: "uint64";
168
+ }];
169
+ readonly name: "PayeesProposed";
170
+ readonly type: "event";
171
+ }, {
172
+ readonly inputs: readonly [];
173
+ readonly name: "accounted";
174
+ readonly outputs: readonly [{
175
+ readonly internalType: "uint256";
176
+ readonly name: "";
177
+ readonly type: "uint256";
178
+ }];
179
+ readonly stateMutability: "view";
180
+ readonly type: "function";
181
+ }, {
182
+ readonly inputs: readonly [];
183
+ readonly name: "cancelOwnershipHandover";
184
+ readonly outputs: readonly [];
185
+ readonly stateMutability: "payable";
186
+ readonly type: "function";
187
+ }, {
188
+ readonly inputs: readonly [];
189
+ readonly name: "claim";
190
+ readonly outputs: readonly [];
191
+ readonly stateMutability: "nonpayable";
192
+ readonly type: "function";
193
+ }, {
194
+ readonly inputs: readonly [{
195
+ readonly internalType: "address";
196
+ readonly name: "";
197
+ readonly type: "address";
198
+ }];
199
+ readonly name: "claimable";
200
+ readonly outputs: readonly [{
201
+ readonly internalType: "uint256";
202
+ readonly name: "";
203
+ readonly type: "uint256";
204
+ }];
205
+ readonly stateMutability: "view";
206
+ readonly type: "function";
207
+ }, {
208
+ readonly inputs: readonly [{
209
+ readonly internalType: "address";
210
+ readonly name: "pendingOwner";
211
+ readonly type: "address";
212
+ }];
213
+ readonly name: "completeOwnershipHandover";
214
+ readonly outputs: readonly [];
215
+ readonly stateMutability: "payable";
216
+ readonly type: "function";
217
+ }, {
218
+ readonly inputs: readonly [];
219
+ readonly name: "getProposedPayees";
220
+ readonly outputs: readonly [{
221
+ readonly components: readonly [{
222
+ readonly internalType: "address";
223
+ readonly name: "account";
224
+ readonly type: "address";
225
+ }, {
226
+ readonly internalType: "uint16";
227
+ readonly name: "bps";
228
+ readonly type: "uint16";
229
+ }];
230
+ readonly internalType: "struct HardCompanyFee.Payee[3]";
231
+ readonly name: "payees_";
232
+ readonly type: "tuple[3]";
233
+ }, {
234
+ readonly internalType: "uint8";
235
+ readonly name: "count_";
236
+ readonly type: "uint8";
237
+ }, {
238
+ readonly internalType: "uint64";
239
+ readonly name: "readyAt_";
240
+ readonly type: "uint64";
241
+ }, {
242
+ readonly internalType: "bool";
243
+ readonly name: "active_";
244
+ readonly type: "bool";
245
+ }];
246
+ readonly stateMutability: "view";
247
+ readonly type: "function";
248
+ }, {
249
+ readonly inputs: readonly [];
250
+ readonly name: "owner";
251
+ readonly outputs: readonly [{
252
+ readonly internalType: "address";
253
+ readonly name: "result";
254
+ readonly type: "address";
255
+ }];
256
+ readonly stateMutability: "view";
257
+ readonly type: "function";
258
+ }, {
259
+ readonly inputs: readonly [{
260
+ readonly internalType: "address";
261
+ readonly name: "pendingOwner";
262
+ readonly type: "address";
263
+ }];
264
+ readonly name: "ownershipHandoverExpiresAt";
265
+ readonly outputs: readonly [{
266
+ readonly internalType: "uint256";
267
+ readonly name: "result";
268
+ readonly type: "uint256";
269
+ }];
270
+ readonly stateMutability: "view";
271
+ readonly type: "function";
272
+ }, {
273
+ readonly inputs: readonly [];
274
+ readonly name: "payeeCount";
275
+ readonly outputs: readonly [{
276
+ readonly internalType: "uint8";
277
+ readonly name: "";
278
+ readonly type: "uint8";
279
+ }];
280
+ readonly stateMutability: "view";
281
+ readonly type: "function";
282
+ }, {
283
+ readonly inputs: readonly [{
284
+ readonly internalType: "uint256";
285
+ readonly name: "";
286
+ readonly type: "uint256";
287
+ }];
288
+ readonly name: "payees";
289
+ readonly outputs: readonly [{
290
+ readonly internalType: "address";
291
+ readonly name: "account";
292
+ readonly type: "address";
293
+ }, {
294
+ readonly internalType: "uint16";
295
+ readonly name: "bps";
296
+ readonly type: "uint16";
297
+ }];
298
+ readonly stateMutability: "view";
299
+ readonly type: "function";
300
+ }, {
301
+ readonly inputs: readonly [];
302
+ readonly name: "proposal";
303
+ readonly outputs: readonly [{
304
+ readonly internalType: "uint8";
305
+ readonly name: "count";
306
+ readonly type: "uint8";
307
+ }, {
308
+ readonly internalType: "uint64";
309
+ readonly name: "readyAt";
310
+ readonly type: "uint64";
311
+ }, {
312
+ readonly internalType: "bool";
313
+ readonly name: "active";
314
+ readonly type: "bool";
315
+ }];
316
+ readonly stateMutability: "view";
317
+ readonly type: "function";
318
+ }, {
319
+ readonly inputs: readonly [{
320
+ readonly internalType: "address[]";
321
+ readonly name: "accounts";
322
+ readonly type: "address[]";
323
+ }, {
324
+ readonly internalType: "uint16[]";
325
+ readonly name: "shares";
326
+ readonly type: "uint16[]";
327
+ }];
328
+ readonly name: "proposePayees";
329
+ readonly outputs: readonly [];
330
+ readonly stateMutability: "nonpayable";
331
+ readonly type: "function";
332
+ }, {
333
+ readonly inputs: readonly [];
334
+ readonly name: "renounceOwnership";
335
+ readonly outputs: readonly [];
336
+ readonly stateMutability: "payable";
337
+ readonly type: "function";
338
+ }, {
339
+ readonly inputs: readonly [];
340
+ readonly name: "requestOwnershipHandover";
341
+ readonly outputs: readonly [];
342
+ readonly stateMutability: "payable";
343
+ readonly type: "function";
344
+ }, {
345
+ readonly inputs: readonly [];
346
+ readonly name: "stable";
347
+ readonly outputs: readonly [{
348
+ readonly internalType: "address";
349
+ readonly name: "";
350
+ readonly type: "address";
351
+ }];
352
+ readonly stateMutability: "view";
353
+ readonly type: "function";
354
+ }, {
355
+ readonly inputs: readonly [];
356
+ readonly name: "sync";
357
+ readonly outputs: readonly [];
358
+ readonly stateMutability: "nonpayable";
359
+ readonly type: "function";
360
+ }, {
361
+ readonly inputs: readonly [];
362
+ readonly name: "timelock";
363
+ readonly outputs: readonly [{
364
+ readonly internalType: "uint64";
365
+ readonly name: "";
366
+ readonly type: "uint64";
367
+ }];
368
+ readonly stateMutability: "view";
369
+ readonly type: "function";
370
+ }, {
371
+ readonly inputs: readonly [{
372
+ readonly internalType: "address";
373
+ readonly name: "newOwner";
374
+ readonly type: "address";
375
+ }];
376
+ readonly name: "transferOwnership";
377
+ readonly outputs: readonly [];
378
+ readonly stateMutability: "payable";
379
+ readonly type: "function";
380
+ }];
381
+ /**
382
+ * Type-safe ABI for HardCompanyFee
383
+ */
384
+ export type HardCompanyFeeAbi = typeof HardCompanyFeeAbi;
385
+ /**
386
+ * Contract instance type for HardCompanyFee
387
+ */
388
+ export type HardCompanyFeeContract = any;
389
+ /**
390
+ * HardCompanyFee Contract Class
391
+ *
392
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
393
+ *
394
+ * @example
395
+ * ```typescript
396
+ * import { createPublicClient, createWalletClient, http } from 'viem';
397
+ * import { mainnet } from 'viem/chains';
398
+ * import { HardCompanyFee } from 'HardCompanyFee';
399
+ *
400
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
401
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
402
+ *
403
+ * const contract = new HardCompanyFee('0x...', { publicClient, walletClient });
404
+ *
405
+ * // Read functions
406
+ * const result = await contract.balanceOf('0x...');
407
+ *
408
+ * // Write functions
409
+ * const hash = await contract.transfer('0x...', 1000n);
410
+ *
411
+ * // Simulate transactions (dry-run)
412
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
413
+ * console.log('Gas estimate:', simulation.request.gas);
414
+ *
415
+ * // Watch events
416
+ * const unwatch = contract.watch.Transfer((event) => {
417
+ * console.log('Transfer event:', event);
418
+ * });
419
+ * ```
420
+ */
421
+ export declare class HardCompanyFee {
422
+ private contract;
423
+ private contractAddress;
424
+ private publicClient;
425
+ constructor(address: Address, clients: {
426
+ publicClient: PublicClient;
427
+ walletClient?: WalletClient;
428
+ });
429
+ /**
430
+ * Get the contract address
431
+ */
432
+ get address(): Address;
433
+ /**
434
+ * Get the underlying viem contract instance.
435
+ */
436
+ getContract(): HardCompanyFeeContract;
437
+ /**
438
+ * accounted
439
+ * view
440
+ */
441
+ accounted(): Promise<bigint>;
442
+ /**
443
+ * claimable
444
+ * view
445
+ */
446
+ claimable(arg0: `0x${string}`): Promise<bigint>;
447
+ /**
448
+ * getProposedPayees
449
+ * view
450
+ */
451
+ getProposedPayees(): Promise<[HardCompanyFee_Payee[], bigint, bigint, boolean]>;
452
+ /**
453
+ * owner
454
+ * view
455
+ */
456
+ owner(): Promise<`0x${string}`>;
457
+ /**
458
+ * ownershipHandoverExpiresAt
459
+ * view
460
+ */
461
+ ownershipHandoverExpiresAt(pendingOwner: `0x${string}`): Promise<bigint>;
462
+ /**
463
+ * payeeCount
464
+ * view
465
+ */
466
+ payeeCount(): Promise<bigint>;
467
+ /**
468
+ * payees
469
+ * view
470
+ */
471
+ payees(arg0: bigint): Promise<[`0x${string}`, bigint]>;
472
+ /**
473
+ * proposal
474
+ * view
475
+ */
476
+ proposal(): Promise<[bigint, bigint, boolean]>;
477
+ /**
478
+ * stable
479
+ * view
480
+ */
481
+ stable(): Promise<`0x${string}`>;
482
+ /**
483
+ * timelock
484
+ * view
485
+ */
486
+ timelock(): Promise<bigint>;
487
+ /**
488
+ * cancelOwnershipHandover
489
+ * payable
490
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
491
+ */
492
+ cancelOwnershipHandover(options?: {
493
+ accessList?: import('viem').AccessList;
494
+ authorizationList?: import('viem').AuthorizationList;
495
+ chain?: import('viem').Chain | null;
496
+ dataSuffix?: `0x${string}`;
497
+ gas?: bigint;
498
+ gasPrice?: bigint;
499
+ maxFeePerGas?: bigint;
500
+ maxPriorityFeePerGas?: bigint;
501
+ nonce?: number;
502
+ value?: bigint;
503
+ }): Promise<`0x${string}`>;
504
+ /**
505
+ * claim
506
+ * nonpayable
507
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
508
+ */
509
+ claim(options?: {
510
+ accessList?: import('viem').AccessList;
511
+ authorizationList?: import('viem').AuthorizationList;
512
+ chain?: import('viem').Chain | null;
513
+ dataSuffix?: `0x${string}`;
514
+ gas?: bigint;
515
+ gasPrice?: bigint;
516
+ maxFeePerGas?: bigint;
517
+ maxPriorityFeePerGas?: bigint;
518
+ nonce?: number;
519
+ value?: bigint;
520
+ }): Promise<`0x${string}`>;
521
+ /**
522
+ * completeOwnershipHandover
523
+ * payable
524
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
525
+ */
526
+ completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
527
+ accessList?: import('viem').AccessList;
528
+ authorizationList?: import('viem').AuthorizationList;
529
+ chain?: import('viem').Chain | null;
530
+ dataSuffix?: `0x${string}`;
531
+ gas?: bigint;
532
+ gasPrice?: bigint;
533
+ maxFeePerGas?: bigint;
534
+ maxPriorityFeePerGas?: bigint;
535
+ nonce?: number;
536
+ value?: bigint;
537
+ }): Promise<`0x${string}`>;
538
+ /**
539
+ * proposePayees
540
+ * nonpayable
541
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
542
+ */
543
+ proposePayees(accounts: `0x${string}`[], shares: bigint[], options?: {
544
+ accessList?: import('viem').AccessList;
545
+ authorizationList?: import('viem').AuthorizationList;
546
+ chain?: import('viem').Chain | null;
547
+ dataSuffix?: `0x${string}`;
548
+ gas?: bigint;
549
+ gasPrice?: bigint;
550
+ maxFeePerGas?: bigint;
551
+ maxPriorityFeePerGas?: bigint;
552
+ nonce?: number;
553
+ value?: bigint;
554
+ }): Promise<`0x${string}`>;
555
+ /**
556
+ * renounceOwnership
557
+ * payable
558
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
559
+ */
560
+ renounceOwnership(options?: {
561
+ accessList?: import('viem').AccessList;
562
+ authorizationList?: import('viem').AuthorizationList;
563
+ chain?: import('viem').Chain | null;
564
+ dataSuffix?: `0x${string}`;
565
+ gas?: bigint;
566
+ gasPrice?: bigint;
567
+ maxFeePerGas?: bigint;
568
+ maxPriorityFeePerGas?: bigint;
569
+ nonce?: number;
570
+ value?: bigint;
571
+ }): Promise<`0x${string}`>;
572
+ /**
573
+ * requestOwnershipHandover
574
+ * payable
575
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
576
+ */
577
+ requestOwnershipHandover(options?: {
578
+ accessList?: import('viem').AccessList;
579
+ authorizationList?: import('viem').AuthorizationList;
580
+ chain?: import('viem').Chain | null;
581
+ dataSuffix?: `0x${string}`;
582
+ gas?: bigint;
583
+ gasPrice?: bigint;
584
+ maxFeePerGas?: bigint;
585
+ maxPriorityFeePerGas?: bigint;
586
+ nonce?: number;
587
+ value?: bigint;
588
+ }): Promise<`0x${string}`>;
589
+ /**
590
+ * sync
591
+ * nonpayable
592
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
593
+ */
594
+ sync(options?: {
595
+ accessList?: import('viem').AccessList;
596
+ authorizationList?: import('viem').AuthorizationList;
597
+ chain?: import('viem').Chain | null;
598
+ dataSuffix?: `0x${string}`;
599
+ gas?: bigint;
600
+ gasPrice?: bigint;
601
+ maxFeePerGas?: bigint;
602
+ maxPriorityFeePerGas?: bigint;
603
+ nonce?: number;
604
+ value?: bigint;
605
+ }): Promise<`0x${string}`>;
606
+ /**
607
+ * transferOwnership
608
+ * payable
609
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
610
+ */
611
+ transferOwnership(newOwner: `0x${string}`, options?: {
612
+ accessList?: import('viem').AccessList;
613
+ authorizationList?: import('viem').AuthorizationList;
614
+ chain?: import('viem').Chain | null;
615
+ dataSuffix?: `0x${string}`;
616
+ gas?: bigint;
617
+ gasPrice?: bigint;
618
+ maxFeePerGas?: bigint;
619
+ maxPriorityFeePerGas?: bigint;
620
+ nonce?: number;
621
+ value?: bigint;
622
+ }): Promise<`0x${string}`>;
623
+ /**
624
+ * Simulate contract write operations (dry-run without sending transaction)
625
+ *
626
+ * @example
627
+ * const result = await contract.simulate.transfer('0x...', 1000n);
628
+ * console.log('Gas estimate:', result.request.gas);
629
+ * console.log('Would succeed:', result.result);
630
+ */
631
+ get simulate(): {
632
+ /**
633
+ * Simulate cancelOwnershipHandover
634
+ * Returns gas estimate and result without sending transaction
635
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
636
+ */
637
+ cancelOwnershipHandover(options?: {
638
+ accessList?: import("viem").AccessList;
639
+ authorizationList?: import("viem").AuthorizationList;
640
+ chain?: import("viem").Chain | null;
641
+ dataSuffix?: `0x${string}`;
642
+ gas?: bigint;
643
+ gasPrice?: bigint;
644
+ maxFeePerGas?: bigint;
645
+ maxPriorityFeePerGas?: bigint;
646
+ nonce?: number;
647
+ value?: bigint;
648
+ }): Promise<void>;
649
+ /**
650
+ * Simulate claim
651
+ * Returns gas estimate and result without sending transaction
652
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
653
+ */
654
+ claim(options?: {
655
+ accessList?: import("viem").AccessList;
656
+ authorizationList?: import("viem").AuthorizationList;
657
+ chain?: import("viem").Chain | null;
658
+ dataSuffix?: `0x${string}`;
659
+ gas?: bigint;
660
+ gasPrice?: bigint;
661
+ maxFeePerGas?: bigint;
662
+ maxPriorityFeePerGas?: bigint;
663
+ nonce?: number;
664
+ value?: bigint;
665
+ }): Promise<void>;
666
+ /**
667
+ * Simulate completeOwnershipHandover
668
+ * Returns gas estimate and result without sending transaction
669
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
670
+ */
671
+ completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
672
+ accessList?: import("viem").AccessList;
673
+ authorizationList?: import("viem").AuthorizationList;
674
+ chain?: import("viem").Chain | null;
675
+ dataSuffix?: `0x${string}`;
676
+ gas?: bigint;
677
+ gasPrice?: bigint;
678
+ maxFeePerGas?: bigint;
679
+ maxPriorityFeePerGas?: bigint;
680
+ nonce?: number;
681
+ value?: bigint;
682
+ }): Promise<void>;
683
+ /**
684
+ * Simulate proposePayees
685
+ * Returns gas estimate and result without sending transaction
686
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
687
+ */
688
+ proposePayees(accounts: `0x${string}`[], shares: bigint[], options?: {
689
+ accessList?: import("viem").AccessList;
690
+ authorizationList?: import("viem").AuthorizationList;
691
+ chain?: import("viem").Chain | null;
692
+ dataSuffix?: `0x${string}`;
693
+ gas?: bigint;
694
+ gasPrice?: bigint;
695
+ maxFeePerGas?: bigint;
696
+ maxPriorityFeePerGas?: bigint;
697
+ nonce?: number;
698
+ value?: bigint;
699
+ }): Promise<void>;
700
+ /**
701
+ * Simulate renounceOwnership
702
+ * Returns gas estimate and result without sending transaction
703
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
704
+ */
705
+ renounceOwnership(options?: {
706
+ accessList?: import("viem").AccessList;
707
+ authorizationList?: import("viem").AuthorizationList;
708
+ chain?: import("viem").Chain | null;
709
+ dataSuffix?: `0x${string}`;
710
+ gas?: bigint;
711
+ gasPrice?: bigint;
712
+ maxFeePerGas?: bigint;
713
+ maxPriorityFeePerGas?: bigint;
714
+ nonce?: number;
715
+ value?: bigint;
716
+ }): Promise<void>;
717
+ /**
718
+ * Simulate requestOwnershipHandover
719
+ * Returns gas estimate and result without sending transaction
720
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
721
+ */
722
+ requestOwnershipHandover(options?: {
723
+ accessList?: import("viem").AccessList;
724
+ authorizationList?: import("viem").AuthorizationList;
725
+ chain?: import("viem").Chain | null;
726
+ dataSuffix?: `0x${string}`;
727
+ gas?: bigint;
728
+ gasPrice?: bigint;
729
+ maxFeePerGas?: bigint;
730
+ maxPriorityFeePerGas?: bigint;
731
+ nonce?: number;
732
+ value?: bigint;
733
+ }): Promise<void>;
734
+ /**
735
+ * Simulate sync
736
+ * Returns gas estimate and result without sending transaction
737
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
738
+ */
739
+ sync(options?: {
740
+ accessList?: import("viem").AccessList;
741
+ authorizationList?: import("viem").AuthorizationList;
742
+ chain?: import("viem").Chain | null;
743
+ dataSuffix?: `0x${string}`;
744
+ gas?: bigint;
745
+ gasPrice?: bigint;
746
+ maxFeePerGas?: bigint;
747
+ maxPriorityFeePerGas?: bigint;
748
+ nonce?: number;
749
+ value?: bigint;
750
+ }): Promise<void>;
751
+ /**
752
+ * Simulate transferOwnership
753
+ * Returns gas estimate and result without sending transaction
754
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
755
+ */
756
+ transferOwnership(newOwner: `0x${string}`, options?: {
757
+ accessList?: import("viem").AccessList;
758
+ authorizationList?: import("viem").AuthorizationList;
759
+ chain?: import("viem").Chain | null;
760
+ dataSuffix?: `0x${string}`;
761
+ gas?: bigint;
762
+ gasPrice?: bigint;
763
+ maxFeePerGas?: bigint;
764
+ maxPriorityFeePerGas?: bigint;
765
+ nonce?: number;
766
+ value?: bigint;
767
+ }): Promise<void>;
768
+ };
769
+ /**
770
+ * Watch contract events
771
+ *
772
+ * @example
773
+ * // Watch all Transfer events
774
+ * const unwatch = contract.watch.Transfer((event) => {
775
+ * console.log('Transfer:', event);
776
+ * });
777
+ *
778
+ * // Stop watching
779
+ * unwatch();
780
+ */
781
+ get watch(): {
782
+ /**
783
+ * Watch FeeClaimed events
784
+ * @param callback Function to call when event is emitted
785
+ * @param filter Optional filter for indexed parameters
786
+ * @returns Unwatch function to stop listening
787
+ */
788
+ FeeClaimed: (callback: (event: {
789
+ payee: `0x${string}`;
790
+ amount: bigint;
791
+ }) => void, filter?: {
792
+ payee?: `0x${string}` | `0x${string}`[] | null;
793
+ }) => () => void;
794
+ /**
795
+ * Watch FeeSynced events
796
+ * @param callback Function to call when event is emitted
797
+ * @param filter Optional filter for indexed parameters
798
+ * @returns Unwatch function to stop listening
799
+ */
800
+ FeeSynced: (callback: (event: {
801
+ incoming: bigint;
802
+ }) => void) => () => void;
803
+ /**
804
+ * Watch OwnershipHandoverCanceled events
805
+ * @param callback Function to call when event is emitted
806
+ * @param filter Optional filter for indexed parameters
807
+ * @returns Unwatch function to stop listening
808
+ */
809
+ OwnershipHandoverCanceled: (callback: (event: {
810
+ pendingOwner: `0x${string}`;
811
+ }) => void, filter?: {
812
+ pendingOwner?: `0x${string}` | `0x${string}`[] | null;
813
+ }) => () => void;
814
+ /**
815
+ * Watch OwnershipHandoverRequested events
816
+ * @param callback Function to call when event is emitted
817
+ * @param filter Optional filter for indexed parameters
818
+ * @returns Unwatch function to stop listening
819
+ */
820
+ OwnershipHandoverRequested: (callback: (event: {
821
+ pendingOwner: `0x${string}`;
822
+ }) => void, filter?: {
823
+ pendingOwner?: `0x${string}` | `0x${string}`[] | null;
824
+ }) => () => void;
825
+ /**
826
+ * Watch OwnershipTransferred events
827
+ * @param callback Function to call when event is emitted
828
+ * @param filter Optional filter for indexed parameters
829
+ * @returns Unwatch function to stop listening
830
+ */
831
+ OwnershipTransferred: (callback: (event: {
832
+ oldOwner: `0x${string}`;
833
+ newOwner: `0x${string}`;
834
+ }) => void, filter?: {
835
+ oldOwner?: `0x${string}` | `0x${string}`[] | null;
836
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
837
+ }) => () => void;
838
+ /**
839
+ * Watch PayeesApplied events
840
+ * @param callback Function to call when event is emitted
841
+ * @param filter Optional filter for indexed parameters
842
+ * @returns Unwatch function to stop listening
843
+ */
844
+ PayeesApplied: (callback: (event: {}) => void) => () => void;
845
+ /**
846
+ * Watch PayeesProposed events
847
+ * @param callback Function to call when event is emitted
848
+ * @param filter Optional filter for indexed parameters
849
+ * @returns Unwatch function to stop listening
850
+ */
851
+ PayeesProposed: (callback: (event: {
852
+ accounts: `0x${string}`[];
853
+ shares: bigint[];
854
+ readyAt: bigint;
855
+ }) => void) => () => void;
856
+ };
857
+ }