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