@flarenetwork/flare-periphery-contract-artifacts 0.1.49 → 0.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  2. package/coston/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  3. package/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  4. package/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  5. package/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  6. package/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  7. package/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  8. package/coston2/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  9. package/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  10. package/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  11. package/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  12. package/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  13. package/dist/coston/abis.d.ts.map +1 -1
  14. package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  15. package/dist/coston/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  16. package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  17. package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  18. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  19. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  20. package/dist/coston2/abis.d.ts.map +1 -1
  21. package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  22. package/dist/coston2/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  23. package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  24. package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  25. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  26. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  27. package/dist/flare/abis.d.ts.map +1 -1
  28. package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  29. package/dist/flare/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  30. package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  31. package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  32. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  33. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  34. package/dist/index.js +0 -16
  35. package/dist/index.js.map +1 -1
  36. package/dist/songbird/abis.d.ts.map +1 -1
  37. package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  38. package/dist/songbird/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  39. package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  40. package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  41. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  42. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  43. package/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  44. package/flare/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  45. package/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  46. package/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  47. package/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  48. package/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  49. package/package.json +1 -1
  50. package/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +2 -2
  51. package/songbird/artifacts/contracts/IMintingTagManager.sol/IMintingTagManager.json +18 -0
  52. package/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +50 -9
  53. package/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +45 -16
  54. package/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +4 -4
  55. package/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +45 -29
  56. package/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  57. package/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  58. package/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  59. package/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  60. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  61. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  62. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  63. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  64. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  65. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  66. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  67. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  68. package/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  69. package/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  70. package/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  71. package/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
