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