@@ -1,1061 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "address",
8
- "name": "owner",
9
- "type": "address"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "spender",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "value",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "Approval",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": false,
32
- "internalType": "uint256[]",
33
- "name": "projectIds",
34
- "type": "uint256[]"
35
- },
36
- {
37
- "indexed": false,
38
- "internalType": "bool",
39
- "name": "disabled",
40
- "type": "bool"
41
- }
42
- ],
43
- "name": "ClaimingPermissionUpdated",
44
- "type": "event"
45
- },
46
- {
47
- "anonymous": false,
48
- "inputs": [
49
- {
50
- "indexed": false,
51
- "internalType": "uint256[]",
52
- "name": "projectIds",
53
- "type": "uint256[]"
54
- },
55
- {
56
- "indexed": false,
57
- "internalType": "bool",
58
- "name": "disabled",
59
- "type": "bool"
60
- }
61
- ],
62
- "name": "DistributionPermissionUpdated",
63
- "type": "event"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": false,
70
- "internalType": "address",
71
- "name": "libraryAddress",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "LibraryAddressSet",
76
- "type": "event"
77
- },
78
- {
79
- "anonymous": false,
80
- "inputs": [
81
- {
82
- "indexed": true,
83
- "internalType": "uint256",
84
- "name": "id",
85
- "type": "uint256"
86
- },
87
- {
88
- "indexed": false,
89
- "internalType": "string",
90
- "name": "name",
91
- "type": "string"
92
- },
93
- {
94
- "indexed": false,
95
- "internalType": "address",
96
- "name": "distributor",
97
- "type": "address"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "bool",
102
- "name": "currentMonthDistributionEnabled",
103
- "type": "bool"
104
- }
105
- ],
106
- "name": "ProjectAdded",
107
- "type": "event"
108
- },
109
- {
110
- "anonymous": false,
111
- "inputs": [
112
- {
113
- "indexed": true,
114
- "internalType": "uint256",
115
- "name": "id",
116
- "type": "uint256"
117
- },
118
- {
119
- "indexed": false,
120
- "internalType": "string",
121
- "name": "name",
122
- "type": "string"
123
- },
124
- {
125
- "indexed": false,
126
- "internalType": "address",
127
- "name": "distributor",
128
- "type": "address"
129
- },
130
- {
131
- "indexed": false,
132
- "internalType": "bool",
133
- "name": "currentMonthDistributionEnabled",
134
- "type": "bool"
135
- }
136
- ],
137
- "name": "ProjectUpdated",
138
- "type": "event"
139
- },
140
- {
141
- "anonymous": false,
142
- "inputs": [
143
- {
144
- "indexed": false,
145
- "internalType": "address",
146
- "name": "owner",
147
- "type": "address"
148
- },
149
- {
150
- "indexed": false,
151
- "internalType": "contract IRNatAccount",
152
- "name": "rNatAccount",
153
- "type": "address"
154
- }
155
- ],
156
- "name": "RNatAccountCreated",
157
- "type": "event"
158
- },
159
- {
160
- "anonymous": false,
161
- "inputs": [
162
- {
163
- "indexed": true,
164
- "internalType": "uint256",
165
- "name": "projectId",
166
- "type": "uint256"
167
- },
168
- {
169
- "indexed": true,
170
- "internalType": "uint256",
171
- "name": "month",
172
- "type": "uint256"
173
- },
174
- {
175
- "indexed": false,
176
- "internalType": "uint128",
177
- "name": "amount",
178
- "type": "uint128"
179
- }
180
- ],
181
- "name": "RewardsAssigned",
182
- "type": "event"
183
- },
184
- {
185
- "anonymous": false,
186
- "inputs": [
187
- {
188
- "indexed": true,
189
- "internalType": "uint256",
190
- "name": "projectId",
191
- "type": "uint256"
192
- },
193
- {
194
- "indexed": true,
195
- "internalType": "uint256",
196
- "name": "month",
197
- "type": "uint256"
198
- },
199
- {
200
- "indexed": true,
201
- "internalType": "address",
202
- "name": "owner",
203
- "type": "address"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "uint128",
208
- "name": "amount",
209
- "type": "uint128"
210
- }
211
- ],
212
- "name": "RewardsClaimed",
213
- "type": "event"
214
- },
215
- {
216
- "anonymous": false,
217
- "inputs": [
218
- {
219
- "indexed": true,
220
- "internalType": "uint256",
221
- "name": "projectId",
222
- "type": "uint256"
223
- },
224
- {
225
- "indexed": true,
226
- "internalType": "uint256",
227
- "name": "month",
228
- "type": "uint256"
229
- },
230
- {
231
- "indexed": false,
232
- "internalType": "address[]",
233
- "name": "recipients",
234
- "type": "address[]"
235
- },
236
- {
237
- "indexed": false,
238
- "internalType": "uint128[]",
239
- "name": "amounts",
240
- "type": "uint128[]"
241
- }
242
- ],
243
- "name": "RewardsDistributed",
244
- "type": "event"
245
- },
246
- {
247
- "anonymous": false,
248
- "inputs": [
249
- {
250
- "indexed": true,
251
- "internalType": "uint256",
252
- "name": "projectId",
253
- "type": "uint256"
254
- },
255
- {
256
- "indexed": true,
257
- "internalType": "uint256",
258
- "name": "month",
259
- "type": "uint256"
260
- },
261
- {
262
- "indexed": false,
263
- "internalType": "uint128",
264
- "name": "amount",
265
- "type": "uint128"
266
- }
267
- ],
268
- "name": "RewardsUnassigned",
269
- "type": "event"
270
- },
271
- {
272
- "anonymous": false,
273
- "inputs": [
274
- {
275
- "indexed": true,
276
- "internalType": "address",
277
- "name": "from",
278
- "type": "address"
279
- },
280
- {
281
- "indexed": true,
282
- "internalType": "address",
283
- "name": "to",
284
- "type": "address"
285
- },
286
- {
287
- "indexed": false,
288
- "internalType": "uint256",
289
- "name": "value",
290
- "type": "uint256"
291
- }
292
- ],
293
- "name": "Transfer",
294
- "type": "event"
295
- },
296
- {
297
- "anonymous": false,
298
- "inputs": [
299
- {
300
- "indexed": false,
301
- "internalType": "address",
302
- "name": "recipient",
303
- "type": "address"
304
- },
305
- {
306
- "indexed": false,
307
- "internalType": "uint128",
308
- "name": "amount",
309
- "type": "uint128"
310
- }
311
- ],
312
- "name": "UnassignedRewardsWithdrawn",
313
- "type": "event"
314
- },
315
- {
316
- "anonymous": false,
317
- "inputs": [
318
- {
319
- "indexed": true,
320
- "internalType": "uint256",
321
- "name": "projectId",
322
- "type": "uint256"
323
- },
324
- {
325
- "indexed": true,
326
- "internalType": "uint256",
327
- "name": "month",
328
- "type": "uint256"
329
- },
330
- {
331
- "indexed": false,
332
- "internalType": "uint128",
333
- "name": "amount",
334
- "type": "uint128"
335
- }
336
- ],
337
- "name": "UnclaimedRewardsUnassigned",
338
- "type": "event"
339
- },
340
- {
341
- "inputs": [
342
- {
343
- "internalType": "string[]",
344
- "name": "_names",
345
- "type": "string[]"
346
- },
347
- {
348
- "internalType": "address[]",
349
- "name": "_distributors",
350
- "type": "address[]"
351
- },
352
- {
353
- "internalType": "bool[]",
354
- "name": "_currentMonthDistributionEnabledList",
355
- "type": "bool[]"
356
- }
357
- ],
358
- "name": "addProjects",
359
- "outputs": [],
360
- "stateMutability": "nonpayable",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [
365
- {
366
- "internalType": "address",
367
- "name": "owner",
368
- "type": "address"
369
- },
370
- {
371
- "internalType": "address",
372
- "name": "spender",
373
- "type": "address"
374
- }
375
- ],
376
- "name": "allowance",
377
- "outputs": [
378
- {
379
- "internalType": "uint256",
380
- "name": "",
381
- "type": "uint256"
382
- }
383
- ],
384
- "stateMutability": "view",
385
- "type": "function"
386
- },
387
- {
388
- "inputs": [
389
- {
390
- "internalType": "address",
391
- "name": "spender",
392
- "type": "address"
393
- },
394
- {
395
- "internalType": "uint256",
396
- "name": "amount",
397
- "type": "uint256"
398
- }
399
- ],
400
- "name": "approve",
401
- "outputs": [
402
- {
403
- "internalType": "bool",
404
- "name": "",
405
- "type": "bool"
406
- }
407
- ],
408
- "stateMutability": "nonpayable",
409
- "type": "function"
410
- },
411
- {
412
- "inputs": [
413
- {
414
- "internalType": "uint256",
415
- "name": "_month",
416
- "type": "uint256"
417
- },
418
- {
419
- "internalType": "uint256[]",
420
- "name": "_projectIds",
421
- "type": "uint256[]"
422
- },
423
- {
424
- "internalType": "uint128[]",
425
- "name": "_amountsWei",
426
- "type": "uint128[]"
427
- }
428
- ],
429
- "name": "assignRewards",
430
- "outputs": [],
431
- "stateMutability": "nonpayable",
432
- "type": "function"
433
- },
434
- {
435
- "inputs": [
436
- {
437
- "internalType": "address",
438
- "name": "account",
439
- "type": "address"
440
- }
441
- ],
442
- "name": "balanceOf",
443
- "outputs": [
444
- {
445
- "internalType": "uint256",
446
- "name": "",
447
- "type": "uint256"
448
- }
449
- ],
450
- "stateMutability": "view",
451
- "type": "function"
452
- },
453
- {
454
- "inputs": [
455
- {
456
- "internalType": "uint256[]",
457
- "name": "_projectIds",
458
- "type": "uint256[]"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "_month",
463
- "type": "uint256"
464
- }
465
- ],
466
- "name": "claimRewards",
467
- "outputs": [
468
- {
469
- "internalType": "uint128",
470
- "name": "_claimedRewardsWei",
471
- "type": "uint128"
472
- }
473
- ],
474
- "stateMutability": "nonpayable",
475
- "type": "function"
476
- },
477
- {
478
- "inputs": [],
479
- "name": "decimals",
480
- "outputs": [
481
- {
482
- "internalType": "uint8",
483
- "name": "",
484
- "type": "uint8"
485
- }
486
- ],
487
- "stateMutability": "view",
488
- "type": "function"
489
- },
490
- {
491
- "inputs": [
492
- {
493
- "internalType": "uint256[]",
494
- "name": "_projectIds",
495
- "type": "uint256[]"
496
- }
497
- ],
498
- "name": "disableClaiming",
499
- "outputs": [],
500
- "stateMutability": "nonpayable",
501
- "type": "function"
502
- },
503
- {
504
- "inputs": [
505
- {
506
- "internalType": "uint256[]",
507
- "name": "_projectIds",
508
- "type": "uint256[]"
509
- }
510
- ],
511
- "name": "disableDistribution",
512
- "outputs": [],
513
- "stateMutability": "nonpayable",
514
- "type": "function"
515
- },
516
- {
517
- "inputs": [
518
- {
519
- "internalType": "uint256",
520
- "name": "_projectId",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "_month",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "address[]",
530
- "name": "_recipients",
531
- "type": "address[]"
532
- },
533
- {
534
- "internalType": "uint128[]",
535
- "name": "_amountsWei",
536
- "type": "uint128[]"
537
- }
538
- ],
539
- "name": "distributeRewards",
540
- "outputs": [],
541
- "stateMutability": "nonpayable",
542
- "type": "function"
543
- },
544
- {
545
- "inputs": [],
546
- "name": "firstMonthStartTs",
547
- "outputs": [
548
- {
549
- "internalType": "uint256",
550
- "name": "",
551
- "type": "uint256"
552
- }
553
- ],
554
- "stateMutability": "view",
555
- "type": "function"
556
- },
557
- {
558
- "inputs": [
559
- {
560
- "internalType": "address",
561
- "name": "_owner",
562
- "type": "address"
563
- }
564
- ],
565
- "name": "getBalancesOf",
566
- "outputs": [
567
- {
568
- "internalType": "uint256",
569
- "name": "_wNatBalance",
570
- "type": "uint256"
571
- },
572
- {
573
- "internalType": "uint256",
574
- "name": "_rNatBalance",
575
- "type": "uint256"
576
- },
577
- {
578
- "internalType": "uint256",
579
- "name": "_lockedBalance",
580
- "type": "uint256"
581
- }
582
- ],
583
- "stateMutability": "view",
584
- "type": "function"
585
- },
586
- {
587
- "inputs": [
588
- {
589
- "internalType": "uint256",
590
- "name": "_projectId",
591
- "type": "uint256"
592
- },
593
- {
594
- "internalType": "address",
595
- "name": "_owner",
596
- "type": "address"
597
- }
598
- ],
599
- "name": "getClaimableRewards",
600
- "outputs": [
601
- {
602
- "internalType": "uint128",
603
- "name": "",
604
- "type": "uint128"
605
- }
606
- ],
607
- "stateMutability": "view",
608
- "type": "function"
609
- },
610
- {
611
- "inputs": [],
612
- "name": "getCurrentMonth",
613
- "outputs": [
614
- {
615
- "internalType": "uint256",
616
- "name": "",
617
- "type": "uint256"
618
- }
619
- ],
620
- "stateMutability": "view",
621
- "type": "function"
622
- },
623
- {
624
- "inputs": [
625
- {
626
- "internalType": "uint256",
627
- "name": "_projectId",
628
- "type": "uint256"
629
- },
630
- {
631
- "internalType": "uint256",
632
- "name": "_month",
633
- "type": "uint256"
634
- },
635
- {
636
- "internalType": "address",
637
- "name": "_owner",
638
- "type": "address"
639
- }
640
- ],
641
- "name": "getOwnerRewardsInfo",
642
- "outputs": [
643
- {
644
- "internalType": "uint128",
645
- "name": "_assignedRewards",
646
- "type": "uint128"
647
- },
648
- {
649
- "internalType": "uint128",
650
- "name": "_claimedRewards",
651
- "type": "uint128"
652
- },
653
- {
654
- "internalType": "bool",
655
- "name": "_claimable",
656
- "type": "bool"
657
- }
658
- ],
659
- "stateMutability": "view",
660
- "type": "function"
661
- },
662
- {
663
- "inputs": [
664
- {
665
- "internalType": "uint256",
666
- "name": "_projectId",
667
- "type": "uint256"
668
- }
669
- ],
670
- "name": "getProjectInfo",
671
- "outputs": [
672
- {
673
- "internalType": "string",
674
- "name": "_name",
675
- "type": "string"
676
- },
677
- {
678
- "internalType": "address",
679
- "name": "_distributor",
680
- "type": "address"
681
- },
682
- {
683
- "internalType": "bool",
684
- "name": "_currentMonthDistributionEnabled",
685
- "type": "bool"
686
- },
687
- {
688
- "internalType": "bool",
689
- "name": "_distributionDisabled",
690
- "type": "bool"
691
- },
692
- {
693
- "internalType": "bool",
694
- "name": "_claimingDisabled",
695
- "type": "bool"
696
- },
697
- {
698
- "internalType": "uint128",
699
- "name": "_totalAssignedRewards",
700
- "type": "uint128"
701
- },
702
- {
703
- "internalType": "uint128",
704
- "name": "_totalDistributedRewards",
705
- "type": "uint128"
706
- },
707
- {
708
- "internalType": "uint128",
709
- "name": "_totalClaimedRewards",
710
- "type": "uint128"
711
- },
712
- {
713
- "internalType": "uint128",
714
- "name": "_totalUnassignedUnclaimedRewards",
715
- "type": "uint128"
716
- },
717
- {
718
- "internalType": "uint256[]",
719
- "name": "_monthsWithRewards",
720
- "type": "uint256[]"
721
- }
722
- ],
723
- "stateMutability": "view",
724
- "type": "function"
725
- },
726
- {
727
- "inputs": [
728
- {
729
- "internalType": "uint256",
730
- "name": "_projectId",
731
- "type": "uint256"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "_month",
736
- "type": "uint256"
737
- }
738
- ],
739
- "name": "getProjectRewardsInfo",
740
- "outputs": [
741
- {
742
- "internalType": "uint128",
743
- "name": "_assignedRewards",
744
- "type": "uint128"
745
- },
746
- {
747
- "internalType": "uint128",
748
- "name": "_distributedRewards",
749
- "type": "uint128"
750
- },
751
- {
752
- "internalType": "uint128",
753
- "name": "_claimedRewards",
754
- "type": "uint128"
755
- },
756
- {
757
- "internalType": "uint128",
758
- "name": "_unassignedUnclaimedRewards",
759
- "type": "uint128"
760
- }
761
- ],
762
- "stateMutability": "view",
763
- "type": "function"
764
- },
765
- {
766
- "inputs": [],
767
- "name": "getProjectsBasicInfo",
768
- "outputs": [
769
- {
770
- "internalType": "string[]",
771
- "name": "_names",
772
- "type": "string[]"
773
- },
774
- {
775
- "internalType": "bool[]",
776
- "name": "_claimingDisabled",
777
- "type": "bool[]"
778
- }
779
- ],
780
- "stateMutability": "view",
781
- "type": "function"
782
- },
783
- {
784
- "inputs": [],
785
- "name": "getProjectsCount",
786
- "outputs": [
787
- {
788
- "internalType": "uint256",
789
- "name": "",
790
- "type": "uint256"
791
- }
792
- ],
793
- "stateMutability": "view",
794
- "type": "function"
795
- },
796
- {
797
- "inputs": [
798
- {
799
- "internalType": "address",
800
- "name": "_owner",
801
- "type": "address"
802
- }
803
- ],
804
- "name": "getRNatAccount",
805
- "outputs": [
806
- {
807
- "internalType": "contract IRNatAccount",
808
- "name": "",
809
- "type": "address"
810
- }
811
- ],
812
- "stateMutability": "view",
813
- "type": "function"
814
- },
815
- {
816
- "inputs": [],
817
- "name": "getRewardsInfo",
818
- "outputs": [
819
- {
820
- "internalType": "uint256",
821
- "name": "_totalAssignableRewards",
822
- "type": "uint256"
823
- },
824
- {
825
- "internalType": "uint256",
826
- "name": "_totalAssignedRewards",
827
- "type": "uint256"
828
- },
829
- {
830
- "internalType": "uint256",
831
- "name": "_totalClaimedRewards",
832
- "type": "uint256"
833
- },
834
- {
835
- "internalType": "uint256",
836
- "name": "_totalWithdrawnRewards",
837
- "type": "uint256"
838
- },
839
- {
840
- "internalType": "uint256",
841
- "name": "_totalWithdrawnAssignableRewards",
842
- "type": "uint256"
843
- }
844
- ],
845
- "stateMutability": "view",
846
- "type": "function"
847
- },
848
- {
849
- "inputs": [],
850
- "name": "name",
851
- "outputs": [
852
- {
853
- "internalType": "string",
854
- "name": "",
855
- "type": "string"
856
- }
857
- ],
858
- "stateMutability": "view",
859
- "type": "function"
860
- },
861
- {
862
- "inputs": [
863
- {
864
- "internalType": "address[]",
865
- "name": "_executors",
866
- "type": "address[]"
867
- }
868
- ],
869
- "name": "setClaimExecutors",
870
- "outputs": [],
871
- "stateMutability": "payable",
872
- "type": "function"
873
- },
874
- {
875
- "inputs": [],
876
- "name": "symbol",
877
- "outputs": [
878
- {
879
- "internalType": "string",
880
- "name": "",
881
- "type": "string"
882
- }
883
- ],
884
- "stateMutability": "view",
885
- "type": "function"
886
- },
887
- {
888
- "inputs": [],
889
- "name": "totalSupply",
890
- "outputs": [
891
- {
892
- "internalType": "uint256",
893
- "name": "",
894
- "type": "uint256"
895
- }
896
- ],
897
- "stateMutability": "view",
898
- "type": "function"
899
- },
900
- {
901
- "inputs": [
902
- {
903
- "internalType": "address",
904
- "name": "to",
905
- "type": "address"
906
- },
907
- {
908
- "internalType": "uint256",
909
- "name": "amount",
910
- "type": "uint256"
911
- }
912
- ],
913
- "name": "transfer",
914
- "outputs": [
915
- {
916
- "internalType": "bool",
917
- "name": "",
918
- "type": "bool"
919
- }
920
- ],
921
- "stateMutability": "nonpayable",
922
- "type": "function"
923
- },
924
- {
925
- "inputs": [
926
- {
927
- "internalType": "contract IERC20",
928
- "name": "_token",
929
- "type": "address"
930
- },
931
- {
932
- "internalType": "uint256",
933
- "name": "_amount",
934
- "type": "uint256"
935
- }
936
- ],
937
- "name": "transferExternalToken",
938
- "outputs": [],
939
- "stateMutability": "nonpayable",
940
- "type": "function"
941
- },
942
- {
943
- "inputs": [
944
- {
945
- "internalType": "address",
946
- "name": "from",
947
- "type": "address"
948
- },
949
- {
950
- "internalType": "address",
951
- "name": "to",
952
- "type": "address"
953
- },
954
- {
955
- "internalType": "uint256",
956
- "name": "amount",
957
- "type": "uint256"
958
- }
959
- ],
960
- "name": "transferFrom",
961
- "outputs": [
962
- {
963
- "internalType": "bool",
964
- "name": "",
965
- "type": "bool"
966
- }
967
- ],
968
- "stateMutability": "nonpayable",
969
- "type": "function"
970
- },
971
- {
972
- "inputs": [
973
- {
974
- "internalType": "uint256",
975
- "name": "_projectId",
976
- "type": "uint256"
977
- },
978
- {
979
- "internalType": "uint256[]",
980
- "name": "_months",
981
- "type": "uint256[]"
982
- }
983
- ],
984
- "name": "unassignRewards",
985
- "outputs": [],
986
- "stateMutability": "nonpayable",
987
- "type": "function"
988
- },
989
- {
990
- "inputs": [
991
- {
992
- "internalType": "uint256",
993
- "name": "_projectId",
994
- "type": "uint256"
995
- },
996
- {
997
- "internalType": "string",
998
- "name": "_name",
999
- "type": "string"
1000
- },
1001
- {
1002
- "internalType": "address",
1003
- "name": "_distributor",
1004
- "type": "address"
1005
- },
1006
- {
1007
- "internalType": "bool",
1008
- "name": "_currentMonthDistributionEnabled",
1009
- "type": "bool"
1010
- }
1011
- ],
1012
- "name": "updateProject",
1013
- "outputs": [],
1014
- "stateMutability": "nonpayable",
1015
- "type": "function"
1016
- },
1017
- {
1018
- "inputs": [],
1019
- "name": "wNat",
1020
- "outputs": [
1021
- {
1022
- "internalType": "contract IWNat",
1023
- "name": "",
1024
- "type": "address"
1025
- }
1026
- ],
1027
- "stateMutability": "view",
1028
- "type": "function"
1029
- },
1030
- {
1031
- "inputs": [
1032
- {
1033
- "internalType": "uint128",
1034
- "name": "_amount",
1035
- "type": "uint128"
1036
- },
1037
- {
1038
- "internalType": "bool",
1039
- "name": "_wrap",
1040
- "type": "bool"
1041
- }
1042
- ],
1043
- "name": "withdraw",
1044
- "outputs": [],
1045
- "stateMutability": "nonpayable",
1046
- "type": "function"
1047
- },
1048
- {
1049
- "inputs": [
1050
- {
1051
- "internalType": "bool",
1052
- "name": "_wrap",
1053
- "type": "bool"
1054
- }
1055
- ],
1056
- "name": "withdrawAll",
1057
- "outputs": [],
1058
- "stateMutability": "nonpayable",
1059
- "type": "function"
1060
- }
1061
- ]