@flarenetwork/flare-wagmi-periphery-package 3.4.0 → 3.5.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.
Files changed (113) hide show
  1. package/dist/contracts/coston/IFlareSystemsCalculator.d.ts +6 -6
  2. package/dist/contracts/coston/IFlareSystemsCalculator.js +1 -1
  3. package/dist/contracts/coston/IIFlareSystemsCalculator.d.ts +20 -20
  4. package/dist/contracts/coston/IIFlareSystemsCalculator.js +2 -2
  5. package/dist/contracts/coston/IIVoterRegistry.d.ts +185 -125
  6. package/dist/contracts/coston/IIVoterRegistry.d.ts.map +1 -1
  7. package/dist/contracts/coston/IIVoterRegistry.js +25 -13
  8. package/dist/contracts/coston/IIVoterRegistry.js.map +1 -1
  9. package/dist/contracts/coston/IVoterPreRegistry.d.ts +200 -45
  10. package/dist/contracts/coston/IVoterPreRegistry.d.ts.map +1 -1
  11. package/dist/contracts/coston/IVoterPreRegistry.js +26 -5
  12. package/dist/contracts/coston/IVoterPreRegistry.js.map +1 -1
  13. package/dist/contracts/coston/IVoterRegistry.d.ts +185 -75
  14. package/dist/contracts/coston/IVoterRegistry.d.ts.map +1 -1
  15. package/dist/contracts/coston/IVoterRegistry.js +25 -6
  16. package/dist/contracts/coston/IVoterRegistry.js.map +1 -1
  17. package/dist/contracts/coston/index.d.ts +0 -2
  18. package/dist/contracts/coston/index.d.ts.map +1 -1
  19. package/dist/contracts/coston/index.js +0 -2
  20. package/dist/contracts/coston/index.js.map +1 -1
  21. package/dist/contracts/coston2/IFlareSystemsCalculator.d.ts +6 -6
  22. package/dist/contracts/coston2/IFlareSystemsCalculator.js +1 -1
  23. package/dist/contracts/coston2/IIFlareSystemsCalculator.d.ts +20 -20
  24. package/dist/contracts/coston2/IIFlareSystemsCalculator.js +2 -2
  25. package/dist/contracts/coston2/IIVoterRegistry.d.ts +185 -125
  26. package/dist/contracts/coston2/IIVoterRegistry.d.ts.map +1 -1
  27. package/dist/contracts/coston2/IIVoterRegistry.js +25 -13
  28. package/dist/contracts/coston2/IIVoterRegistry.js.map +1 -1
  29. package/dist/contracts/coston2/IVoterPreRegistry.d.ts +200 -45
  30. package/dist/contracts/coston2/IVoterPreRegistry.d.ts.map +1 -1
  31. package/dist/contracts/coston2/IVoterPreRegistry.js +26 -5
  32. package/dist/contracts/coston2/IVoterPreRegistry.js.map +1 -1
  33. package/dist/contracts/coston2/IVoterRegistry.d.ts +185 -75
  34. package/dist/contracts/coston2/IVoterRegistry.d.ts.map +1 -1
  35. package/dist/contracts/coston2/IVoterRegistry.js +25 -6
  36. package/dist/contracts/coston2/IVoterRegistry.js.map +1 -1
  37. package/dist/contracts/coston2/index.d.ts +0 -2
  38. package/dist/contracts/coston2/index.d.ts.map +1 -1
  39. package/dist/contracts/coston2/index.js +0 -2
  40. package/dist/contracts/coston2/index.js.map +1 -1
  41. package/dist/contracts/flare/IFlareSystemsCalculator.d.ts +6 -6
  42. package/dist/contracts/flare/IFlareSystemsCalculator.js +1 -1
  43. package/dist/contracts/flare/IIFlareSystemsCalculator.d.ts +20 -20
  44. package/dist/contracts/flare/IIFlareSystemsCalculator.js +2 -2
  45. package/dist/contracts/flare/IIVoterRegistry.d.ts +185 -125
  46. package/dist/contracts/flare/IIVoterRegistry.d.ts.map +1 -1
  47. package/dist/contracts/flare/IIVoterRegistry.js +25 -13
  48. package/dist/contracts/flare/IIVoterRegistry.js.map +1 -1
  49. package/dist/contracts/flare/IVoterPreRegistry.d.ts +200 -45
  50. package/dist/contracts/flare/IVoterPreRegistry.d.ts.map +1 -1
  51. package/dist/contracts/flare/IVoterPreRegistry.js +26 -5
  52. package/dist/contracts/flare/IVoterPreRegistry.js.map +1 -1
  53. package/dist/contracts/flare/IVoterRegistry.d.ts +185 -75
  54. package/dist/contracts/flare/IVoterRegistry.d.ts.map +1 -1
  55. package/dist/contracts/flare/IVoterRegistry.js +25 -6
  56. package/dist/contracts/flare/IVoterRegistry.js.map +1 -1
  57. package/dist/contracts/flare/index.d.ts +0 -2
  58. package/dist/contracts/flare/index.d.ts.map +1 -1
  59. package/dist/contracts/flare/index.js +0 -2
  60. package/dist/contracts/flare/index.js.map +1 -1
  61. package/dist/contracts/songbird/IFlareSystemsCalculator.d.ts +6 -6
  62. package/dist/contracts/songbird/IFlareSystemsCalculator.js +1 -1
  63. package/dist/contracts/songbird/IIFlareSystemsCalculator.d.ts +20 -20
  64. package/dist/contracts/songbird/IIFlareSystemsCalculator.js +2 -2
  65. package/dist/contracts/songbird/IIVoterRegistry.d.ts +185 -125
  66. package/dist/contracts/songbird/IIVoterRegistry.d.ts.map +1 -1
  67. package/dist/contracts/songbird/IIVoterRegistry.js +25 -13
  68. package/dist/contracts/songbird/IIVoterRegistry.js.map +1 -1
  69. package/dist/contracts/songbird/IVoterPreRegistry.d.ts +200 -45
  70. package/dist/contracts/songbird/IVoterPreRegistry.d.ts.map +1 -1
  71. package/dist/contracts/songbird/IVoterPreRegistry.js +26 -5
  72. package/dist/contracts/songbird/IVoterPreRegistry.js.map +1 -1
  73. package/dist/contracts/songbird/IVoterRegistry.d.ts +185 -75
  74. package/dist/contracts/songbird/IVoterRegistry.d.ts.map +1 -1
  75. package/dist/contracts/songbird/IVoterRegistry.js +25 -6
  76. package/dist/contracts/songbird/IVoterRegistry.js.map +1 -1
  77. package/dist/contracts/songbird/index.d.ts +0 -2
  78. package/dist/contracts/songbird/index.d.ts.map +1 -1
  79. package/dist/contracts/songbird/index.js +0 -2
  80. package/dist/contracts/songbird/index.js.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/contracts/coston/IIRNat.d.ts +0 -4138
  83. package/dist/contracts/coston/IIRNat.d.ts.map +0 -1
  84. package/dist/contracts/coston/IIRNat.js +0 -482
  85. package/dist/contracts/coston/IIRNat.js.map +0 -1
  86. package/dist/contracts/coston/IIRNatAccount.d.ts +0 -1293
  87. package/dist/contracts/coston/IIRNatAccount.d.ts.map +0 -1
  88. package/dist/contracts/coston/IIRNatAccount.js +0 -182
  89. package/dist/contracts/coston/IIRNatAccount.js.map +0 -1
  90. package/dist/contracts/coston2/IIRNat.d.ts +0 -4138
  91. package/dist/contracts/coston2/IIRNat.d.ts.map +0 -1
  92. package/dist/contracts/coston2/IIRNat.js +0 -482
  93. package/dist/contracts/coston2/IIRNat.js.map +0 -1
  94. package/dist/contracts/coston2/IIRNatAccount.d.ts +0 -1293
  95. package/dist/contracts/coston2/IIRNatAccount.d.ts.map +0 -1
  96. package/dist/contracts/coston2/IIRNatAccount.js +0 -182
  97. package/dist/contracts/coston2/IIRNatAccount.js.map +0 -1
  98. package/dist/contracts/flare/IIRNat.d.ts +0 -4138
  99. package/dist/contracts/flare/IIRNat.d.ts.map +0 -1
  100. package/dist/contracts/flare/IIRNat.js +0 -482
  101. package/dist/contracts/flare/IIRNat.js.map +0 -1
  102. package/dist/contracts/flare/IIRNatAccount.d.ts +0 -1293
  103. package/dist/contracts/flare/IIRNatAccount.d.ts.map +0 -1
  104. package/dist/contracts/flare/IIRNatAccount.js +0 -182
  105. package/dist/contracts/flare/IIRNatAccount.js.map +0 -1
  106. package/dist/contracts/songbird/IIRNat.d.ts +0 -4138
  107. package/dist/contracts/songbird/IIRNat.d.ts.map +0 -1
  108. package/dist/contracts/songbird/IIRNat.js +0 -482
  109. package/dist/contracts/songbird/IIRNat.js.map +0 -1
  110. package/dist/contracts/songbird/IIRNatAccount.d.ts +0 -1293
  111. package/dist/contracts/songbird/IIRNatAccount.d.ts.map +0 -1
  112. package/dist/contracts/songbird/IIRNatAccount.js +0 -182
  113. package/dist/contracts/songbird/IIRNatAccount.js.map +0 -1
@@ -1,4138 +0,0 @@
1
- export declare const iirNatAbi: readonly [{
2
- readonly type: "event";
3
- readonly anonymous: false;
4
- readonly inputs: readonly [{
5
- readonly name: "owner";
6
- readonly internalType: "address";
7
- readonly type: "address";
8
- readonly indexed: true;
9
- }, {
10
- readonly name: "spender";
11
- readonly internalType: "address";
12
- readonly type: "address";
13
- readonly indexed: true;
14
- }, {
15
- readonly name: "value";
16
- readonly internalType: "uint256";
17
- readonly type: "uint256";
18
- readonly indexed: false;
19
- }];
20
- readonly name: "Approval";
21
- }, {
22
- readonly type: "event";
23
- readonly anonymous: false;
24
- readonly inputs: readonly [{
25
- readonly name: "projectIds";
26
- readonly internalType: "uint256[]";
27
- readonly type: "uint256[]";
28
- readonly indexed: false;
29
- }, {
30
- readonly name: "disabled";
31
- readonly internalType: "bool";
32
- readonly type: "bool";
33
- readonly indexed: false;
34
- }];
35
- readonly name: "ClaimingPermissionUpdated";
36
- }, {
37
- readonly type: "event";
38
- readonly anonymous: false;
39
- readonly inputs: readonly [{
40
- readonly name: "projectIds";
41
- readonly internalType: "uint256[]";
42
- readonly type: "uint256[]";
43
- readonly indexed: false;
44
- }, {
45
- readonly name: "disabled";
46
- readonly internalType: "bool";
47
- readonly type: "bool";
48
- readonly indexed: false;
49
- }];
50
- readonly name: "DistributionPermissionUpdated";
51
- }, {
52
- readonly type: "event";
53
- readonly anonymous: false;
54
- readonly inputs: readonly [{
55
- readonly name: "libraryAddress";
56
- readonly internalType: "address";
57
- readonly type: "address";
58
- readonly indexed: false;
59
- }];
60
- readonly name: "LibraryAddressSet";
61
- }, {
62
- readonly type: "event";
63
- readonly anonymous: false;
64
- readonly inputs: readonly [{
65
- readonly name: "id";
66
- readonly internalType: "uint256";
67
- readonly type: "uint256";
68
- readonly indexed: true;
69
- }, {
70
- readonly name: "name";
71
- readonly internalType: "string";
72
- readonly type: "string";
73
- readonly indexed: false;
74
- }, {
75
- readonly name: "distributor";
76
- readonly internalType: "address";
77
- readonly type: "address";
78
- readonly indexed: false;
79
- }, {
80
- readonly name: "currentMonthDistributionEnabled";
81
- readonly internalType: "bool";
82
- readonly type: "bool";
83
- readonly indexed: false;
84
- }];
85
- readonly name: "ProjectAdded";
86
- }, {
87
- readonly type: "event";
88
- readonly anonymous: false;
89
- readonly inputs: readonly [{
90
- readonly name: "id";
91
- readonly internalType: "uint256";
92
- readonly type: "uint256";
93
- readonly indexed: true;
94
- }, {
95
- readonly name: "name";
96
- readonly internalType: "string";
97
- readonly type: "string";
98
- readonly indexed: false;
99
- }, {
100
- readonly name: "distributor";
101
- readonly internalType: "address";
102
- readonly type: "address";
103
- readonly indexed: false;
104
- }, {
105
- readonly name: "currentMonthDistributionEnabled";
106
- readonly internalType: "bool";
107
- readonly type: "bool";
108
- readonly indexed: false;
109
- }];
110
- readonly name: "ProjectUpdated";
111
- }, {
112
- readonly type: "event";
113
- readonly anonymous: false;
114
- readonly inputs: readonly [{
115
- readonly name: "owner";
116
- readonly internalType: "address";
117
- readonly type: "address";
118
- readonly indexed: false;
119
- }, {
120
- readonly name: "rNatAccount";
121
- readonly internalType: "contract IRNatAccount";
122
- readonly type: "address";
123
- readonly indexed: false;
124
- }];
125
- readonly name: "RNatAccountCreated";
126
- }, {
127
- readonly type: "event";
128
- readonly anonymous: false;
129
- readonly inputs: readonly [{
130
- readonly name: "projectId";
131
- readonly internalType: "uint256";
132
- readonly type: "uint256";
133
- readonly indexed: true;
134
- }, {
135
- readonly name: "month";
136
- readonly internalType: "uint256";
137
- readonly type: "uint256";
138
- readonly indexed: true;
139
- }, {
140
- readonly name: "amount";
141
- readonly internalType: "uint128";
142
- readonly type: "uint128";
143
- readonly indexed: false;
144
- }];
145
- readonly name: "RewardsAssigned";
146
- }, {
147
- readonly type: "event";
148
- readonly anonymous: false;
149
- readonly inputs: readonly [{
150
- readonly name: "projectId";
151
- readonly internalType: "uint256";
152
- readonly type: "uint256";
153
- readonly indexed: true;
154
- }, {
155
- readonly name: "month";
156
- readonly internalType: "uint256";
157
- readonly type: "uint256";
158
- readonly indexed: true;
159
- }, {
160
- readonly name: "owner";
161
- readonly internalType: "address";
162
- readonly type: "address";
163
- readonly indexed: true;
164
- }, {
165
- readonly name: "amount";
166
- readonly internalType: "uint128";
167
- readonly type: "uint128";
168
- readonly indexed: false;
169
- }];
170
- readonly name: "RewardsClaimed";
171
- }, {
172
- readonly type: "event";
173
- readonly anonymous: false;
174
- readonly inputs: readonly [{
175
- readonly name: "projectId";
176
- readonly internalType: "uint256";
177
- readonly type: "uint256";
178
- readonly indexed: true;
179
- }, {
180
- readonly name: "month";
181
- readonly internalType: "uint256";
182
- readonly type: "uint256";
183
- readonly indexed: true;
184
- }, {
185
- readonly name: "recipients";
186
- readonly internalType: "address[]";
187
- readonly type: "address[]";
188
- readonly indexed: false;
189
- }, {
190
- readonly name: "amounts";
191
- readonly internalType: "uint128[]";
192
- readonly type: "uint128[]";
193
- readonly indexed: false;
194
- }];
195
- readonly name: "RewardsDistributed";
196
- }, {
197
- readonly type: "event";
198
- readonly anonymous: false;
199
- readonly inputs: readonly [{
200
- readonly name: "projectId";
201
- readonly internalType: "uint256";
202
- readonly type: "uint256";
203
- readonly indexed: true;
204
- }, {
205
- readonly name: "month";
206
- readonly internalType: "uint256";
207
- readonly type: "uint256";
208
- readonly indexed: true;
209
- }, {
210
- readonly name: "amount";
211
- readonly internalType: "uint128";
212
- readonly type: "uint128";
213
- readonly indexed: false;
214
- }];
215
- readonly name: "RewardsUnassigned";
216
- }, {
217
- readonly type: "event";
218
- readonly anonymous: false;
219
- readonly inputs: readonly [{
220
- readonly name: "from";
221
- readonly internalType: "address";
222
- readonly type: "address";
223
- readonly indexed: true;
224
- }, {
225
- readonly name: "to";
226
- readonly internalType: "address";
227
- readonly type: "address";
228
- readonly indexed: true;
229
- }, {
230
- readonly name: "value";
231
- readonly internalType: "uint256";
232
- readonly type: "uint256";
233
- readonly indexed: false;
234
- }];
235
- readonly name: "Transfer";
236
- }, {
237
- readonly type: "event";
238
- readonly anonymous: false;
239
- readonly inputs: readonly [{
240
- readonly name: "recipient";
241
- readonly internalType: "address";
242
- readonly type: "address";
243
- readonly indexed: false;
244
- }, {
245
- readonly name: "amount";
246
- readonly internalType: "uint128";
247
- readonly type: "uint128";
248
- readonly indexed: false;
249
- }];
250
- readonly name: "UnassignedRewardsWithdrawn";
251
- }, {
252
- readonly type: "event";
253
- readonly anonymous: false;
254
- readonly inputs: readonly [{
255
- readonly name: "projectId";
256
- readonly internalType: "uint256";
257
- readonly type: "uint256";
258
- readonly indexed: true;
259
- }, {
260
- readonly name: "month";
261
- readonly internalType: "uint256";
262
- readonly type: "uint256";
263
- readonly indexed: true;
264
- }, {
265
- readonly name: "amount";
266
- readonly internalType: "uint128";
267
- readonly type: "uint128";
268
- readonly indexed: false;
269
- }];
270
- readonly name: "UnclaimedRewardsUnassigned";
271
- }, {
272
- readonly type: "function";
273
- readonly inputs: readonly [{
274
- readonly name: "_names";
275
- readonly internalType: "string[]";
276
- readonly type: "string[]";
277
- }, {
278
- readonly name: "_distributors";
279
- readonly internalType: "address[]";
280
- readonly type: "address[]";
281
- }, {
282
- readonly name: "_currentMonthDistributionEnabledList";
283
- readonly internalType: "bool[]";
284
- readonly type: "bool[]";
285
- }];
286
- readonly name: "addProjects";
287
- readonly outputs: readonly [];
288
- readonly stateMutability: "nonpayable";
289
- }, {
290
- readonly type: "function";
291
- readonly inputs: readonly [{
292
- readonly name: "owner";
293
- readonly internalType: "address";
294
- readonly type: "address";
295
- }, {
296
- readonly name: "spender";
297
- readonly internalType: "address";
298
- readonly type: "address";
299
- }];
300
- readonly name: "allowance";
301
- readonly outputs: readonly [{
302
- readonly name: "";
303
- readonly internalType: "uint256";
304
- readonly type: "uint256";
305
- }];
306
- readonly stateMutability: "view";
307
- }, {
308
- readonly type: "function";
309
- readonly inputs: readonly [{
310
- readonly name: "spender";
311
- readonly internalType: "address";
312
- readonly type: "address";
313
- }, {
314
- readonly name: "amount";
315
- readonly internalType: "uint256";
316
- readonly type: "uint256";
317
- }];
318
- readonly name: "approve";
319
- readonly outputs: readonly [{
320
- readonly name: "";
321
- readonly internalType: "bool";
322
- readonly type: "bool";
323
- }];
324
- readonly stateMutability: "nonpayable";
325
- }, {
326
- readonly type: "function";
327
- readonly inputs: readonly [{
328
- readonly name: "_month";
329
- readonly internalType: "uint256";
330
- readonly type: "uint256";
331
- }, {
332
- readonly name: "_projectIds";
333
- readonly internalType: "uint256[]";
334
- readonly type: "uint256[]";
335
- }, {
336
- readonly name: "_amountsWei";
337
- readonly internalType: "uint128[]";
338
- readonly type: "uint128[]";
339
- }];
340
- readonly name: "assignRewards";
341
- readonly outputs: readonly [];
342
- readonly stateMutability: "nonpayable";
343
- }, {
344
- readonly type: "function";
345
- readonly inputs: readonly [{
346
- readonly name: "account";
347
- readonly internalType: "address";
348
- readonly type: "address";
349
- }];
350
- readonly name: "balanceOf";
351
- readonly outputs: readonly [{
352
- readonly name: "";
353
- readonly internalType: "uint256";
354
- readonly type: "uint256";
355
- }];
356
- readonly stateMutability: "view";
357
- }, {
358
- readonly type: "function";
359
- readonly inputs: readonly [{
360
- readonly name: "_projectIds";
361
- readonly internalType: "uint256[]";
362
- readonly type: "uint256[]";
363
- }, {
364
- readonly name: "_month";
365
- readonly internalType: "uint256";
366
- readonly type: "uint256";
367
- }];
368
- readonly name: "claimRewards";
369
- readonly outputs: readonly [{
370
- readonly name: "_claimedRewardsWei";
371
- readonly internalType: "uint128";
372
- readonly type: "uint128";
373
- }];
374
- readonly stateMutability: "nonpayable";
375
- }, {
376
- readonly type: "function";
377
- readonly inputs: readonly [];
378
- readonly name: "decimals";
379
- readonly outputs: readonly [{
380
- readonly name: "";
381
- readonly internalType: "uint8";
382
- readonly type: "uint8";
383
- }];
384
- readonly stateMutability: "view";
385
- }, {
386
- readonly type: "function";
387
- readonly inputs: readonly [{
388
- readonly name: "_projectIds";
389
- readonly internalType: "uint256[]";
390
- readonly type: "uint256[]";
391
- }];
392
- readonly name: "disableClaiming";
393
- readonly outputs: readonly [];
394
- readonly stateMutability: "nonpayable";
395
- }, {
396
- readonly type: "function";
397
- readonly inputs: readonly [{
398
- readonly name: "_projectIds";
399
- readonly internalType: "uint256[]";
400
- readonly type: "uint256[]";
401
- }];
402
- readonly name: "disableDistribution";
403
- readonly outputs: readonly [];
404
- readonly stateMutability: "nonpayable";
405
- }, {
406
- readonly type: "function";
407
- readonly inputs: readonly [{
408
- readonly name: "_projectId";
409
- readonly internalType: "uint256";
410
- readonly type: "uint256";
411
- }, {
412
- readonly name: "_month";
413
- readonly internalType: "uint256";
414
- readonly type: "uint256";
415
- }, {
416
- readonly name: "_recipients";
417
- readonly internalType: "address[]";
418
- readonly type: "address[]";
419
- }, {
420
- readonly name: "_amountsWei";
421
- readonly internalType: "uint128[]";
422
- readonly type: "uint128[]";
423
- }];
424
- readonly name: "distributeRewards";
425
- readonly outputs: readonly [];
426
- readonly stateMutability: "nonpayable";
427
- }, {
428
- readonly type: "function";
429
- readonly inputs: readonly [];
430
- readonly name: "firstMonthStartTs";
431
- readonly outputs: readonly [{
432
- readonly name: "";
433
- readonly internalType: "uint256";
434
- readonly type: "uint256";
435
- }];
436
- readonly stateMutability: "view";
437
- }, {
438
- readonly type: "function";
439
- readonly inputs: readonly [{
440
- readonly name: "_owner";
441
- readonly internalType: "address";
442
- readonly type: "address";
443
- }];
444
- readonly name: "getBalancesOf";
445
- readonly outputs: readonly [{
446
- readonly name: "_wNatBalance";
447
- readonly internalType: "uint256";
448
- readonly type: "uint256";
449
- }, {
450
- readonly name: "_rNatBalance";
451
- readonly internalType: "uint256";
452
- readonly type: "uint256";
453
- }, {
454
- readonly name: "_lockedBalance";
455
- readonly internalType: "uint256";
456
- readonly type: "uint256";
457
- }];
458
- readonly stateMutability: "view";
459
- }, {
460
- readonly type: "function";
461
- readonly inputs: readonly [{
462
- readonly name: "_projectId";
463
- readonly internalType: "uint256";
464
- readonly type: "uint256";
465
- }, {
466
- readonly name: "_owner";
467
- readonly internalType: "address";
468
- readonly type: "address";
469
- }];
470
- readonly name: "getClaimableRewards";
471
- readonly outputs: readonly [{
472
- readonly name: "";
473
- readonly internalType: "uint128";
474
- readonly type: "uint128";
475
- }];
476
- readonly stateMutability: "view";
477
- }, {
478
- readonly type: "function";
479
- readonly inputs: readonly [];
480
- readonly name: "getCurrentMonth";
481
- readonly outputs: readonly [{
482
- readonly name: "";
483
- readonly internalType: "uint256";
484
- readonly type: "uint256";
485
- }];
486
- readonly stateMutability: "view";
487
- }, {
488
- readonly type: "function";
489
- readonly inputs: readonly [{
490
- readonly name: "_projectId";
491
- readonly internalType: "uint256";
492
- readonly type: "uint256";
493
- }, {
494
- readonly name: "_month";
495
- readonly internalType: "uint256";
496
- readonly type: "uint256";
497
- }, {
498
- readonly name: "_owner";
499
- readonly internalType: "address";
500
- readonly type: "address";
501
- }];
502
- readonly name: "getOwnerRewardsInfo";
503
- readonly outputs: readonly [{
504
- readonly name: "_assignedRewards";
505
- readonly internalType: "uint128";
506
- readonly type: "uint128";
507
- }, {
508
- readonly name: "_claimedRewards";
509
- readonly internalType: "uint128";
510
- readonly type: "uint128";
511
- }, {
512
- readonly name: "_claimable";
513
- readonly internalType: "bool";
514
- readonly type: "bool";
515
- }];
516
- readonly stateMutability: "view";
517
- }, {
518
- readonly type: "function";
519
- readonly inputs: readonly [{
520
- readonly name: "_projectId";
521
- readonly internalType: "uint256";
522
- readonly type: "uint256";
523
- }];
524
- readonly name: "getProjectInfo";
525
- readonly outputs: readonly [{
526
- readonly name: "_name";
527
- readonly internalType: "string";
528
- readonly type: "string";
529
- }, {
530
- readonly name: "_distributor";
531
- readonly internalType: "address";
532
- readonly type: "address";
533
- }, {
534
- readonly name: "_currentMonthDistributionEnabled";
535
- readonly internalType: "bool";
536
- readonly type: "bool";
537
- }, {
538
- readonly name: "_distributionDisabled";
539
- readonly internalType: "bool";
540
- readonly type: "bool";
541
- }, {
542
- readonly name: "_claimingDisabled";
543
- readonly internalType: "bool";
544
- readonly type: "bool";
545
- }, {
546
- readonly name: "_totalAssignedRewards";
547
- readonly internalType: "uint128";
548
- readonly type: "uint128";
549
- }, {
550
- readonly name: "_totalDistributedRewards";
551
- readonly internalType: "uint128";
552
- readonly type: "uint128";
553
- }, {
554
- readonly name: "_totalClaimedRewards";
555
- readonly internalType: "uint128";
556
- readonly type: "uint128";
557
- }, {
558
- readonly name: "_totalUnassignedUnclaimedRewards";
559
- readonly internalType: "uint128";
560
- readonly type: "uint128";
561
- }, {
562
- readonly name: "_monthsWithRewards";
563
- readonly internalType: "uint256[]";
564
- readonly type: "uint256[]";
565
- }];
566
- readonly stateMutability: "view";
567
- }, {
568
- readonly type: "function";
569
- readonly inputs: readonly [{
570
- readonly name: "_projectId";
571
- readonly internalType: "uint256";
572
- readonly type: "uint256";
573
- }, {
574
- readonly name: "_month";
575
- readonly internalType: "uint256";
576
- readonly type: "uint256";
577
- }];
578
- readonly name: "getProjectRewardsInfo";
579
- readonly outputs: readonly [{
580
- readonly name: "_assignedRewards";
581
- readonly internalType: "uint128";
582
- readonly type: "uint128";
583
- }, {
584
- readonly name: "_distributedRewards";
585
- readonly internalType: "uint128";
586
- readonly type: "uint128";
587
- }, {
588
- readonly name: "_claimedRewards";
589
- readonly internalType: "uint128";
590
- readonly type: "uint128";
591
- }, {
592
- readonly name: "_unassignedUnclaimedRewards";
593
- readonly internalType: "uint128";
594
- readonly type: "uint128";
595
- }];
596
- readonly stateMutability: "view";
597
- }, {
598
- readonly type: "function";
599
- readonly inputs: readonly [];
600
- readonly name: "getProjectsBasicInfo";
601
- readonly outputs: readonly [{
602
- readonly name: "_names";
603
- readonly internalType: "string[]";
604
- readonly type: "string[]";
605
- }, {
606
- readonly name: "_claimingDisabled";
607
- readonly internalType: "bool[]";
608
- readonly type: "bool[]";
609
- }];
610
- readonly stateMutability: "view";
611
- }, {
612
- readonly type: "function";
613
- readonly inputs: readonly [];
614
- readonly name: "getProjectsCount";
615
- readonly outputs: readonly [{
616
- readonly name: "";
617
- readonly internalType: "uint256";
618
- readonly type: "uint256";
619
- }];
620
- readonly stateMutability: "view";
621
- }, {
622
- readonly type: "function";
623
- readonly inputs: readonly [{
624
- readonly name: "_owner";
625
- readonly internalType: "address";
626
- readonly type: "address";
627
- }];
628
- readonly name: "getRNatAccount";
629
- readonly outputs: readonly [{
630
- readonly name: "";
631
- readonly internalType: "contract IRNatAccount";
632
- readonly type: "address";
633
- }];
634
- readonly stateMutability: "view";
635
- }, {
636
- readonly type: "function";
637
- readonly inputs: readonly [];
638
- readonly name: "getRewardsInfo";
639
- readonly outputs: readonly [{
640
- readonly name: "_totalAssignableRewards";
641
- readonly internalType: "uint256";
642
- readonly type: "uint256";
643
- }, {
644
- readonly name: "_totalAssignedRewards";
645
- readonly internalType: "uint256";
646
- readonly type: "uint256";
647
- }, {
648
- readonly name: "_totalClaimedRewards";
649
- readonly internalType: "uint256";
650
- readonly type: "uint256";
651
- }, {
652
- readonly name: "_totalWithdrawnRewards";
653
- readonly internalType: "uint256";
654
- readonly type: "uint256";
655
- }, {
656
- readonly name: "_totalWithdrawnAssignableRewards";
657
- readonly internalType: "uint256";
658
- readonly type: "uint256";
659
- }];
660
- readonly stateMutability: "view";
661
- }, {
662
- readonly type: "function";
663
- readonly inputs: readonly [];
664
- readonly name: "name";
665
- readonly outputs: readonly [{
666
- readonly name: "";
667
- readonly internalType: "string";
668
- readonly type: "string";
669
- }];
670
- readonly stateMutability: "view";
671
- }, {
672
- readonly type: "function";
673
- readonly inputs: readonly [{
674
- readonly name: "_executors";
675
- readonly internalType: "address[]";
676
- readonly type: "address[]";
677
- }];
678
- readonly name: "setClaimExecutors";
679
- readonly outputs: readonly [];
680
- readonly stateMutability: "payable";
681
- }, {
682
- readonly type: "function";
683
- readonly inputs: readonly [];
684
- readonly name: "symbol";
685
- readonly outputs: readonly [{
686
- readonly name: "";
687
- readonly internalType: "string";
688
- readonly type: "string";
689
- }];
690
- readonly stateMutability: "view";
691
- }, {
692
- readonly type: "function";
693
- readonly inputs: readonly [];
694
- readonly name: "totalSupply";
695
- readonly outputs: readonly [{
696
- readonly name: "";
697
- readonly internalType: "uint256";
698
- readonly type: "uint256";
699
- }];
700
- readonly stateMutability: "view";
701
- }, {
702
- readonly type: "function";
703
- readonly inputs: readonly [{
704
- readonly name: "to";
705
- readonly internalType: "address";
706
- readonly type: "address";
707
- }, {
708
- readonly name: "amount";
709
- readonly internalType: "uint256";
710
- readonly type: "uint256";
711
- }];
712
- readonly name: "transfer";
713
- readonly outputs: readonly [{
714
- readonly name: "";
715
- readonly internalType: "bool";
716
- readonly type: "bool";
717
- }];
718
- readonly stateMutability: "nonpayable";
719
- }, {
720
- readonly type: "function";
721
- readonly inputs: readonly [{
722
- readonly name: "_token";
723
- readonly internalType: "contract IERC20";
724
- readonly type: "address";
725
- }, {
726
- readonly name: "_amount";
727
- readonly internalType: "uint256";
728
- readonly type: "uint256";
729
- }];
730
- readonly name: "transferExternalToken";
731
- readonly outputs: readonly [];
732
- readonly stateMutability: "nonpayable";
733
- }, {
734
- readonly type: "function";
735
- readonly inputs: readonly [{
736
- readonly name: "from";
737
- readonly internalType: "address";
738
- readonly type: "address";
739
- }, {
740
- readonly name: "to";
741
- readonly internalType: "address";
742
- readonly type: "address";
743
- }, {
744
- readonly name: "amount";
745
- readonly internalType: "uint256";
746
- readonly type: "uint256";
747
- }];
748
- readonly name: "transferFrom";
749
- readonly outputs: readonly [{
750
- readonly name: "";
751
- readonly internalType: "bool";
752
- readonly type: "bool";
753
- }];
754
- readonly stateMutability: "nonpayable";
755
- }, {
756
- readonly type: "function";
757
- readonly inputs: readonly [{
758
- readonly name: "_projectId";
759
- readonly internalType: "uint256";
760
- readonly type: "uint256";
761
- }, {
762
- readonly name: "_months";
763
- readonly internalType: "uint256[]";
764
- readonly type: "uint256[]";
765
- }];
766
- readonly name: "unassignRewards";
767
- readonly outputs: readonly [];
768
- readonly stateMutability: "nonpayable";
769
- }, {
770
- readonly type: "function";
771
- readonly inputs: readonly [{
772
- readonly name: "_projectId";
773
- readonly internalType: "uint256";
774
- readonly type: "uint256";
775
- }, {
776
- readonly name: "_name";
777
- readonly internalType: "string";
778
- readonly type: "string";
779
- }, {
780
- readonly name: "_distributor";
781
- readonly internalType: "address";
782
- readonly type: "address";
783
- }, {
784
- readonly name: "_currentMonthDistributionEnabled";
785
- readonly internalType: "bool";
786
- readonly type: "bool";
787
- }];
788
- readonly name: "updateProject";
789
- readonly outputs: readonly [];
790
- readonly stateMutability: "nonpayable";
791
- }, {
792
- readonly type: "function";
793
- readonly inputs: readonly [];
794
- readonly name: "wNat";
795
- readonly outputs: readonly [{
796
- readonly name: "";
797
- readonly internalType: "contract IWNat";
798
- readonly type: "address";
799
- }];
800
- readonly stateMutability: "view";
801
- }, {
802
- readonly type: "function";
803
- readonly inputs: readonly [{
804
- readonly name: "_amount";
805
- readonly internalType: "uint128";
806
- readonly type: "uint128";
807
- }, {
808
- readonly name: "_wrap";
809
- readonly internalType: "bool";
810
- readonly type: "bool";
811
- }];
812
- readonly name: "withdraw";
813
- readonly outputs: readonly [];
814
- readonly stateMutability: "nonpayable";
815
- }, {
816
- readonly type: "function";
817
- readonly inputs: readonly [{
818
- readonly name: "_wrap";
819
- readonly internalType: "bool";
820
- readonly type: "bool";
821
- }];
822
- readonly name: "withdrawAll";
823
- readonly outputs: readonly [];
824
- readonly stateMutability: "nonpayable";
825
- }];
826
- /**
827
- * Wraps __{@link useReadContract}__ with `abi` set to __{@link iirNatAbi}__
828
- */
829
- export declare const useReadIirNat: import("wagmi/codegen").CreateUseReadContractReturnType<readonly [{
830
- readonly type: "event";
831
- readonly anonymous: false;
832
- readonly inputs: readonly [{
833
- readonly name: "owner";
834
- readonly internalType: "address";
835
- readonly type: "address";
836
- readonly indexed: true;
837
- }, {
838
- readonly name: "spender";
839
- readonly internalType: "address";
840
- readonly type: "address";
841
- readonly indexed: true;
842
- }, {
843
- readonly name: "value";
844
- readonly internalType: "uint256";
845
- readonly type: "uint256";
846
- readonly indexed: false;
847
- }];
848
- readonly name: "Approval";
849
- }, {
850
- readonly type: "event";
851
- readonly anonymous: false;
852
- readonly inputs: readonly [{
853
- readonly name: "projectIds";
854
- readonly internalType: "uint256[]";
855
- readonly type: "uint256[]";
856
- readonly indexed: false;
857
- }, {
858
- readonly name: "disabled";
859
- readonly internalType: "bool";
860
- readonly type: "bool";
861
- readonly indexed: false;
862
- }];
863
- readonly name: "ClaimingPermissionUpdated";
864
- }, {
865
- readonly type: "event";
866
- readonly anonymous: false;
867
- readonly inputs: readonly [{
868
- readonly name: "projectIds";
869
- readonly internalType: "uint256[]";
870
- readonly type: "uint256[]";
871
- readonly indexed: false;
872
- }, {
873
- readonly name: "disabled";
874
- readonly internalType: "bool";
875
- readonly type: "bool";
876
- readonly indexed: false;
877
- }];
878
- readonly name: "DistributionPermissionUpdated";
879
- }, {
880
- readonly type: "event";
881
- readonly anonymous: false;
882
- readonly inputs: readonly [{
883
- readonly name: "libraryAddress";
884
- readonly internalType: "address";
885
- readonly type: "address";
886
- readonly indexed: false;
887
- }];
888
- readonly name: "LibraryAddressSet";
889
- }, {
890
- readonly type: "event";
891
- readonly anonymous: false;
892
- readonly inputs: readonly [{
893
- readonly name: "id";
894
- readonly internalType: "uint256";
895
- readonly type: "uint256";
896
- readonly indexed: true;
897
- }, {
898
- readonly name: "name";
899
- readonly internalType: "string";
900
- readonly type: "string";
901
- readonly indexed: false;
902
- }, {
903
- readonly name: "distributor";
904
- readonly internalType: "address";
905
- readonly type: "address";
906
- readonly indexed: false;
907
- }, {
908
- readonly name: "currentMonthDistributionEnabled";
909
- readonly internalType: "bool";
910
- readonly type: "bool";
911
- readonly indexed: false;
912
- }];
913
- readonly name: "ProjectAdded";
914
- }, {
915
- readonly type: "event";
916
- readonly anonymous: false;
917
- readonly inputs: readonly [{
918
- readonly name: "id";
919
- readonly internalType: "uint256";
920
- readonly type: "uint256";
921
- readonly indexed: true;
922
- }, {
923
- readonly name: "name";
924
- readonly internalType: "string";
925
- readonly type: "string";
926
- readonly indexed: false;
927
- }, {
928
- readonly name: "distributor";
929
- readonly internalType: "address";
930
- readonly type: "address";
931
- readonly indexed: false;
932
- }, {
933
- readonly name: "currentMonthDistributionEnabled";
934
- readonly internalType: "bool";
935
- readonly type: "bool";
936
- readonly indexed: false;
937
- }];
938
- readonly name: "ProjectUpdated";
939
- }, {
940
- readonly type: "event";
941
- readonly anonymous: false;
942
- readonly inputs: readonly [{
943
- readonly name: "owner";
944
- readonly internalType: "address";
945
- readonly type: "address";
946
- readonly indexed: false;
947
- }, {
948
- readonly name: "rNatAccount";
949
- readonly internalType: "contract IRNatAccount";
950
- readonly type: "address";
951
- readonly indexed: false;
952
- }];
953
- readonly name: "RNatAccountCreated";
954
- }, {
955
- readonly type: "event";
956
- readonly anonymous: false;
957
- readonly inputs: readonly [{
958
- readonly name: "projectId";
959
- readonly internalType: "uint256";
960
- readonly type: "uint256";
961
- readonly indexed: true;
962
- }, {
963
- readonly name: "month";
964
- readonly internalType: "uint256";
965
- readonly type: "uint256";
966
- readonly indexed: true;
967
- }, {
968
- readonly name: "amount";
969
- readonly internalType: "uint128";
970
- readonly type: "uint128";
971
- readonly indexed: false;
972
- }];
973
- readonly name: "RewardsAssigned";
974
- }, {
975
- readonly type: "event";
976
- readonly anonymous: false;
977
- readonly inputs: readonly [{
978
- readonly name: "projectId";
979
- readonly internalType: "uint256";
980
- readonly type: "uint256";
981
- readonly indexed: true;
982
- }, {
983
- readonly name: "month";
984
- readonly internalType: "uint256";
985
- readonly type: "uint256";
986
- readonly indexed: true;
987
- }, {
988
- readonly name: "owner";
989
- readonly internalType: "address";
990
- readonly type: "address";
991
- readonly indexed: true;
992
- }, {
993
- readonly name: "amount";
994
- readonly internalType: "uint128";
995
- readonly type: "uint128";
996
- readonly indexed: false;
997
- }];
998
- readonly name: "RewardsClaimed";
999
- }, {
1000
- readonly type: "event";
1001
- readonly anonymous: false;
1002
- readonly inputs: readonly [{
1003
- readonly name: "projectId";
1004
- readonly internalType: "uint256";
1005
- readonly type: "uint256";
1006
- readonly indexed: true;
1007
- }, {
1008
- readonly name: "month";
1009
- readonly internalType: "uint256";
1010
- readonly type: "uint256";
1011
- readonly indexed: true;
1012
- }, {
1013
- readonly name: "recipients";
1014
- readonly internalType: "address[]";
1015
- readonly type: "address[]";
1016
- readonly indexed: false;
1017
- }, {
1018
- readonly name: "amounts";
1019
- readonly internalType: "uint128[]";
1020
- readonly type: "uint128[]";
1021
- readonly indexed: false;
1022
- }];
1023
- readonly name: "RewardsDistributed";
1024
- }, {
1025
- readonly type: "event";
1026
- readonly anonymous: false;
1027
- readonly inputs: readonly [{
1028
- readonly name: "projectId";
1029
- readonly internalType: "uint256";
1030
- readonly type: "uint256";
1031
- readonly indexed: true;
1032
- }, {
1033
- readonly name: "month";
1034
- readonly internalType: "uint256";
1035
- readonly type: "uint256";
1036
- readonly indexed: true;
1037
- }, {
1038
- readonly name: "amount";
1039
- readonly internalType: "uint128";
1040
- readonly type: "uint128";
1041
- readonly indexed: false;
1042
- }];
1043
- readonly name: "RewardsUnassigned";
1044
- }, {
1045
- readonly type: "event";
1046
- readonly anonymous: false;
1047
- readonly inputs: readonly [{
1048
- readonly name: "from";
1049
- readonly internalType: "address";
1050
- readonly type: "address";
1051
- readonly indexed: true;
1052
- }, {
1053
- readonly name: "to";
1054
- readonly internalType: "address";
1055
- readonly type: "address";
1056
- readonly indexed: true;
1057
- }, {
1058
- readonly name: "value";
1059
- readonly internalType: "uint256";
1060
- readonly type: "uint256";
1061
- readonly indexed: false;
1062
- }];
1063
- readonly name: "Transfer";
1064
- }, {
1065
- readonly type: "event";
1066
- readonly anonymous: false;
1067
- readonly inputs: readonly [{
1068
- readonly name: "recipient";
1069
- readonly internalType: "address";
1070
- readonly type: "address";
1071
- readonly indexed: false;
1072
- }, {
1073
- readonly name: "amount";
1074
- readonly internalType: "uint128";
1075
- readonly type: "uint128";
1076
- readonly indexed: false;
1077
- }];
1078
- readonly name: "UnassignedRewardsWithdrawn";
1079
- }, {
1080
- readonly type: "event";
1081
- readonly anonymous: false;
1082
- readonly inputs: readonly [{
1083
- readonly name: "projectId";
1084
- readonly internalType: "uint256";
1085
- readonly type: "uint256";
1086
- readonly indexed: true;
1087
- }, {
1088
- readonly name: "month";
1089
- readonly internalType: "uint256";
1090
- readonly type: "uint256";
1091
- readonly indexed: true;
1092
- }, {
1093
- readonly name: "amount";
1094
- readonly internalType: "uint128";
1095
- readonly type: "uint128";
1096
- readonly indexed: false;
1097
- }];
1098
- readonly name: "UnclaimedRewardsUnassigned";
1099
- }, {
1100
- readonly type: "function";
1101
- readonly inputs: readonly [{
1102
- readonly name: "_names";
1103
- readonly internalType: "string[]";
1104
- readonly type: "string[]";
1105
- }, {
1106
- readonly name: "_distributors";
1107
- readonly internalType: "address[]";
1108
- readonly type: "address[]";
1109
- }, {
1110
- readonly name: "_currentMonthDistributionEnabledList";
1111
- readonly internalType: "bool[]";
1112
- readonly type: "bool[]";
1113
- }];
1114
- readonly name: "addProjects";
1115
- readonly outputs: readonly [];
1116
- readonly stateMutability: "nonpayable";
1117
- }, {
1118
- readonly type: "function";
1119
- readonly inputs: readonly [{
1120
- readonly name: "owner";
1121
- readonly internalType: "address";
1122
- readonly type: "address";
1123
- }, {
1124
- readonly name: "spender";
1125
- readonly internalType: "address";
1126
- readonly type: "address";
1127
- }];
1128
- readonly name: "allowance";
1129
- readonly outputs: readonly [{
1130
- readonly name: "";
1131
- readonly internalType: "uint256";
1132
- readonly type: "uint256";
1133
- }];
1134
- readonly stateMutability: "view";
1135
- }, {
1136
- readonly type: "function";
1137
- readonly inputs: readonly [{
1138
- readonly name: "spender";
1139
- readonly internalType: "address";
1140
- readonly type: "address";
1141
- }, {
1142
- readonly name: "amount";
1143
- readonly internalType: "uint256";
1144
- readonly type: "uint256";
1145
- }];
1146
- readonly name: "approve";
1147
- readonly outputs: readonly [{
1148
- readonly name: "";
1149
- readonly internalType: "bool";
1150
- readonly type: "bool";
1151
- }];
1152
- readonly stateMutability: "nonpayable";
1153
- }, {
1154
- readonly type: "function";
1155
- readonly inputs: readonly [{
1156
- readonly name: "_month";
1157
- readonly internalType: "uint256";
1158
- readonly type: "uint256";
1159
- }, {
1160
- readonly name: "_projectIds";
1161
- readonly internalType: "uint256[]";
1162
- readonly type: "uint256[]";
1163
- }, {
1164
- readonly name: "_amountsWei";
1165
- readonly internalType: "uint128[]";
1166
- readonly type: "uint128[]";
1167
- }];
1168
- readonly name: "assignRewards";
1169
- readonly outputs: readonly [];
1170
- readonly stateMutability: "nonpayable";
1171
- }, {
1172
- readonly type: "function";
1173
- readonly inputs: readonly [{
1174
- readonly name: "account";
1175
- readonly internalType: "address";
1176
- readonly type: "address";
1177
- }];
1178
- readonly name: "balanceOf";
1179
- readonly outputs: readonly [{
1180
- readonly name: "";
1181
- readonly internalType: "uint256";
1182
- readonly type: "uint256";
1183
- }];
1184
- readonly stateMutability: "view";
1185
- }, {
1186
- readonly type: "function";
1187
- readonly inputs: readonly [{
1188
- readonly name: "_projectIds";
1189
- readonly internalType: "uint256[]";
1190
- readonly type: "uint256[]";
1191
- }, {
1192
- readonly name: "_month";
1193
- readonly internalType: "uint256";
1194
- readonly type: "uint256";
1195
- }];
1196
- readonly name: "claimRewards";
1197
- readonly outputs: readonly [{
1198
- readonly name: "_claimedRewardsWei";
1199
- readonly internalType: "uint128";
1200
- readonly type: "uint128";
1201
- }];
1202
- readonly stateMutability: "nonpayable";
1203
- }, {
1204
- readonly type: "function";
1205
- readonly inputs: readonly [];
1206
- readonly name: "decimals";
1207
- readonly outputs: readonly [{
1208
- readonly name: "";
1209
- readonly internalType: "uint8";
1210
- readonly type: "uint8";
1211
- }];
1212
- readonly stateMutability: "view";
1213
- }, {
1214
- readonly type: "function";
1215
- readonly inputs: readonly [{
1216
- readonly name: "_projectIds";
1217
- readonly internalType: "uint256[]";
1218
- readonly type: "uint256[]";
1219
- }];
1220
- readonly name: "disableClaiming";
1221
- readonly outputs: readonly [];
1222
- readonly stateMutability: "nonpayable";
1223
- }, {
1224
- readonly type: "function";
1225
- readonly inputs: readonly [{
1226
- readonly name: "_projectIds";
1227
- readonly internalType: "uint256[]";
1228
- readonly type: "uint256[]";
1229
- }];
1230
- readonly name: "disableDistribution";
1231
- readonly outputs: readonly [];
1232
- readonly stateMutability: "nonpayable";
1233
- }, {
1234
- readonly type: "function";
1235
- readonly inputs: readonly [{
1236
- readonly name: "_projectId";
1237
- readonly internalType: "uint256";
1238
- readonly type: "uint256";
1239
- }, {
1240
- readonly name: "_month";
1241
- readonly internalType: "uint256";
1242
- readonly type: "uint256";
1243
- }, {
1244
- readonly name: "_recipients";
1245
- readonly internalType: "address[]";
1246
- readonly type: "address[]";
1247
- }, {
1248
- readonly name: "_amountsWei";
1249
- readonly internalType: "uint128[]";
1250
- readonly type: "uint128[]";
1251
- }];
1252
- readonly name: "distributeRewards";
1253
- readonly outputs: readonly [];
1254
- readonly stateMutability: "nonpayable";
1255
- }, {
1256
- readonly type: "function";
1257
- readonly inputs: readonly [];
1258
- readonly name: "firstMonthStartTs";
1259
- readonly outputs: readonly [{
1260
- readonly name: "";
1261
- readonly internalType: "uint256";
1262
- readonly type: "uint256";
1263
- }];
1264
- readonly stateMutability: "view";
1265
- }, {
1266
- readonly type: "function";
1267
- readonly inputs: readonly [{
1268
- readonly name: "_owner";
1269
- readonly internalType: "address";
1270
- readonly type: "address";
1271
- }];
1272
- readonly name: "getBalancesOf";
1273
- readonly outputs: readonly [{
1274
- readonly name: "_wNatBalance";
1275
- readonly internalType: "uint256";
1276
- readonly type: "uint256";
1277
- }, {
1278
- readonly name: "_rNatBalance";
1279
- readonly internalType: "uint256";
1280
- readonly type: "uint256";
1281
- }, {
1282
- readonly name: "_lockedBalance";
1283
- readonly internalType: "uint256";
1284
- readonly type: "uint256";
1285
- }];
1286
- readonly stateMutability: "view";
1287
- }, {
1288
- readonly type: "function";
1289
- readonly inputs: readonly [{
1290
- readonly name: "_projectId";
1291
- readonly internalType: "uint256";
1292
- readonly type: "uint256";
1293
- }, {
1294
- readonly name: "_owner";
1295
- readonly internalType: "address";
1296
- readonly type: "address";
1297
- }];
1298
- readonly name: "getClaimableRewards";
1299
- readonly outputs: readonly [{
1300
- readonly name: "";
1301
- readonly internalType: "uint128";
1302
- readonly type: "uint128";
1303
- }];
1304
- readonly stateMutability: "view";
1305
- }, {
1306
- readonly type: "function";
1307
- readonly inputs: readonly [];
1308
- readonly name: "getCurrentMonth";
1309
- readonly outputs: readonly [{
1310
- readonly name: "";
1311
- readonly internalType: "uint256";
1312
- readonly type: "uint256";
1313
- }];
1314
- readonly stateMutability: "view";
1315
- }, {
1316
- readonly type: "function";
1317
- readonly inputs: readonly [{
1318
- readonly name: "_projectId";
1319
- readonly internalType: "uint256";
1320
- readonly type: "uint256";
1321
- }, {
1322
- readonly name: "_month";
1323
- readonly internalType: "uint256";
1324
- readonly type: "uint256";
1325
- }, {
1326
- readonly name: "_owner";
1327
- readonly internalType: "address";
1328
- readonly type: "address";
1329
- }];
1330
- readonly name: "getOwnerRewardsInfo";
1331
- readonly outputs: readonly [{
1332
- readonly name: "_assignedRewards";
1333
- readonly internalType: "uint128";
1334
- readonly type: "uint128";
1335
- }, {
1336
- readonly name: "_claimedRewards";
1337
- readonly internalType: "uint128";
1338
- readonly type: "uint128";
1339
- }, {
1340
- readonly name: "_claimable";
1341
- readonly internalType: "bool";
1342
- readonly type: "bool";
1343
- }];
1344
- readonly stateMutability: "view";
1345
- }, {
1346
- readonly type: "function";
1347
- readonly inputs: readonly [{
1348
- readonly name: "_projectId";
1349
- readonly internalType: "uint256";
1350
- readonly type: "uint256";
1351
- }];
1352
- readonly name: "getProjectInfo";
1353
- readonly outputs: readonly [{
1354
- readonly name: "_name";
1355
- readonly internalType: "string";
1356
- readonly type: "string";
1357
- }, {
1358
- readonly name: "_distributor";
1359
- readonly internalType: "address";
1360
- readonly type: "address";
1361
- }, {
1362
- readonly name: "_currentMonthDistributionEnabled";
1363
- readonly internalType: "bool";
1364
- readonly type: "bool";
1365
- }, {
1366
- readonly name: "_distributionDisabled";
1367
- readonly internalType: "bool";
1368
- readonly type: "bool";
1369
- }, {
1370
- readonly name: "_claimingDisabled";
1371
- readonly internalType: "bool";
1372
- readonly type: "bool";
1373
- }, {
1374
- readonly name: "_totalAssignedRewards";
1375
- readonly internalType: "uint128";
1376
- readonly type: "uint128";
1377
- }, {
1378
- readonly name: "_totalDistributedRewards";
1379
- readonly internalType: "uint128";
1380
- readonly type: "uint128";
1381
- }, {
1382
- readonly name: "_totalClaimedRewards";
1383
- readonly internalType: "uint128";
1384
- readonly type: "uint128";
1385
- }, {
1386
- readonly name: "_totalUnassignedUnclaimedRewards";
1387
- readonly internalType: "uint128";
1388
- readonly type: "uint128";
1389
- }, {
1390
- readonly name: "_monthsWithRewards";
1391
- readonly internalType: "uint256[]";
1392
- readonly type: "uint256[]";
1393
- }];
1394
- readonly stateMutability: "view";
1395
- }, {
1396
- readonly type: "function";
1397
- readonly inputs: readonly [{
1398
- readonly name: "_projectId";
1399
- readonly internalType: "uint256";
1400
- readonly type: "uint256";
1401
- }, {
1402
- readonly name: "_month";
1403
- readonly internalType: "uint256";
1404
- readonly type: "uint256";
1405
- }];
1406
- readonly name: "getProjectRewardsInfo";
1407
- readonly outputs: readonly [{
1408
- readonly name: "_assignedRewards";
1409
- readonly internalType: "uint128";
1410
- readonly type: "uint128";
1411
- }, {
1412
- readonly name: "_distributedRewards";
1413
- readonly internalType: "uint128";
1414
- readonly type: "uint128";
1415
- }, {
1416
- readonly name: "_claimedRewards";
1417
- readonly internalType: "uint128";
1418
- readonly type: "uint128";
1419
- }, {
1420
- readonly name: "_unassignedUnclaimedRewards";
1421
- readonly internalType: "uint128";
1422
- readonly type: "uint128";
1423
- }];
1424
- readonly stateMutability: "view";
1425
- }, {
1426
- readonly type: "function";
1427
- readonly inputs: readonly [];
1428
- readonly name: "getProjectsBasicInfo";
1429
- readonly outputs: readonly [{
1430
- readonly name: "_names";
1431
- readonly internalType: "string[]";
1432
- readonly type: "string[]";
1433
- }, {
1434
- readonly name: "_claimingDisabled";
1435
- readonly internalType: "bool[]";
1436
- readonly type: "bool[]";
1437
- }];
1438
- readonly stateMutability: "view";
1439
- }, {
1440
- readonly type: "function";
1441
- readonly inputs: readonly [];
1442
- readonly name: "getProjectsCount";
1443
- readonly outputs: readonly [{
1444
- readonly name: "";
1445
- readonly internalType: "uint256";
1446
- readonly type: "uint256";
1447
- }];
1448
- readonly stateMutability: "view";
1449
- }, {
1450
- readonly type: "function";
1451
- readonly inputs: readonly [{
1452
- readonly name: "_owner";
1453
- readonly internalType: "address";
1454
- readonly type: "address";
1455
- }];
1456
- readonly name: "getRNatAccount";
1457
- readonly outputs: readonly [{
1458
- readonly name: "";
1459
- readonly internalType: "contract IRNatAccount";
1460
- readonly type: "address";
1461
- }];
1462
- readonly stateMutability: "view";
1463
- }, {
1464
- readonly type: "function";
1465
- readonly inputs: readonly [];
1466
- readonly name: "getRewardsInfo";
1467
- readonly outputs: readonly [{
1468
- readonly name: "_totalAssignableRewards";
1469
- readonly internalType: "uint256";
1470
- readonly type: "uint256";
1471
- }, {
1472
- readonly name: "_totalAssignedRewards";
1473
- readonly internalType: "uint256";
1474
- readonly type: "uint256";
1475
- }, {
1476
- readonly name: "_totalClaimedRewards";
1477
- readonly internalType: "uint256";
1478
- readonly type: "uint256";
1479
- }, {
1480
- readonly name: "_totalWithdrawnRewards";
1481
- readonly internalType: "uint256";
1482
- readonly type: "uint256";
1483
- }, {
1484
- readonly name: "_totalWithdrawnAssignableRewards";
1485
- readonly internalType: "uint256";
1486
- readonly type: "uint256";
1487
- }];
1488
- readonly stateMutability: "view";
1489
- }, {
1490
- readonly type: "function";
1491
- readonly inputs: readonly [];
1492
- readonly name: "name";
1493
- readonly outputs: readonly [{
1494
- readonly name: "";
1495
- readonly internalType: "string";
1496
- readonly type: "string";
1497
- }];
1498
- readonly stateMutability: "view";
1499
- }, {
1500
- readonly type: "function";
1501
- readonly inputs: readonly [{
1502
- readonly name: "_executors";
1503
- readonly internalType: "address[]";
1504
- readonly type: "address[]";
1505
- }];
1506
- readonly name: "setClaimExecutors";
1507
- readonly outputs: readonly [];
1508
- readonly stateMutability: "payable";
1509
- }, {
1510
- readonly type: "function";
1511
- readonly inputs: readonly [];
1512
- readonly name: "symbol";
1513
- readonly outputs: readonly [{
1514
- readonly name: "";
1515
- readonly internalType: "string";
1516
- readonly type: "string";
1517
- }];
1518
- readonly stateMutability: "view";
1519
- }, {
1520
- readonly type: "function";
1521
- readonly inputs: readonly [];
1522
- readonly name: "totalSupply";
1523
- readonly outputs: readonly [{
1524
- readonly name: "";
1525
- readonly internalType: "uint256";
1526
- readonly type: "uint256";
1527
- }];
1528
- readonly stateMutability: "view";
1529
- }, {
1530
- readonly type: "function";
1531
- readonly inputs: readonly [{
1532
- readonly name: "to";
1533
- readonly internalType: "address";
1534
- readonly type: "address";
1535
- }, {
1536
- readonly name: "amount";
1537
- readonly internalType: "uint256";
1538
- readonly type: "uint256";
1539
- }];
1540
- readonly name: "transfer";
1541
- readonly outputs: readonly [{
1542
- readonly name: "";
1543
- readonly internalType: "bool";
1544
- readonly type: "bool";
1545
- }];
1546
- readonly stateMutability: "nonpayable";
1547
- }, {
1548
- readonly type: "function";
1549
- readonly inputs: readonly [{
1550
- readonly name: "_token";
1551
- readonly internalType: "contract IERC20";
1552
- readonly type: "address";
1553
- }, {
1554
- readonly name: "_amount";
1555
- readonly internalType: "uint256";
1556
- readonly type: "uint256";
1557
- }];
1558
- readonly name: "transferExternalToken";
1559
- readonly outputs: readonly [];
1560
- readonly stateMutability: "nonpayable";
1561
- }, {
1562
- readonly type: "function";
1563
- readonly inputs: readonly [{
1564
- readonly name: "from";
1565
- readonly internalType: "address";
1566
- readonly type: "address";
1567
- }, {
1568
- readonly name: "to";
1569
- readonly internalType: "address";
1570
- readonly type: "address";
1571
- }, {
1572
- readonly name: "amount";
1573
- readonly internalType: "uint256";
1574
- readonly type: "uint256";
1575
- }];
1576
- readonly name: "transferFrom";
1577
- readonly outputs: readonly [{
1578
- readonly name: "";
1579
- readonly internalType: "bool";
1580
- readonly type: "bool";
1581
- }];
1582
- readonly stateMutability: "nonpayable";
1583
- }, {
1584
- readonly type: "function";
1585
- readonly inputs: readonly [{
1586
- readonly name: "_projectId";
1587
- readonly internalType: "uint256";
1588
- readonly type: "uint256";
1589
- }, {
1590
- readonly name: "_months";
1591
- readonly internalType: "uint256[]";
1592
- readonly type: "uint256[]";
1593
- }];
1594
- readonly name: "unassignRewards";
1595
- readonly outputs: readonly [];
1596
- readonly stateMutability: "nonpayable";
1597
- }, {
1598
- readonly type: "function";
1599
- readonly inputs: readonly [{
1600
- readonly name: "_projectId";
1601
- readonly internalType: "uint256";
1602
- readonly type: "uint256";
1603
- }, {
1604
- readonly name: "_name";
1605
- readonly internalType: "string";
1606
- readonly type: "string";
1607
- }, {
1608
- readonly name: "_distributor";
1609
- readonly internalType: "address";
1610
- readonly type: "address";
1611
- }, {
1612
- readonly name: "_currentMonthDistributionEnabled";
1613
- readonly internalType: "bool";
1614
- readonly type: "bool";
1615
- }];
1616
- readonly name: "updateProject";
1617
- readonly outputs: readonly [];
1618
- readonly stateMutability: "nonpayable";
1619
- }, {
1620
- readonly type: "function";
1621
- readonly inputs: readonly [];
1622
- readonly name: "wNat";
1623
- readonly outputs: readonly [{
1624
- readonly name: "";
1625
- readonly internalType: "contract IWNat";
1626
- readonly type: "address";
1627
- }];
1628
- readonly stateMutability: "view";
1629
- }, {
1630
- readonly type: "function";
1631
- readonly inputs: readonly [{
1632
- readonly name: "_amount";
1633
- readonly internalType: "uint128";
1634
- readonly type: "uint128";
1635
- }, {
1636
- readonly name: "_wrap";
1637
- readonly internalType: "bool";
1638
- readonly type: "bool";
1639
- }];
1640
- readonly name: "withdraw";
1641
- readonly outputs: readonly [];
1642
- readonly stateMutability: "nonpayable";
1643
- }, {
1644
- readonly type: "function";
1645
- readonly inputs: readonly [{
1646
- readonly name: "_wrap";
1647
- readonly internalType: "bool";
1648
- readonly type: "bool";
1649
- }];
1650
- readonly name: "withdrawAll";
1651
- readonly outputs: readonly [];
1652
- readonly stateMutability: "nonpayable";
1653
- }], undefined, undefined>;
1654
- /**
1655
- * Wraps __{@link useWriteContract}__ with `abi` set to __{@link iirNatAbi}__
1656
- */
1657
- export declare const useWriteIirNat: import("wagmi/codegen").CreateUseWriteContractReturnType<readonly [{
1658
- readonly type: "event";
1659
- readonly anonymous: false;
1660
- readonly inputs: readonly [{
1661
- readonly name: "owner";
1662
- readonly internalType: "address";
1663
- readonly type: "address";
1664
- readonly indexed: true;
1665
- }, {
1666
- readonly name: "spender";
1667
- readonly internalType: "address";
1668
- readonly type: "address";
1669
- readonly indexed: true;
1670
- }, {
1671
- readonly name: "value";
1672
- readonly internalType: "uint256";
1673
- readonly type: "uint256";
1674
- readonly indexed: false;
1675
- }];
1676
- readonly name: "Approval";
1677
- }, {
1678
- readonly type: "event";
1679
- readonly anonymous: false;
1680
- readonly inputs: readonly [{
1681
- readonly name: "projectIds";
1682
- readonly internalType: "uint256[]";
1683
- readonly type: "uint256[]";
1684
- readonly indexed: false;
1685
- }, {
1686
- readonly name: "disabled";
1687
- readonly internalType: "bool";
1688
- readonly type: "bool";
1689
- readonly indexed: false;
1690
- }];
1691
- readonly name: "ClaimingPermissionUpdated";
1692
- }, {
1693
- readonly type: "event";
1694
- readonly anonymous: false;
1695
- readonly inputs: readonly [{
1696
- readonly name: "projectIds";
1697
- readonly internalType: "uint256[]";
1698
- readonly type: "uint256[]";
1699
- readonly indexed: false;
1700
- }, {
1701
- readonly name: "disabled";
1702
- readonly internalType: "bool";
1703
- readonly type: "bool";
1704
- readonly indexed: false;
1705
- }];
1706
- readonly name: "DistributionPermissionUpdated";
1707
- }, {
1708
- readonly type: "event";
1709
- readonly anonymous: false;
1710
- readonly inputs: readonly [{
1711
- readonly name: "libraryAddress";
1712
- readonly internalType: "address";
1713
- readonly type: "address";
1714
- readonly indexed: false;
1715
- }];
1716
- readonly name: "LibraryAddressSet";
1717
- }, {
1718
- readonly type: "event";
1719
- readonly anonymous: false;
1720
- readonly inputs: readonly [{
1721
- readonly name: "id";
1722
- readonly internalType: "uint256";
1723
- readonly type: "uint256";
1724
- readonly indexed: true;
1725
- }, {
1726
- readonly name: "name";
1727
- readonly internalType: "string";
1728
- readonly type: "string";
1729
- readonly indexed: false;
1730
- }, {
1731
- readonly name: "distributor";
1732
- readonly internalType: "address";
1733
- readonly type: "address";
1734
- readonly indexed: false;
1735
- }, {
1736
- readonly name: "currentMonthDistributionEnabled";
1737
- readonly internalType: "bool";
1738
- readonly type: "bool";
1739
- readonly indexed: false;
1740
- }];
1741
- readonly name: "ProjectAdded";
1742
- }, {
1743
- readonly type: "event";
1744
- readonly anonymous: false;
1745
- readonly inputs: readonly [{
1746
- readonly name: "id";
1747
- readonly internalType: "uint256";
1748
- readonly type: "uint256";
1749
- readonly indexed: true;
1750
- }, {
1751
- readonly name: "name";
1752
- readonly internalType: "string";
1753
- readonly type: "string";
1754
- readonly indexed: false;
1755
- }, {
1756
- readonly name: "distributor";
1757
- readonly internalType: "address";
1758
- readonly type: "address";
1759
- readonly indexed: false;
1760
- }, {
1761
- readonly name: "currentMonthDistributionEnabled";
1762
- readonly internalType: "bool";
1763
- readonly type: "bool";
1764
- readonly indexed: false;
1765
- }];
1766
- readonly name: "ProjectUpdated";
1767
- }, {
1768
- readonly type: "event";
1769
- readonly anonymous: false;
1770
- readonly inputs: readonly [{
1771
- readonly name: "owner";
1772
- readonly internalType: "address";
1773
- readonly type: "address";
1774
- readonly indexed: false;
1775
- }, {
1776
- readonly name: "rNatAccount";
1777
- readonly internalType: "contract IRNatAccount";
1778
- readonly type: "address";
1779
- readonly indexed: false;
1780
- }];
1781
- readonly name: "RNatAccountCreated";
1782
- }, {
1783
- readonly type: "event";
1784
- readonly anonymous: false;
1785
- readonly inputs: readonly [{
1786
- readonly name: "projectId";
1787
- readonly internalType: "uint256";
1788
- readonly type: "uint256";
1789
- readonly indexed: true;
1790
- }, {
1791
- readonly name: "month";
1792
- readonly internalType: "uint256";
1793
- readonly type: "uint256";
1794
- readonly indexed: true;
1795
- }, {
1796
- readonly name: "amount";
1797
- readonly internalType: "uint128";
1798
- readonly type: "uint128";
1799
- readonly indexed: false;
1800
- }];
1801
- readonly name: "RewardsAssigned";
1802
- }, {
1803
- readonly type: "event";
1804
- readonly anonymous: false;
1805
- readonly inputs: readonly [{
1806
- readonly name: "projectId";
1807
- readonly internalType: "uint256";
1808
- readonly type: "uint256";
1809
- readonly indexed: true;
1810
- }, {
1811
- readonly name: "month";
1812
- readonly internalType: "uint256";
1813
- readonly type: "uint256";
1814
- readonly indexed: true;
1815
- }, {
1816
- readonly name: "owner";
1817
- readonly internalType: "address";
1818
- readonly type: "address";
1819
- readonly indexed: true;
1820
- }, {
1821
- readonly name: "amount";
1822
- readonly internalType: "uint128";
1823
- readonly type: "uint128";
1824
- readonly indexed: false;
1825
- }];
1826
- readonly name: "RewardsClaimed";
1827
- }, {
1828
- readonly type: "event";
1829
- readonly anonymous: false;
1830
- readonly inputs: readonly [{
1831
- readonly name: "projectId";
1832
- readonly internalType: "uint256";
1833
- readonly type: "uint256";
1834
- readonly indexed: true;
1835
- }, {
1836
- readonly name: "month";
1837
- readonly internalType: "uint256";
1838
- readonly type: "uint256";
1839
- readonly indexed: true;
1840
- }, {
1841
- readonly name: "recipients";
1842
- readonly internalType: "address[]";
1843
- readonly type: "address[]";
1844
- readonly indexed: false;
1845
- }, {
1846
- readonly name: "amounts";
1847
- readonly internalType: "uint128[]";
1848
- readonly type: "uint128[]";
1849
- readonly indexed: false;
1850
- }];
1851
- readonly name: "RewardsDistributed";
1852
- }, {
1853
- readonly type: "event";
1854
- readonly anonymous: false;
1855
- readonly inputs: readonly [{
1856
- readonly name: "projectId";
1857
- readonly internalType: "uint256";
1858
- readonly type: "uint256";
1859
- readonly indexed: true;
1860
- }, {
1861
- readonly name: "month";
1862
- readonly internalType: "uint256";
1863
- readonly type: "uint256";
1864
- readonly indexed: true;
1865
- }, {
1866
- readonly name: "amount";
1867
- readonly internalType: "uint128";
1868
- readonly type: "uint128";
1869
- readonly indexed: false;
1870
- }];
1871
- readonly name: "RewardsUnassigned";
1872
- }, {
1873
- readonly type: "event";
1874
- readonly anonymous: false;
1875
- readonly inputs: readonly [{
1876
- readonly name: "from";
1877
- readonly internalType: "address";
1878
- readonly type: "address";
1879
- readonly indexed: true;
1880
- }, {
1881
- readonly name: "to";
1882
- readonly internalType: "address";
1883
- readonly type: "address";
1884
- readonly indexed: true;
1885
- }, {
1886
- readonly name: "value";
1887
- readonly internalType: "uint256";
1888
- readonly type: "uint256";
1889
- readonly indexed: false;
1890
- }];
1891
- readonly name: "Transfer";
1892
- }, {
1893
- readonly type: "event";
1894
- readonly anonymous: false;
1895
- readonly inputs: readonly [{
1896
- readonly name: "recipient";
1897
- readonly internalType: "address";
1898
- readonly type: "address";
1899
- readonly indexed: false;
1900
- }, {
1901
- readonly name: "amount";
1902
- readonly internalType: "uint128";
1903
- readonly type: "uint128";
1904
- readonly indexed: false;
1905
- }];
1906
- readonly name: "UnassignedRewardsWithdrawn";
1907
- }, {
1908
- readonly type: "event";
1909
- readonly anonymous: false;
1910
- readonly inputs: readonly [{
1911
- readonly name: "projectId";
1912
- readonly internalType: "uint256";
1913
- readonly type: "uint256";
1914
- readonly indexed: true;
1915
- }, {
1916
- readonly name: "month";
1917
- readonly internalType: "uint256";
1918
- readonly type: "uint256";
1919
- readonly indexed: true;
1920
- }, {
1921
- readonly name: "amount";
1922
- readonly internalType: "uint128";
1923
- readonly type: "uint128";
1924
- readonly indexed: false;
1925
- }];
1926
- readonly name: "UnclaimedRewardsUnassigned";
1927
- }, {
1928
- readonly type: "function";
1929
- readonly inputs: readonly [{
1930
- readonly name: "_names";
1931
- readonly internalType: "string[]";
1932
- readonly type: "string[]";
1933
- }, {
1934
- readonly name: "_distributors";
1935
- readonly internalType: "address[]";
1936
- readonly type: "address[]";
1937
- }, {
1938
- readonly name: "_currentMonthDistributionEnabledList";
1939
- readonly internalType: "bool[]";
1940
- readonly type: "bool[]";
1941
- }];
1942
- readonly name: "addProjects";
1943
- readonly outputs: readonly [];
1944
- readonly stateMutability: "nonpayable";
1945
- }, {
1946
- readonly type: "function";
1947
- readonly inputs: readonly [{
1948
- readonly name: "owner";
1949
- readonly internalType: "address";
1950
- readonly type: "address";
1951
- }, {
1952
- readonly name: "spender";
1953
- readonly internalType: "address";
1954
- readonly type: "address";
1955
- }];
1956
- readonly name: "allowance";
1957
- readonly outputs: readonly [{
1958
- readonly name: "";
1959
- readonly internalType: "uint256";
1960
- readonly type: "uint256";
1961
- }];
1962
- readonly stateMutability: "view";
1963
- }, {
1964
- readonly type: "function";
1965
- readonly inputs: readonly [{
1966
- readonly name: "spender";
1967
- readonly internalType: "address";
1968
- readonly type: "address";
1969
- }, {
1970
- readonly name: "amount";
1971
- readonly internalType: "uint256";
1972
- readonly type: "uint256";
1973
- }];
1974
- readonly name: "approve";
1975
- readonly outputs: readonly [{
1976
- readonly name: "";
1977
- readonly internalType: "bool";
1978
- readonly type: "bool";
1979
- }];
1980
- readonly stateMutability: "nonpayable";
1981
- }, {
1982
- readonly type: "function";
1983
- readonly inputs: readonly [{
1984
- readonly name: "_month";
1985
- readonly internalType: "uint256";
1986
- readonly type: "uint256";
1987
- }, {
1988
- readonly name: "_projectIds";
1989
- readonly internalType: "uint256[]";
1990
- readonly type: "uint256[]";
1991
- }, {
1992
- readonly name: "_amountsWei";
1993
- readonly internalType: "uint128[]";
1994
- readonly type: "uint128[]";
1995
- }];
1996
- readonly name: "assignRewards";
1997
- readonly outputs: readonly [];
1998
- readonly stateMutability: "nonpayable";
1999
- }, {
2000
- readonly type: "function";
2001
- readonly inputs: readonly [{
2002
- readonly name: "account";
2003
- readonly internalType: "address";
2004
- readonly type: "address";
2005
- }];
2006
- readonly name: "balanceOf";
2007
- readonly outputs: readonly [{
2008
- readonly name: "";
2009
- readonly internalType: "uint256";
2010
- readonly type: "uint256";
2011
- }];
2012
- readonly stateMutability: "view";
2013
- }, {
2014
- readonly type: "function";
2015
- readonly inputs: readonly [{
2016
- readonly name: "_projectIds";
2017
- readonly internalType: "uint256[]";
2018
- readonly type: "uint256[]";
2019
- }, {
2020
- readonly name: "_month";
2021
- readonly internalType: "uint256";
2022
- readonly type: "uint256";
2023
- }];
2024
- readonly name: "claimRewards";
2025
- readonly outputs: readonly [{
2026
- readonly name: "_claimedRewardsWei";
2027
- readonly internalType: "uint128";
2028
- readonly type: "uint128";
2029
- }];
2030
- readonly stateMutability: "nonpayable";
2031
- }, {
2032
- readonly type: "function";
2033
- readonly inputs: readonly [];
2034
- readonly name: "decimals";
2035
- readonly outputs: readonly [{
2036
- readonly name: "";
2037
- readonly internalType: "uint8";
2038
- readonly type: "uint8";
2039
- }];
2040
- readonly stateMutability: "view";
2041
- }, {
2042
- readonly type: "function";
2043
- readonly inputs: readonly [{
2044
- readonly name: "_projectIds";
2045
- readonly internalType: "uint256[]";
2046
- readonly type: "uint256[]";
2047
- }];
2048
- readonly name: "disableClaiming";
2049
- readonly outputs: readonly [];
2050
- readonly stateMutability: "nonpayable";
2051
- }, {
2052
- readonly type: "function";
2053
- readonly inputs: readonly [{
2054
- readonly name: "_projectIds";
2055
- readonly internalType: "uint256[]";
2056
- readonly type: "uint256[]";
2057
- }];
2058
- readonly name: "disableDistribution";
2059
- readonly outputs: readonly [];
2060
- readonly stateMutability: "nonpayable";
2061
- }, {
2062
- readonly type: "function";
2063
- readonly inputs: readonly [{
2064
- readonly name: "_projectId";
2065
- readonly internalType: "uint256";
2066
- readonly type: "uint256";
2067
- }, {
2068
- readonly name: "_month";
2069
- readonly internalType: "uint256";
2070
- readonly type: "uint256";
2071
- }, {
2072
- readonly name: "_recipients";
2073
- readonly internalType: "address[]";
2074
- readonly type: "address[]";
2075
- }, {
2076
- readonly name: "_amountsWei";
2077
- readonly internalType: "uint128[]";
2078
- readonly type: "uint128[]";
2079
- }];
2080
- readonly name: "distributeRewards";
2081
- readonly outputs: readonly [];
2082
- readonly stateMutability: "nonpayable";
2083
- }, {
2084
- readonly type: "function";
2085
- readonly inputs: readonly [];
2086
- readonly name: "firstMonthStartTs";
2087
- readonly outputs: readonly [{
2088
- readonly name: "";
2089
- readonly internalType: "uint256";
2090
- readonly type: "uint256";
2091
- }];
2092
- readonly stateMutability: "view";
2093
- }, {
2094
- readonly type: "function";
2095
- readonly inputs: readonly [{
2096
- readonly name: "_owner";
2097
- readonly internalType: "address";
2098
- readonly type: "address";
2099
- }];
2100
- readonly name: "getBalancesOf";
2101
- readonly outputs: readonly [{
2102
- readonly name: "_wNatBalance";
2103
- readonly internalType: "uint256";
2104
- readonly type: "uint256";
2105
- }, {
2106
- readonly name: "_rNatBalance";
2107
- readonly internalType: "uint256";
2108
- readonly type: "uint256";
2109
- }, {
2110
- readonly name: "_lockedBalance";
2111
- readonly internalType: "uint256";
2112
- readonly type: "uint256";
2113
- }];
2114
- readonly stateMutability: "view";
2115
- }, {
2116
- readonly type: "function";
2117
- readonly inputs: readonly [{
2118
- readonly name: "_projectId";
2119
- readonly internalType: "uint256";
2120
- readonly type: "uint256";
2121
- }, {
2122
- readonly name: "_owner";
2123
- readonly internalType: "address";
2124
- readonly type: "address";
2125
- }];
2126
- readonly name: "getClaimableRewards";
2127
- readonly outputs: readonly [{
2128
- readonly name: "";
2129
- readonly internalType: "uint128";
2130
- readonly type: "uint128";
2131
- }];
2132
- readonly stateMutability: "view";
2133
- }, {
2134
- readonly type: "function";
2135
- readonly inputs: readonly [];
2136
- readonly name: "getCurrentMonth";
2137
- readonly outputs: readonly [{
2138
- readonly name: "";
2139
- readonly internalType: "uint256";
2140
- readonly type: "uint256";
2141
- }];
2142
- readonly stateMutability: "view";
2143
- }, {
2144
- readonly type: "function";
2145
- readonly inputs: readonly [{
2146
- readonly name: "_projectId";
2147
- readonly internalType: "uint256";
2148
- readonly type: "uint256";
2149
- }, {
2150
- readonly name: "_month";
2151
- readonly internalType: "uint256";
2152
- readonly type: "uint256";
2153
- }, {
2154
- readonly name: "_owner";
2155
- readonly internalType: "address";
2156
- readonly type: "address";
2157
- }];
2158
- readonly name: "getOwnerRewardsInfo";
2159
- readonly outputs: readonly [{
2160
- readonly name: "_assignedRewards";
2161
- readonly internalType: "uint128";
2162
- readonly type: "uint128";
2163
- }, {
2164
- readonly name: "_claimedRewards";
2165
- readonly internalType: "uint128";
2166
- readonly type: "uint128";
2167
- }, {
2168
- readonly name: "_claimable";
2169
- readonly internalType: "bool";
2170
- readonly type: "bool";
2171
- }];
2172
- readonly stateMutability: "view";
2173
- }, {
2174
- readonly type: "function";
2175
- readonly inputs: readonly [{
2176
- readonly name: "_projectId";
2177
- readonly internalType: "uint256";
2178
- readonly type: "uint256";
2179
- }];
2180
- readonly name: "getProjectInfo";
2181
- readonly outputs: readonly [{
2182
- readonly name: "_name";
2183
- readonly internalType: "string";
2184
- readonly type: "string";
2185
- }, {
2186
- readonly name: "_distributor";
2187
- readonly internalType: "address";
2188
- readonly type: "address";
2189
- }, {
2190
- readonly name: "_currentMonthDistributionEnabled";
2191
- readonly internalType: "bool";
2192
- readonly type: "bool";
2193
- }, {
2194
- readonly name: "_distributionDisabled";
2195
- readonly internalType: "bool";
2196
- readonly type: "bool";
2197
- }, {
2198
- readonly name: "_claimingDisabled";
2199
- readonly internalType: "bool";
2200
- readonly type: "bool";
2201
- }, {
2202
- readonly name: "_totalAssignedRewards";
2203
- readonly internalType: "uint128";
2204
- readonly type: "uint128";
2205
- }, {
2206
- readonly name: "_totalDistributedRewards";
2207
- readonly internalType: "uint128";
2208
- readonly type: "uint128";
2209
- }, {
2210
- readonly name: "_totalClaimedRewards";
2211
- readonly internalType: "uint128";
2212
- readonly type: "uint128";
2213
- }, {
2214
- readonly name: "_totalUnassignedUnclaimedRewards";
2215
- readonly internalType: "uint128";
2216
- readonly type: "uint128";
2217
- }, {
2218
- readonly name: "_monthsWithRewards";
2219
- readonly internalType: "uint256[]";
2220
- readonly type: "uint256[]";
2221
- }];
2222
- readonly stateMutability: "view";
2223
- }, {
2224
- readonly type: "function";
2225
- readonly inputs: readonly [{
2226
- readonly name: "_projectId";
2227
- readonly internalType: "uint256";
2228
- readonly type: "uint256";
2229
- }, {
2230
- readonly name: "_month";
2231
- readonly internalType: "uint256";
2232
- readonly type: "uint256";
2233
- }];
2234
- readonly name: "getProjectRewardsInfo";
2235
- readonly outputs: readonly [{
2236
- readonly name: "_assignedRewards";
2237
- readonly internalType: "uint128";
2238
- readonly type: "uint128";
2239
- }, {
2240
- readonly name: "_distributedRewards";
2241
- readonly internalType: "uint128";
2242
- readonly type: "uint128";
2243
- }, {
2244
- readonly name: "_claimedRewards";
2245
- readonly internalType: "uint128";
2246
- readonly type: "uint128";
2247
- }, {
2248
- readonly name: "_unassignedUnclaimedRewards";
2249
- readonly internalType: "uint128";
2250
- readonly type: "uint128";
2251
- }];
2252
- readonly stateMutability: "view";
2253
- }, {
2254
- readonly type: "function";
2255
- readonly inputs: readonly [];
2256
- readonly name: "getProjectsBasicInfo";
2257
- readonly outputs: readonly [{
2258
- readonly name: "_names";
2259
- readonly internalType: "string[]";
2260
- readonly type: "string[]";
2261
- }, {
2262
- readonly name: "_claimingDisabled";
2263
- readonly internalType: "bool[]";
2264
- readonly type: "bool[]";
2265
- }];
2266
- readonly stateMutability: "view";
2267
- }, {
2268
- readonly type: "function";
2269
- readonly inputs: readonly [];
2270
- readonly name: "getProjectsCount";
2271
- readonly outputs: readonly [{
2272
- readonly name: "";
2273
- readonly internalType: "uint256";
2274
- readonly type: "uint256";
2275
- }];
2276
- readonly stateMutability: "view";
2277
- }, {
2278
- readonly type: "function";
2279
- readonly inputs: readonly [{
2280
- readonly name: "_owner";
2281
- readonly internalType: "address";
2282
- readonly type: "address";
2283
- }];
2284
- readonly name: "getRNatAccount";
2285
- readonly outputs: readonly [{
2286
- readonly name: "";
2287
- readonly internalType: "contract IRNatAccount";
2288
- readonly type: "address";
2289
- }];
2290
- readonly stateMutability: "view";
2291
- }, {
2292
- readonly type: "function";
2293
- readonly inputs: readonly [];
2294
- readonly name: "getRewardsInfo";
2295
- readonly outputs: readonly [{
2296
- readonly name: "_totalAssignableRewards";
2297
- readonly internalType: "uint256";
2298
- readonly type: "uint256";
2299
- }, {
2300
- readonly name: "_totalAssignedRewards";
2301
- readonly internalType: "uint256";
2302
- readonly type: "uint256";
2303
- }, {
2304
- readonly name: "_totalClaimedRewards";
2305
- readonly internalType: "uint256";
2306
- readonly type: "uint256";
2307
- }, {
2308
- readonly name: "_totalWithdrawnRewards";
2309
- readonly internalType: "uint256";
2310
- readonly type: "uint256";
2311
- }, {
2312
- readonly name: "_totalWithdrawnAssignableRewards";
2313
- readonly internalType: "uint256";
2314
- readonly type: "uint256";
2315
- }];
2316
- readonly stateMutability: "view";
2317
- }, {
2318
- readonly type: "function";
2319
- readonly inputs: readonly [];
2320
- readonly name: "name";
2321
- readonly outputs: readonly [{
2322
- readonly name: "";
2323
- readonly internalType: "string";
2324
- readonly type: "string";
2325
- }];
2326
- readonly stateMutability: "view";
2327
- }, {
2328
- readonly type: "function";
2329
- readonly inputs: readonly [{
2330
- readonly name: "_executors";
2331
- readonly internalType: "address[]";
2332
- readonly type: "address[]";
2333
- }];
2334
- readonly name: "setClaimExecutors";
2335
- readonly outputs: readonly [];
2336
- readonly stateMutability: "payable";
2337
- }, {
2338
- readonly type: "function";
2339
- readonly inputs: readonly [];
2340
- readonly name: "symbol";
2341
- readonly outputs: readonly [{
2342
- readonly name: "";
2343
- readonly internalType: "string";
2344
- readonly type: "string";
2345
- }];
2346
- readonly stateMutability: "view";
2347
- }, {
2348
- readonly type: "function";
2349
- readonly inputs: readonly [];
2350
- readonly name: "totalSupply";
2351
- readonly outputs: readonly [{
2352
- readonly name: "";
2353
- readonly internalType: "uint256";
2354
- readonly type: "uint256";
2355
- }];
2356
- readonly stateMutability: "view";
2357
- }, {
2358
- readonly type: "function";
2359
- readonly inputs: readonly [{
2360
- readonly name: "to";
2361
- readonly internalType: "address";
2362
- readonly type: "address";
2363
- }, {
2364
- readonly name: "amount";
2365
- readonly internalType: "uint256";
2366
- readonly type: "uint256";
2367
- }];
2368
- readonly name: "transfer";
2369
- readonly outputs: readonly [{
2370
- readonly name: "";
2371
- readonly internalType: "bool";
2372
- readonly type: "bool";
2373
- }];
2374
- readonly stateMutability: "nonpayable";
2375
- }, {
2376
- readonly type: "function";
2377
- readonly inputs: readonly [{
2378
- readonly name: "_token";
2379
- readonly internalType: "contract IERC20";
2380
- readonly type: "address";
2381
- }, {
2382
- readonly name: "_amount";
2383
- readonly internalType: "uint256";
2384
- readonly type: "uint256";
2385
- }];
2386
- readonly name: "transferExternalToken";
2387
- readonly outputs: readonly [];
2388
- readonly stateMutability: "nonpayable";
2389
- }, {
2390
- readonly type: "function";
2391
- readonly inputs: readonly [{
2392
- readonly name: "from";
2393
- readonly internalType: "address";
2394
- readonly type: "address";
2395
- }, {
2396
- readonly name: "to";
2397
- readonly internalType: "address";
2398
- readonly type: "address";
2399
- }, {
2400
- readonly name: "amount";
2401
- readonly internalType: "uint256";
2402
- readonly type: "uint256";
2403
- }];
2404
- readonly name: "transferFrom";
2405
- readonly outputs: readonly [{
2406
- readonly name: "";
2407
- readonly internalType: "bool";
2408
- readonly type: "bool";
2409
- }];
2410
- readonly stateMutability: "nonpayable";
2411
- }, {
2412
- readonly type: "function";
2413
- readonly inputs: readonly [{
2414
- readonly name: "_projectId";
2415
- readonly internalType: "uint256";
2416
- readonly type: "uint256";
2417
- }, {
2418
- readonly name: "_months";
2419
- readonly internalType: "uint256[]";
2420
- readonly type: "uint256[]";
2421
- }];
2422
- readonly name: "unassignRewards";
2423
- readonly outputs: readonly [];
2424
- readonly stateMutability: "nonpayable";
2425
- }, {
2426
- readonly type: "function";
2427
- readonly inputs: readonly [{
2428
- readonly name: "_projectId";
2429
- readonly internalType: "uint256";
2430
- readonly type: "uint256";
2431
- }, {
2432
- readonly name: "_name";
2433
- readonly internalType: "string";
2434
- readonly type: "string";
2435
- }, {
2436
- readonly name: "_distributor";
2437
- readonly internalType: "address";
2438
- readonly type: "address";
2439
- }, {
2440
- readonly name: "_currentMonthDistributionEnabled";
2441
- readonly internalType: "bool";
2442
- readonly type: "bool";
2443
- }];
2444
- readonly name: "updateProject";
2445
- readonly outputs: readonly [];
2446
- readonly stateMutability: "nonpayable";
2447
- }, {
2448
- readonly type: "function";
2449
- readonly inputs: readonly [];
2450
- readonly name: "wNat";
2451
- readonly outputs: readonly [{
2452
- readonly name: "";
2453
- readonly internalType: "contract IWNat";
2454
- readonly type: "address";
2455
- }];
2456
- readonly stateMutability: "view";
2457
- }, {
2458
- readonly type: "function";
2459
- readonly inputs: readonly [{
2460
- readonly name: "_amount";
2461
- readonly internalType: "uint128";
2462
- readonly type: "uint128";
2463
- }, {
2464
- readonly name: "_wrap";
2465
- readonly internalType: "bool";
2466
- readonly type: "bool";
2467
- }];
2468
- readonly name: "withdraw";
2469
- readonly outputs: readonly [];
2470
- readonly stateMutability: "nonpayable";
2471
- }, {
2472
- readonly type: "function";
2473
- readonly inputs: readonly [{
2474
- readonly name: "_wrap";
2475
- readonly internalType: "bool";
2476
- readonly type: "bool";
2477
- }];
2478
- readonly name: "withdrawAll";
2479
- readonly outputs: readonly [];
2480
- readonly stateMutability: "nonpayable";
2481
- }], undefined, undefined>;
2482
- /**
2483
- * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iirNatAbi}__
2484
- */
2485
- export declare const useSimulateIirNat: import("wagmi/codegen").CreateUseSimulateContractReturnType<readonly [{
2486
- readonly type: "event";
2487
- readonly anonymous: false;
2488
- readonly inputs: readonly [{
2489
- readonly name: "owner";
2490
- readonly internalType: "address";
2491
- readonly type: "address";
2492
- readonly indexed: true;
2493
- }, {
2494
- readonly name: "spender";
2495
- readonly internalType: "address";
2496
- readonly type: "address";
2497
- readonly indexed: true;
2498
- }, {
2499
- readonly name: "value";
2500
- readonly internalType: "uint256";
2501
- readonly type: "uint256";
2502
- readonly indexed: false;
2503
- }];
2504
- readonly name: "Approval";
2505
- }, {
2506
- readonly type: "event";
2507
- readonly anonymous: false;
2508
- readonly inputs: readonly [{
2509
- readonly name: "projectIds";
2510
- readonly internalType: "uint256[]";
2511
- readonly type: "uint256[]";
2512
- readonly indexed: false;
2513
- }, {
2514
- readonly name: "disabled";
2515
- readonly internalType: "bool";
2516
- readonly type: "bool";
2517
- readonly indexed: false;
2518
- }];
2519
- readonly name: "ClaimingPermissionUpdated";
2520
- }, {
2521
- readonly type: "event";
2522
- readonly anonymous: false;
2523
- readonly inputs: readonly [{
2524
- readonly name: "projectIds";
2525
- readonly internalType: "uint256[]";
2526
- readonly type: "uint256[]";
2527
- readonly indexed: false;
2528
- }, {
2529
- readonly name: "disabled";
2530
- readonly internalType: "bool";
2531
- readonly type: "bool";
2532
- readonly indexed: false;
2533
- }];
2534
- readonly name: "DistributionPermissionUpdated";
2535
- }, {
2536
- readonly type: "event";
2537
- readonly anonymous: false;
2538
- readonly inputs: readonly [{
2539
- readonly name: "libraryAddress";
2540
- readonly internalType: "address";
2541
- readonly type: "address";
2542
- readonly indexed: false;
2543
- }];
2544
- readonly name: "LibraryAddressSet";
2545
- }, {
2546
- readonly type: "event";
2547
- readonly anonymous: false;
2548
- readonly inputs: readonly [{
2549
- readonly name: "id";
2550
- readonly internalType: "uint256";
2551
- readonly type: "uint256";
2552
- readonly indexed: true;
2553
- }, {
2554
- readonly name: "name";
2555
- readonly internalType: "string";
2556
- readonly type: "string";
2557
- readonly indexed: false;
2558
- }, {
2559
- readonly name: "distributor";
2560
- readonly internalType: "address";
2561
- readonly type: "address";
2562
- readonly indexed: false;
2563
- }, {
2564
- readonly name: "currentMonthDistributionEnabled";
2565
- readonly internalType: "bool";
2566
- readonly type: "bool";
2567
- readonly indexed: false;
2568
- }];
2569
- readonly name: "ProjectAdded";
2570
- }, {
2571
- readonly type: "event";
2572
- readonly anonymous: false;
2573
- readonly inputs: readonly [{
2574
- readonly name: "id";
2575
- readonly internalType: "uint256";
2576
- readonly type: "uint256";
2577
- readonly indexed: true;
2578
- }, {
2579
- readonly name: "name";
2580
- readonly internalType: "string";
2581
- readonly type: "string";
2582
- readonly indexed: false;
2583
- }, {
2584
- readonly name: "distributor";
2585
- readonly internalType: "address";
2586
- readonly type: "address";
2587
- readonly indexed: false;
2588
- }, {
2589
- readonly name: "currentMonthDistributionEnabled";
2590
- readonly internalType: "bool";
2591
- readonly type: "bool";
2592
- readonly indexed: false;
2593
- }];
2594
- readonly name: "ProjectUpdated";
2595
- }, {
2596
- readonly type: "event";
2597
- readonly anonymous: false;
2598
- readonly inputs: readonly [{
2599
- readonly name: "owner";
2600
- readonly internalType: "address";
2601
- readonly type: "address";
2602
- readonly indexed: false;
2603
- }, {
2604
- readonly name: "rNatAccount";
2605
- readonly internalType: "contract IRNatAccount";
2606
- readonly type: "address";
2607
- readonly indexed: false;
2608
- }];
2609
- readonly name: "RNatAccountCreated";
2610
- }, {
2611
- readonly type: "event";
2612
- readonly anonymous: false;
2613
- readonly inputs: readonly [{
2614
- readonly name: "projectId";
2615
- readonly internalType: "uint256";
2616
- readonly type: "uint256";
2617
- readonly indexed: true;
2618
- }, {
2619
- readonly name: "month";
2620
- readonly internalType: "uint256";
2621
- readonly type: "uint256";
2622
- readonly indexed: true;
2623
- }, {
2624
- readonly name: "amount";
2625
- readonly internalType: "uint128";
2626
- readonly type: "uint128";
2627
- readonly indexed: false;
2628
- }];
2629
- readonly name: "RewardsAssigned";
2630
- }, {
2631
- readonly type: "event";
2632
- readonly anonymous: false;
2633
- readonly inputs: readonly [{
2634
- readonly name: "projectId";
2635
- readonly internalType: "uint256";
2636
- readonly type: "uint256";
2637
- readonly indexed: true;
2638
- }, {
2639
- readonly name: "month";
2640
- readonly internalType: "uint256";
2641
- readonly type: "uint256";
2642
- readonly indexed: true;
2643
- }, {
2644
- readonly name: "owner";
2645
- readonly internalType: "address";
2646
- readonly type: "address";
2647
- readonly indexed: true;
2648
- }, {
2649
- readonly name: "amount";
2650
- readonly internalType: "uint128";
2651
- readonly type: "uint128";
2652
- readonly indexed: false;
2653
- }];
2654
- readonly name: "RewardsClaimed";
2655
- }, {
2656
- readonly type: "event";
2657
- readonly anonymous: false;
2658
- readonly inputs: readonly [{
2659
- readonly name: "projectId";
2660
- readonly internalType: "uint256";
2661
- readonly type: "uint256";
2662
- readonly indexed: true;
2663
- }, {
2664
- readonly name: "month";
2665
- readonly internalType: "uint256";
2666
- readonly type: "uint256";
2667
- readonly indexed: true;
2668
- }, {
2669
- readonly name: "recipients";
2670
- readonly internalType: "address[]";
2671
- readonly type: "address[]";
2672
- readonly indexed: false;
2673
- }, {
2674
- readonly name: "amounts";
2675
- readonly internalType: "uint128[]";
2676
- readonly type: "uint128[]";
2677
- readonly indexed: false;
2678
- }];
2679
- readonly name: "RewardsDistributed";
2680
- }, {
2681
- readonly type: "event";
2682
- readonly anonymous: false;
2683
- readonly inputs: readonly [{
2684
- readonly name: "projectId";
2685
- readonly internalType: "uint256";
2686
- readonly type: "uint256";
2687
- readonly indexed: true;
2688
- }, {
2689
- readonly name: "month";
2690
- readonly internalType: "uint256";
2691
- readonly type: "uint256";
2692
- readonly indexed: true;
2693
- }, {
2694
- readonly name: "amount";
2695
- readonly internalType: "uint128";
2696
- readonly type: "uint128";
2697
- readonly indexed: false;
2698
- }];
2699
- readonly name: "RewardsUnassigned";
2700
- }, {
2701
- readonly type: "event";
2702
- readonly anonymous: false;
2703
- readonly inputs: readonly [{
2704
- readonly name: "from";
2705
- readonly internalType: "address";
2706
- readonly type: "address";
2707
- readonly indexed: true;
2708
- }, {
2709
- readonly name: "to";
2710
- readonly internalType: "address";
2711
- readonly type: "address";
2712
- readonly indexed: true;
2713
- }, {
2714
- readonly name: "value";
2715
- readonly internalType: "uint256";
2716
- readonly type: "uint256";
2717
- readonly indexed: false;
2718
- }];
2719
- readonly name: "Transfer";
2720
- }, {
2721
- readonly type: "event";
2722
- readonly anonymous: false;
2723
- readonly inputs: readonly [{
2724
- readonly name: "recipient";
2725
- readonly internalType: "address";
2726
- readonly type: "address";
2727
- readonly indexed: false;
2728
- }, {
2729
- readonly name: "amount";
2730
- readonly internalType: "uint128";
2731
- readonly type: "uint128";
2732
- readonly indexed: false;
2733
- }];
2734
- readonly name: "UnassignedRewardsWithdrawn";
2735
- }, {
2736
- readonly type: "event";
2737
- readonly anonymous: false;
2738
- readonly inputs: readonly [{
2739
- readonly name: "projectId";
2740
- readonly internalType: "uint256";
2741
- readonly type: "uint256";
2742
- readonly indexed: true;
2743
- }, {
2744
- readonly name: "month";
2745
- readonly internalType: "uint256";
2746
- readonly type: "uint256";
2747
- readonly indexed: true;
2748
- }, {
2749
- readonly name: "amount";
2750
- readonly internalType: "uint128";
2751
- readonly type: "uint128";
2752
- readonly indexed: false;
2753
- }];
2754
- readonly name: "UnclaimedRewardsUnassigned";
2755
- }, {
2756
- readonly type: "function";
2757
- readonly inputs: readonly [{
2758
- readonly name: "_names";
2759
- readonly internalType: "string[]";
2760
- readonly type: "string[]";
2761
- }, {
2762
- readonly name: "_distributors";
2763
- readonly internalType: "address[]";
2764
- readonly type: "address[]";
2765
- }, {
2766
- readonly name: "_currentMonthDistributionEnabledList";
2767
- readonly internalType: "bool[]";
2768
- readonly type: "bool[]";
2769
- }];
2770
- readonly name: "addProjects";
2771
- readonly outputs: readonly [];
2772
- readonly stateMutability: "nonpayable";
2773
- }, {
2774
- readonly type: "function";
2775
- readonly inputs: readonly [{
2776
- readonly name: "owner";
2777
- readonly internalType: "address";
2778
- readonly type: "address";
2779
- }, {
2780
- readonly name: "spender";
2781
- readonly internalType: "address";
2782
- readonly type: "address";
2783
- }];
2784
- readonly name: "allowance";
2785
- readonly outputs: readonly [{
2786
- readonly name: "";
2787
- readonly internalType: "uint256";
2788
- readonly type: "uint256";
2789
- }];
2790
- readonly stateMutability: "view";
2791
- }, {
2792
- readonly type: "function";
2793
- readonly inputs: readonly [{
2794
- readonly name: "spender";
2795
- readonly internalType: "address";
2796
- readonly type: "address";
2797
- }, {
2798
- readonly name: "amount";
2799
- readonly internalType: "uint256";
2800
- readonly type: "uint256";
2801
- }];
2802
- readonly name: "approve";
2803
- readonly outputs: readonly [{
2804
- readonly name: "";
2805
- readonly internalType: "bool";
2806
- readonly type: "bool";
2807
- }];
2808
- readonly stateMutability: "nonpayable";
2809
- }, {
2810
- readonly type: "function";
2811
- readonly inputs: readonly [{
2812
- readonly name: "_month";
2813
- readonly internalType: "uint256";
2814
- readonly type: "uint256";
2815
- }, {
2816
- readonly name: "_projectIds";
2817
- readonly internalType: "uint256[]";
2818
- readonly type: "uint256[]";
2819
- }, {
2820
- readonly name: "_amountsWei";
2821
- readonly internalType: "uint128[]";
2822
- readonly type: "uint128[]";
2823
- }];
2824
- readonly name: "assignRewards";
2825
- readonly outputs: readonly [];
2826
- readonly stateMutability: "nonpayable";
2827
- }, {
2828
- readonly type: "function";
2829
- readonly inputs: readonly [{
2830
- readonly name: "account";
2831
- readonly internalType: "address";
2832
- readonly type: "address";
2833
- }];
2834
- readonly name: "balanceOf";
2835
- readonly outputs: readonly [{
2836
- readonly name: "";
2837
- readonly internalType: "uint256";
2838
- readonly type: "uint256";
2839
- }];
2840
- readonly stateMutability: "view";
2841
- }, {
2842
- readonly type: "function";
2843
- readonly inputs: readonly [{
2844
- readonly name: "_projectIds";
2845
- readonly internalType: "uint256[]";
2846
- readonly type: "uint256[]";
2847
- }, {
2848
- readonly name: "_month";
2849
- readonly internalType: "uint256";
2850
- readonly type: "uint256";
2851
- }];
2852
- readonly name: "claimRewards";
2853
- readonly outputs: readonly [{
2854
- readonly name: "_claimedRewardsWei";
2855
- readonly internalType: "uint128";
2856
- readonly type: "uint128";
2857
- }];
2858
- readonly stateMutability: "nonpayable";
2859
- }, {
2860
- readonly type: "function";
2861
- readonly inputs: readonly [];
2862
- readonly name: "decimals";
2863
- readonly outputs: readonly [{
2864
- readonly name: "";
2865
- readonly internalType: "uint8";
2866
- readonly type: "uint8";
2867
- }];
2868
- readonly stateMutability: "view";
2869
- }, {
2870
- readonly type: "function";
2871
- readonly inputs: readonly [{
2872
- readonly name: "_projectIds";
2873
- readonly internalType: "uint256[]";
2874
- readonly type: "uint256[]";
2875
- }];
2876
- readonly name: "disableClaiming";
2877
- readonly outputs: readonly [];
2878
- readonly stateMutability: "nonpayable";
2879
- }, {
2880
- readonly type: "function";
2881
- readonly inputs: readonly [{
2882
- readonly name: "_projectIds";
2883
- readonly internalType: "uint256[]";
2884
- readonly type: "uint256[]";
2885
- }];
2886
- readonly name: "disableDistribution";
2887
- readonly outputs: readonly [];
2888
- readonly stateMutability: "nonpayable";
2889
- }, {
2890
- readonly type: "function";
2891
- readonly inputs: readonly [{
2892
- readonly name: "_projectId";
2893
- readonly internalType: "uint256";
2894
- readonly type: "uint256";
2895
- }, {
2896
- readonly name: "_month";
2897
- readonly internalType: "uint256";
2898
- readonly type: "uint256";
2899
- }, {
2900
- readonly name: "_recipients";
2901
- readonly internalType: "address[]";
2902
- readonly type: "address[]";
2903
- }, {
2904
- readonly name: "_amountsWei";
2905
- readonly internalType: "uint128[]";
2906
- readonly type: "uint128[]";
2907
- }];
2908
- readonly name: "distributeRewards";
2909
- readonly outputs: readonly [];
2910
- readonly stateMutability: "nonpayable";
2911
- }, {
2912
- readonly type: "function";
2913
- readonly inputs: readonly [];
2914
- readonly name: "firstMonthStartTs";
2915
- readonly outputs: readonly [{
2916
- readonly name: "";
2917
- readonly internalType: "uint256";
2918
- readonly type: "uint256";
2919
- }];
2920
- readonly stateMutability: "view";
2921
- }, {
2922
- readonly type: "function";
2923
- readonly inputs: readonly [{
2924
- readonly name: "_owner";
2925
- readonly internalType: "address";
2926
- readonly type: "address";
2927
- }];
2928
- readonly name: "getBalancesOf";
2929
- readonly outputs: readonly [{
2930
- readonly name: "_wNatBalance";
2931
- readonly internalType: "uint256";
2932
- readonly type: "uint256";
2933
- }, {
2934
- readonly name: "_rNatBalance";
2935
- readonly internalType: "uint256";
2936
- readonly type: "uint256";
2937
- }, {
2938
- readonly name: "_lockedBalance";
2939
- readonly internalType: "uint256";
2940
- readonly type: "uint256";
2941
- }];
2942
- readonly stateMutability: "view";
2943
- }, {
2944
- readonly type: "function";
2945
- readonly inputs: readonly [{
2946
- readonly name: "_projectId";
2947
- readonly internalType: "uint256";
2948
- readonly type: "uint256";
2949
- }, {
2950
- readonly name: "_owner";
2951
- readonly internalType: "address";
2952
- readonly type: "address";
2953
- }];
2954
- readonly name: "getClaimableRewards";
2955
- readonly outputs: readonly [{
2956
- readonly name: "";
2957
- readonly internalType: "uint128";
2958
- readonly type: "uint128";
2959
- }];
2960
- readonly stateMutability: "view";
2961
- }, {
2962
- readonly type: "function";
2963
- readonly inputs: readonly [];
2964
- readonly name: "getCurrentMonth";
2965
- readonly outputs: readonly [{
2966
- readonly name: "";
2967
- readonly internalType: "uint256";
2968
- readonly type: "uint256";
2969
- }];
2970
- readonly stateMutability: "view";
2971
- }, {
2972
- readonly type: "function";
2973
- readonly inputs: readonly [{
2974
- readonly name: "_projectId";
2975
- readonly internalType: "uint256";
2976
- readonly type: "uint256";
2977
- }, {
2978
- readonly name: "_month";
2979
- readonly internalType: "uint256";
2980
- readonly type: "uint256";
2981
- }, {
2982
- readonly name: "_owner";
2983
- readonly internalType: "address";
2984
- readonly type: "address";
2985
- }];
2986
- readonly name: "getOwnerRewardsInfo";
2987
- readonly outputs: readonly [{
2988
- readonly name: "_assignedRewards";
2989
- readonly internalType: "uint128";
2990
- readonly type: "uint128";
2991
- }, {
2992
- readonly name: "_claimedRewards";
2993
- readonly internalType: "uint128";
2994
- readonly type: "uint128";
2995
- }, {
2996
- readonly name: "_claimable";
2997
- readonly internalType: "bool";
2998
- readonly type: "bool";
2999
- }];
3000
- readonly stateMutability: "view";
3001
- }, {
3002
- readonly type: "function";
3003
- readonly inputs: readonly [{
3004
- readonly name: "_projectId";
3005
- readonly internalType: "uint256";
3006
- readonly type: "uint256";
3007
- }];
3008
- readonly name: "getProjectInfo";
3009
- readonly outputs: readonly [{
3010
- readonly name: "_name";
3011
- readonly internalType: "string";
3012
- readonly type: "string";
3013
- }, {
3014
- readonly name: "_distributor";
3015
- readonly internalType: "address";
3016
- readonly type: "address";
3017
- }, {
3018
- readonly name: "_currentMonthDistributionEnabled";
3019
- readonly internalType: "bool";
3020
- readonly type: "bool";
3021
- }, {
3022
- readonly name: "_distributionDisabled";
3023
- readonly internalType: "bool";
3024
- readonly type: "bool";
3025
- }, {
3026
- readonly name: "_claimingDisabled";
3027
- readonly internalType: "bool";
3028
- readonly type: "bool";
3029
- }, {
3030
- readonly name: "_totalAssignedRewards";
3031
- readonly internalType: "uint128";
3032
- readonly type: "uint128";
3033
- }, {
3034
- readonly name: "_totalDistributedRewards";
3035
- readonly internalType: "uint128";
3036
- readonly type: "uint128";
3037
- }, {
3038
- readonly name: "_totalClaimedRewards";
3039
- readonly internalType: "uint128";
3040
- readonly type: "uint128";
3041
- }, {
3042
- readonly name: "_totalUnassignedUnclaimedRewards";
3043
- readonly internalType: "uint128";
3044
- readonly type: "uint128";
3045
- }, {
3046
- readonly name: "_monthsWithRewards";
3047
- readonly internalType: "uint256[]";
3048
- readonly type: "uint256[]";
3049
- }];
3050
- readonly stateMutability: "view";
3051
- }, {
3052
- readonly type: "function";
3053
- readonly inputs: readonly [{
3054
- readonly name: "_projectId";
3055
- readonly internalType: "uint256";
3056
- readonly type: "uint256";
3057
- }, {
3058
- readonly name: "_month";
3059
- readonly internalType: "uint256";
3060
- readonly type: "uint256";
3061
- }];
3062
- readonly name: "getProjectRewardsInfo";
3063
- readonly outputs: readonly [{
3064
- readonly name: "_assignedRewards";
3065
- readonly internalType: "uint128";
3066
- readonly type: "uint128";
3067
- }, {
3068
- readonly name: "_distributedRewards";
3069
- readonly internalType: "uint128";
3070
- readonly type: "uint128";
3071
- }, {
3072
- readonly name: "_claimedRewards";
3073
- readonly internalType: "uint128";
3074
- readonly type: "uint128";
3075
- }, {
3076
- readonly name: "_unassignedUnclaimedRewards";
3077
- readonly internalType: "uint128";
3078
- readonly type: "uint128";
3079
- }];
3080
- readonly stateMutability: "view";
3081
- }, {
3082
- readonly type: "function";
3083
- readonly inputs: readonly [];
3084
- readonly name: "getProjectsBasicInfo";
3085
- readonly outputs: readonly [{
3086
- readonly name: "_names";
3087
- readonly internalType: "string[]";
3088
- readonly type: "string[]";
3089
- }, {
3090
- readonly name: "_claimingDisabled";
3091
- readonly internalType: "bool[]";
3092
- readonly type: "bool[]";
3093
- }];
3094
- readonly stateMutability: "view";
3095
- }, {
3096
- readonly type: "function";
3097
- readonly inputs: readonly [];
3098
- readonly name: "getProjectsCount";
3099
- readonly outputs: readonly [{
3100
- readonly name: "";
3101
- readonly internalType: "uint256";
3102
- readonly type: "uint256";
3103
- }];
3104
- readonly stateMutability: "view";
3105
- }, {
3106
- readonly type: "function";
3107
- readonly inputs: readonly [{
3108
- readonly name: "_owner";
3109
- readonly internalType: "address";
3110
- readonly type: "address";
3111
- }];
3112
- readonly name: "getRNatAccount";
3113
- readonly outputs: readonly [{
3114
- readonly name: "";
3115
- readonly internalType: "contract IRNatAccount";
3116
- readonly type: "address";
3117
- }];
3118
- readonly stateMutability: "view";
3119
- }, {
3120
- readonly type: "function";
3121
- readonly inputs: readonly [];
3122
- readonly name: "getRewardsInfo";
3123
- readonly outputs: readonly [{
3124
- readonly name: "_totalAssignableRewards";
3125
- readonly internalType: "uint256";
3126
- readonly type: "uint256";
3127
- }, {
3128
- readonly name: "_totalAssignedRewards";
3129
- readonly internalType: "uint256";
3130
- readonly type: "uint256";
3131
- }, {
3132
- readonly name: "_totalClaimedRewards";
3133
- readonly internalType: "uint256";
3134
- readonly type: "uint256";
3135
- }, {
3136
- readonly name: "_totalWithdrawnRewards";
3137
- readonly internalType: "uint256";
3138
- readonly type: "uint256";
3139
- }, {
3140
- readonly name: "_totalWithdrawnAssignableRewards";
3141
- readonly internalType: "uint256";
3142
- readonly type: "uint256";
3143
- }];
3144
- readonly stateMutability: "view";
3145
- }, {
3146
- readonly type: "function";
3147
- readonly inputs: readonly [];
3148
- readonly name: "name";
3149
- readonly outputs: readonly [{
3150
- readonly name: "";
3151
- readonly internalType: "string";
3152
- readonly type: "string";
3153
- }];
3154
- readonly stateMutability: "view";
3155
- }, {
3156
- readonly type: "function";
3157
- readonly inputs: readonly [{
3158
- readonly name: "_executors";
3159
- readonly internalType: "address[]";
3160
- readonly type: "address[]";
3161
- }];
3162
- readonly name: "setClaimExecutors";
3163
- readonly outputs: readonly [];
3164
- readonly stateMutability: "payable";
3165
- }, {
3166
- readonly type: "function";
3167
- readonly inputs: readonly [];
3168
- readonly name: "symbol";
3169
- readonly outputs: readonly [{
3170
- readonly name: "";
3171
- readonly internalType: "string";
3172
- readonly type: "string";
3173
- }];
3174
- readonly stateMutability: "view";
3175
- }, {
3176
- readonly type: "function";
3177
- readonly inputs: readonly [];
3178
- readonly name: "totalSupply";
3179
- readonly outputs: readonly [{
3180
- readonly name: "";
3181
- readonly internalType: "uint256";
3182
- readonly type: "uint256";
3183
- }];
3184
- readonly stateMutability: "view";
3185
- }, {
3186
- readonly type: "function";
3187
- readonly inputs: readonly [{
3188
- readonly name: "to";
3189
- readonly internalType: "address";
3190
- readonly type: "address";
3191
- }, {
3192
- readonly name: "amount";
3193
- readonly internalType: "uint256";
3194
- readonly type: "uint256";
3195
- }];
3196
- readonly name: "transfer";
3197
- readonly outputs: readonly [{
3198
- readonly name: "";
3199
- readonly internalType: "bool";
3200
- readonly type: "bool";
3201
- }];
3202
- readonly stateMutability: "nonpayable";
3203
- }, {
3204
- readonly type: "function";
3205
- readonly inputs: readonly [{
3206
- readonly name: "_token";
3207
- readonly internalType: "contract IERC20";
3208
- readonly type: "address";
3209
- }, {
3210
- readonly name: "_amount";
3211
- readonly internalType: "uint256";
3212
- readonly type: "uint256";
3213
- }];
3214
- readonly name: "transferExternalToken";
3215
- readonly outputs: readonly [];
3216
- readonly stateMutability: "nonpayable";
3217
- }, {
3218
- readonly type: "function";
3219
- readonly inputs: readonly [{
3220
- readonly name: "from";
3221
- readonly internalType: "address";
3222
- readonly type: "address";
3223
- }, {
3224
- readonly name: "to";
3225
- readonly internalType: "address";
3226
- readonly type: "address";
3227
- }, {
3228
- readonly name: "amount";
3229
- readonly internalType: "uint256";
3230
- readonly type: "uint256";
3231
- }];
3232
- readonly name: "transferFrom";
3233
- readonly outputs: readonly [{
3234
- readonly name: "";
3235
- readonly internalType: "bool";
3236
- readonly type: "bool";
3237
- }];
3238
- readonly stateMutability: "nonpayable";
3239
- }, {
3240
- readonly type: "function";
3241
- readonly inputs: readonly [{
3242
- readonly name: "_projectId";
3243
- readonly internalType: "uint256";
3244
- readonly type: "uint256";
3245
- }, {
3246
- readonly name: "_months";
3247
- readonly internalType: "uint256[]";
3248
- readonly type: "uint256[]";
3249
- }];
3250
- readonly name: "unassignRewards";
3251
- readonly outputs: readonly [];
3252
- readonly stateMutability: "nonpayable";
3253
- }, {
3254
- readonly type: "function";
3255
- readonly inputs: readonly [{
3256
- readonly name: "_projectId";
3257
- readonly internalType: "uint256";
3258
- readonly type: "uint256";
3259
- }, {
3260
- readonly name: "_name";
3261
- readonly internalType: "string";
3262
- readonly type: "string";
3263
- }, {
3264
- readonly name: "_distributor";
3265
- readonly internalType: "address";
3266
- readonly type: "address";
3267
- }, {
3268
- readonly name: "_currentMonthDistributionEnabled";
3269
- readonly internalType: "bool";
3270
- readonly type: "bool";
3271
- }];
3272
- readonly name: "updateProject";
3273
- readonly outputs: readonly [];
3274
- readonly stateMutability: "nonpayable";
3275
- }, {
3276
- readonly type: "function";
3277
- readonly inputs: readonly [];
3278
- readonly name: "wNat";
3279
- readonly outputs: readonly [{
3280
- readonly name: "";
3281
- readonly internalType: "contract IWNat";
3282
- readonly type: "address";
3283
- }];
3284
- readonly stateMutability: "view";
3285
- }, {
3286
- readonly type: "function";
3287
- readonly inputs: readonly [{
3288
- readonly name: "_amount";
3289
- readonly internalType: "uint128";
3290
- readonly type: "uint128";
3291
- }, {
3292
- readonly name: "_wrap";
3293
- readonly internalType: "bool";
3294
- readonly type: "bool";
3295
- }];
3296
- readonly name: "withdraw";
3297
- readonly outputs: readonly [];
3298
- readonly stateMutability: "nonpayable";
3299
- }, {
3300
- readonly type: "function";
3301
- readonly inputs: readonly [{
3302
- readonly name: "_wrap";
3303
- readonly internalType: "bool";
3304
- readonly type: "bool";
3305
- }];
3306
- readonly name: "withdrawAll";
3307
- readonly outputs: readonly [];
3308
- readonly stateMutability: "nonpayable";
3309
- }], undefined, undefined>;
3310
- /**
3311
- * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link iirNatAbi}__
3312
- */
3313
- export declare const useWatchIirNatEvent: import("wagmi/codegen").CreateUseWatchContractEventReturnType<readonly [{
3314
- readonly type: "event";
3315
- readonly anonymous: false;
3316
- readonly inputs: readonly [{
3317
- readonly name: "owner";
3318
- readonly internalType: "address";
3319
- readonly type: "address";
3320
- readonly indexed: true;
3321
- }, {
3322
- readonly name: "spender";
3323
- readonly internalType: "address";
3324
- readonly type: "address";
3325
- readonly indexed: true;
3326
- }, {
3327
- readonly name: "value";
3328
- readonly internalType: "uint256";
3329
- readonly type: "uint256";
3330
- readonly indexed: false;
3331
- }];
3332
- readonly name: "Approval";
3333
- }, {
3334
- readonly type: "event";
3335
- readonly anonymous: false;
3336
- readonly inputs: readonly [{
3337
- readonly name: "projectIds";
3338
- readonly internalType: "uint256[]";
3339
- readonly type: "uint256[]";
3340
- readonly indexed: false;
3341
- }, {
3342
- readonly name: "disabled";
3343
- readonly internalType: "bool";
3344
- readonly type: "bool";
3345
- readonly indexed: false;
3346
- }];
3347
- readonly name: "ClaimingPermissionUpdated";
3348
- }, {
3349
- readonly type: "event";
3350
- readonly anonymous: false;
3351
- readonly inputs: readonly [{
3352
- readonly name: "projectIds";
3353
- readonly internalType: "uint256[]";
3354
- readonly type: "uint256[]";
3355
- readonly indexed: false;
3356
- }, {
3357
- readonly name: "disabled";
3358
- readonly internalType: "bool";
3359
- readonly type: "bool";
3360
- readonly indexed: false;
3361
- }];
3362
- readonly name: "DistributionPermissionUpdated";
3363
- }, {
3364
- readonly type: "event";
3365
- readonly anonymous: false;
3366
- readonly inputs: readonly [{
3367
- readonly name: "libraryAddress";
3368
- readonly internalType: "address";
3369
- readonly type: "address";
3370
- readonly indexed: false;
3371
- }];
3372
- readonly name: "LibraryAddressSet";
3373
- }, {
3374
- readonly type: "event";
3375
- readonly anonymous: false;
3376
- readonly inputs: readonly [{
3377
- readonly name: "id";
3378
- readonly internalType: "uint256";
3379
- readonly type: "uint256";
3380
- readonly indexed: true;
3381
- }, {
3382
- readonly name: "name";
3383
- readonly internalType: "string";
3384
- readonly type: "string";
3385
- readonly indexed: false;
3386
- }, {
3387
- readonly name: "distributor";
3388
- readonly internalType: "address";
3389
- readonly type: "address";
3390
- readonly indexed: false;
3391
- }, {
3392
- readonly name: "currentMonthDistributionEnabled";
3393
- readonly internalType: "bool";
3394
- readonly type: "bool";
3395
- readonly indexed: false;
3396
- }];
3397
- readonly name: "ProjectAdded";
3398
- }, {
3399
- readonly type: "event";
3400
- readonly anonymous: false;
3401
- readonly inputs: readonly [{
3402
- readonly name: "id";
3403
- readonly internalType: "uint256";
3404
- readonly type: "uint256";
3405
- readonly indexed: true;
3406
- }, {
3407
- readonly name: "name";
3408
- readonly internalType: "string";
3409
- readonly type: "string";
3410
- readonly indexed: false;
3411
- }, {
3412
- readonly name: "distributor";
3413
- readonly internalType: "address";
3414
- readonly type: "address";
3415
- readonly indexed: false;
3416
- }, {
3417
- readonly name: "currentMonthDistributionEnabled";
3418
- readonly internalType: "bool";
3419
- readonly type: "bool";
3420
- readonly indexed: false;
3421
- }];
3422
- readonly name: "ProjectUpdated";
3423
- }, {
3424
- readonly type: "event";
3425
- readonly anonymous: false;
3426
- readonly inputs: readonly [{
3427
- readonly name: "owner";
3428
- readonly internalType: "address";
3429
- readonly type: "address";
3430
- readonly indexed: false;
3431
- }, {
3432
- readonly name: "rNatAccount";
3433
- readonly internalType: "contract IRNatAccount";
3434
- readonly type: "address";
3435
- readonly indexed: false;
3436
- }];
3437
- readonly name: "RNatAccountCreated";
3438
- }, {
3439
- readonly type: "event";
3440
- readonly anonymous: false;
3441
- readonly inputs: readonly [{
3442
- readonly name: "projectId";
3443
- readonly internalType: "uint256";
3444
- readonly type: "uint256";
3445
- readonly indexed: true;
3446
- }, {
3447
- readonly name: "month";
3448
- readonly internalType: "uint256";
3449
- readonly type: "uint256";
3450
- readonly indexed: true;
3451
- }, {
3452
- readonly name: "amount";
3453
- readonly internalType: "uint128";
3454
- readonly type: "uint128";
3455
- readonly indexed: false;
3456
- }];
3457
- readonly name: "RewardsAssigned";
3458
- }, {
3459
- readonly type: "event";
3460
- readonly anonymous: false;
3461
- readonly inputs: readonly [{
3462
- readonly name: "projectId";
3463
- readonly internalType: "uint256";
3464
- readonly type: "uint256";
3465
- readonly indexed: true;
3466
- }, {
3467
- readonly name: "month";
3468
- readonly internalType: "uint256";
3469
- readonly type: "uint256";
3470
- readonly indexed: true;
3471
- }, {
3472
- readonly name: "owner";
3473
- readonly internalType: "address";
3474
- readonly type: "address";
3475
- readonly indexed: true;
3476
- }, {
3477
- readonly name: "amount";
3478
- readonly internalType: "uint128";
3479
- readonly type: "uint128";
3480
- readonly indexed: false;
3481
- }];
3482
- readonly name: "RewardsClaimed";
3483
- }, {
3484
- readonly type: "event";
3485
- readonly anonymous: false;
3486
- readonly inputs: readonly [{
3487
- readonly name: "projectId";
3488
- readonly internalType: "uint256";
3489
- readonly type: "uint256";
3490
- readonly indexed: true;
3491
- }, {
3492
- readonly name: "month";
3493
- readonly internalType: "uint256";
3494
- readonly type: "uint256";
3495
- readonly indexed: true;
3496
- }, {
3497
- readonly name: "recipients";
3498
- readonly internalType: "address[]";
3499
- readonly type: "address[]";
3500
- readonly indexed: false;
3501
- }, {
3502
- readonly name: "amounts";
3503
- readonly internalType: "uint128[]";
3504
- readonly type: "uint128[]";
3505
- readonly indexed: false;
3506
- }];
3507
- readonly name: "RewardsDistributed";
3508
- }, {
3509
- readonly type: "event";
3510
- readonly anonymous: false;
3511
- readonly inputs: readonly [{
3512
- readonly name: "projectId";
3513
- readonly internalType: "uint256";
3514
- readonly type: "uint256";
3515
- readonly indexed: true;
3516
- }, {
3517
- readonly name: "month";
3518
- readonly internalType: "uint256";
3519
- readonly type: "uint256";
3520
- readonly indexed: true;
3521
- }, {
3522
- readonly name: "amount";
3523
- readonly internalType: "uint128";
3524
- readonly type: "uint128";
3525
- readonly indexed: false;
3526
- }];
3527
- readonly name: "RewardsUnassigned";
3528
- }, {
3529
- readonly type: "event";
3530
- readonly anonymous: false;
3531
- readonly inputs: readonly [{
3532
- readonly name: "from";
3533
- readonly internalType: "address";
3534
- readonly type: "address";
3535
- readonly indexed: true;
3536
- }, {
3537
- readonly name: "to";
3538
- readonly internalType: "address";
3539
- readonly type: "address";
3540
- readonly indexed: true;
3541
- }, {
3542
- readonly name: "value";
3543
- readonly internalType: "uint256";
3544
- readonly type: "uint256";
3545
- readonly indexed: false;
3546
- }];
3547
- readonly name: "Transfer";
3548
- }, {
3549
- readonly type: "event";
3550
- readonly anonymous: false;
3551
- readonly inputs: readonly [{
3552
- readonly name: "recipient";
3553
- readonly internalType: "address";
3554
- readonly type: "address";
3555
- readonly indexed: false;
3556
- }, {
3557
- readonly name: "amount";
3558
- readonly internalType: "uint128";
3559
- readonly type: "uint128";
3560
- readonly indexed: false;
3561
- }];
3562
- readonly name: "UnassignedRewardsWithdrawn";
3563
- }, {
3564
- readonly type: "event";
3565
- readonly anonymous: false;
3566
- readonly inputs: readonly [{
3567
- readonly name: "projectId";
3568
- readonly internalType: "uint256";
3569
- readonly type: "uint256";
3570
- readonly indexed: true;
3571
- }, {
3572
- readonly name: "month";
3573
- readonly internalType: "uint256";
3574
- readonly type: "uint256";
3575
- readonly indexed: true;
3576
- }, {
3577
- readonly name: "amount";
3578
- readonly internalType: "uint128";
3579
- readonly type: "uint128";
3580
- readonly indexed: false;
3581
- }];
3582
- readonly name: "UnclaimedRewardsUnassigned";
3583
- }, {
3584
- readonly type: "function";
3585
- readonly inputs: readonly [{
3586
- readonly name: "_names";
3587
- readonly internalType: "string[]";
3588
- readonly type: "string[]";
3589
- }, {
3590
- readonly name: "_distributors";
3591
- readonly internalType: "address[]";
3592
- readonly type: "address[]";
3593
- }, {
3594
- readonly name: "_currentMonthDistributionEnabledList";
3595
- readonly internalType: "bool[]";
3596
- readonly type: "bool[]";
3597
- }];
3598
- readonly name: "addProjects";
3599
- readonly outputs: readonly [];
3600
- readonly stateMutability: "nonpayable";
3601
- }, {
3602
- readonly type: "function";
3603
- readonly inputs: readonly [{
3604
- readonly name: "owner";
3605
- readonly internalType: "address";
3606
- readonly type: "address";
3607
- }, {
3608
- readonly name: "spender";
3609
- readonly internalType: "address";
3610
- readonly type: "address";
3611
- }];
3612
- readonly name: "allowance";
3613
- readonly outputs: readonly [{
3614
- readonly name: "";
3615
- readonly internalType: "uint256";
3616
- readonly type: "uint256";
3617
- }];
3618
- readonly stateMutability: "view";
3619
- }, {
3620
- readonly type: "function";
3621
- readonly inputs: readonly [{
3622
- readonly name: "spender";
3623
- readonly internalType: "address";
3624
- readonly type: "address";
3625
- }, {
3626
- readonly name: "amount";
3627
- readonly internalType: "uint256";
3628
- readonly type: "uint256";
3629
- }];
3630
- readonly name: "approve";
3631
- readonly outputs: readonly [{
3632
- readonly name: "";
3633
- readonly internalType: "bool";
3634
- readonly type: "bool";
3635
- }];
3636
- readonly stateMutability: "nonpayable";
3637
- }, {
3638
- readonly type: "function";
3639
- readonly inputs: readonly [{
3640
- readonly name: "_month";
3641
- readonly internalType: "uint256";
3642
- readonly type: "uint256";
3643
- }, {
3644
- readonly name: "_projectIds";
3645
- readonly internalType: "uint256[]";
3646
- readonly type: "uint256[]";
3647
- }, {
3648
- readonly name: "_amountsWei";
3649
- readonly internalType: "uint128[]";
3650
- readonly type: "uint128[]";
3651
- }];
3652
- readonly name: "assignRewards";
3653
- readonly outputs: readonly [];
3654
- readonly stateMutability: "nonpayable";
3655
- }, {
3656
- readonly type: "function";
3657
- readonly inputs: readonly [{
3658
- readonly name: "account";
3659
- readonly internalType: "address";
3660
- readonly type: "address";
3661
- }];
3662
- readonly name: "balanceOf";
3663
- readonly outputs: readonly [{
3664
- readonly name: "";
3665
- readonly internalType: "uint256";
3666
- readonly type: "uint256";
3667
- }];
3668
- readonly stateMutability: "view";
3669
- }, {
3670
- readonly type: "function";
3671
- readonly inputs: readonly [{
3672
- readonly name: "_projectIds";
3673
- readonly internalType: "uint256[]";
3674
- readonly type: "uint256[]";
3675
- }, {
3676
- readonly name: "_month";
3677
- readonly internalType: "uint256";
3678
- readonly type: "uint256";
3679
- }];
3680
- readonly name: "claimRewards";
3681
- readonly outputs: readonly [{
3682
- readonly name: "_claimedRewardsWei";
3683
- readonly internalType: "uint128";
3684
- readonly type: "uint128";
3685
- }];
3686
- readonly stateMutability: "nonpayable";
3687
- }, {
3688
- readonly type: "function";
3689
- readonly inputs: readonly [];
3690
- readonly name: "decimals";
3691
- readonly outputs: readonly [{
3692
- readonly name: "";
3693
- readonly internalType: "uint8";
3694
- readonly type: "uint8";
3695
- }];
3696
- readonly stateMutability: "view";
3697
- }, {
3698
- readonly type: "function";
3699
- readonly inputs: readonly [{
3700
- readonly name: "_projectIds";
3701
- readonly internalType: "uint256[]";
3702
- readonly type: "uint256[]";
3703
- }];
3704
- readonly name: "disableClaiming";
3705
- readonly outputs: readonly [];
3706
- readonly stateMutability: "nonpayable";
3707
- }, {
3708
- readonly type: "function";
3709
- readonly inputs: readonly [{
3710
- readonly name: "_projectIds";
3711
- readonly internalType: "uint256[]";
3712
- readonly type: "uint256[]";
3713
- }];
3714
- readonly name: "disableDistribution";
3715
- readonly outputs: readonly [];
3716
- readonly stateMutability: "nonpayable";
3717
- }, {
3718
- readonly type: "function";
3719
- readonly inputs: readonly [{
3720
- readonly name: "_projectId";
3721
- readonly internalType: "uint256";
3722
- readonly type: "uint256";
3723
- }, {
3724
- readonly name: "_month";
3725
- readonly internalType: "uint256";
3726
- readonly type: "uint256";
3727
- }, {
3728
- readonly name: "_recipients";
3729
- readonly internalType: "address[]";
3730
- readonly type: "address[]";
3731
- }, {
3732
- readonly name: "_amountsWei";
3733
- readonly internalType: "uint128[]";
3734
- readonly type: "uint128[]";
3735
- }];
3736
- readonly name: "distributeRewards";
3737
- readonly outputs: readonly [];
3738
- readonly stateMutability: "nonpayable";
3739
- }, {
3740
- readonly type: "function";
3741
- readonly inputs: readonly [];
3742
- readonly name: "firstMonthStartTs";
3743
- readonly outputs: readonly [{
3744
- readonly name: "";
3745
- readonly internalType: "uint256";
3746
- readonly type: "uint256";
3747
- }];
3748
- readonly stateMutability: "view";
3749
- }, {
3750
- readonly type: "function";
3751
- readonly inputs: readonly [{
3752
- readonly name: "_owner";
3753
- readonly internalType: "address";
3754
- readonly type: "address";
3755
- }];
3756
- readonly name: "getBalancesOf";
3757
- readonly outputs: readonly [{
3758
- readonly name: "_wNatBalance";
3759
- readonly internalType: "uint256";
3760
- readonly type: "uint256";
3761
- }, {
3762
- readonly name: "_rNatBalance";
3763
- readonly internalType: "uint256";
3764
- readonly type: "uint256";
3765
- }, {
3766
- readonly name: "_lockedBalance";
3767
- readonly internalType: "uint256";
3768
- readonly type: "uint256";
3769
- }];
3770
- readonly stateMutability: "view";
3771
- }, {
3772
- readonly type: "function";
3773
- readonly inputs: readonly [{
3774
- readonly name: "_projectId";
3775
- readonly internalType: "uint256";
3776
- readonly type: "uint256";
3777
- }, {
3778
- readonly name: "_owner";
3779
- readonly internalType: "address";
3780
- readonly type: "address";
3781
- }];
3782
- readonly name: "getClaimableRewards";
3783
- readonly outputs: readonly [{
3784
- readonly name: "";
3785
- readonly internalType: "uint128";
3786
- readonly type: "uint128";
3787
- }];
3788
- readonly stateMutability: "view";
3789
- }, {
3790
- readonly type: "function";
3791
- readonly inputs: readonly [];
3792
- readonly name: "getCurrentMonth";
3793
- readonly outputs: readonly [{
3794
- readonly name: "";
3795
- readonly internalType: "uint256";
3796
- readonly type: "uint256";
3797
- }];
3798
- readonly stateMutability: "view";
3799
- }, {
3800
- readonly type: "function";
3801
- readonly inputs: readonly [{
3802
- readonly name: "_projectId";
3803
- readonly internalType: "uint256";
3804
- readonly type: "uint256";
3805
- }, {
3806
- readonly name: "_month";
3807
- readonly internalType: "uint256";
3808
- readonly type: "uint256";
3809
- }, {
3810
- readonly name: "_owner";
3811
- readonly internalType: "address";
3812
- readonly type: "address";
3813
- }];
3814
- readonly name: "getOwnerRewardsInfo";
3815
- readonly outputs: readonly [{
3816
- readonly name: "_assignedRewards";
3817
- readonly internalType: "uint128";
3818
- readonly type: "uint128";
3819
- }, {
3820
- readonly name: "_claimedRewards";
3821
- readonly internalType: "uint128";
3822
- readonly type: "uint128";
3823
- }, {
3824
- readonly name: "_claimable";
3825
- readonly internalType: "bool";
3826
- readonly type: "bool";
3827
- }];
3828
- readonly stateMutability: "view";
3829
- }, {
3830
- readonly type: "function";
3831
- readonly inputs: readonly [{
3832
- readonly name: "_projectId";
3833
- readonly internalType: "uint256";
3834
- readonly type: "uint256";
3835
- }];
3836
- readonly name: "getProjectInfo";
3837
- readonly outputs: readonly [{
3838
- readonly name: "_name";
3839
- readonly internalType: "string";
3840
- readonly type: "string";
3841
- }, {
3842
- readonly name: "_distributor";
3843
- readonly internalType: "address";
3844
- readonly type: "address";
3845
- }, {
3846
- readonly name: "_currentMonthDistributionEnabled";
3847
- readonly internalType: "bool";
3848
- readonly type: "bool";
3849
- }, {
3850
- readonly name: "_distributionDisabled";
3851
- readonly internalType: "bool";
3852
- readonly type: "bool";
3853
- }, {
3854
- readonly name: "_claimingDisabled";
3855
- readonly internalType: "bool";
3856
- readonly type: "bool";
3857
- }, {
3858
- readonly name: "_totalAssignedRewards";
3859
- readonly internalType: "uint128";
3860
- readonly type: "uint128";
3861
- }, {
3862
- readonly name: "_totalDistributedRewards";
3863
- readonly internalType: "uint128";
3864
- readonly type: "uint128";
3865
- }, {
3866
- readonly name: "_totalClaimedRewards";
3867
- readonly internalType: "uint128";
3868
- readonly type: "uint128";
3869
- }, {
3870
- readonly name: "_totalUnassignedUnclaimedRewards";
3871
- readonly internalType: "uint128";
3872
- readonly type: "uint128";
3873
- }, {
3874
- readonly name: "_monthsWithRewards";
3875
- readonly internalType: "uint256[]";
3876
- readonly type: "uint256[]";
3877
- }];
3878
- readonly stateMutability: "view";
3879
- }, {
3880
- readonly type: "function";
3881
- readonly inputs: readonly [{
3882
- readonly name: "_projectId";
3883
- readonly internalType: "uint256";
3884
- readonly type: "uint256";
3885
- }, {
3886
- readonly name: "_month";
3887
- readonly internalType: "uint256";
3888
- readonly type: "uint256";
3889
- }];
3890
- readonly name: "getProjectRewardsInfo";
3891
- readonly outputs: readonly [{
3892
- readonly name: "_assignedRewards";
3893
- readonly internalType: "uint128";
3894
- readonly type: "uint128";
3895
- }, {
3896
- readonly name: "_distributedRewards";
3897
- readonly internalType: "uint128";
3898
- readonly type: "uint128";
3899
- }, {
3900
- readonly name: "_claimedRewards";
3901
- readonly internalType: "uint128";
3902
- readonly type: "uint128";
3903
- }, {
3904
- readonly name: "_unassignedUnclaimedRewards";
3905
- readonly internalType: "uint128";
3906
- readonly type: "uint128";
3907
- }];
3908
- readonly stateMutability: "view";
3909
- }, {
3910
- readonly type: "function";
3911
- readonly inputs: readonly [];
3912
- readonly name: "getProjectsBasicInfo";
3913
- readonly outputs: readonly [{
3914
- readonly name: "_names";
3915
- readonly internalType: "string[]";
3916
- readonly type: "string[]";
3917
- }, {
3918
- readonly name: "_claimingDisabled";
3919
- readonly internalType: "bool[]";
3920
- readonly type: "bool[]";
3921
- }];
3922
- readonly stateMutability: "view";
3923
- }, {
3924
- readonly type: "function";
3925
- readonly inputs: readonly [];
3926
- readonly name: "getProjectsCount";
3927
- readonly outputs: readonly [{
3928
- readonly name: "";
3929
- readonly internalType: "uint256";
3930
- readonly type: "uint256";
3931
- }];
3932
- readonly stateMutability: "view";
3933
- }, {
3934
- readonly type: "function";
3935
- readonly inputs: readonly [{
3936
- readonly name: "_owner";
3937
- readonly internalType: "address";
3938
- readonly type: "address";
3939
- }];
3940
- readonly name: "getRNatAccount";
3941
- readonly outputs: readonly [{
3942
- readonly name: "";
3943
- readonly internalType: "contract IRNatAccount";
3944
- readonly type: "address";
3945
- }];
3946
- readonly stateMutability: "view";
3947
- }, {
3948
- readonly type: "function";
3949
- readonly inputs: readonly [];
3950
- readonly name: "getRewardsInfo";
3951
- readonly outputs: readonly [{
3952
- readonly name: "_totalAssignableRewards";
3953
- readonly internalType: "uint256";
3954
- readonly type: "uint256";
3955
- }, {
3956
- readonly name: "_totalAssignedRewards";
3957
- readonly internalType: "uint256";
3958
- readonly type: "uint256";
3959
- }, {
3960
- readonly name: "_totalClaimedRewards";
3961
- readonly internalType: "uint256";
3962
- readonly type: "uint256";
3963
- }, {
3964
- readonly name: "_totalWithdrawnRewards";
3965
- readonly internalType: "uint256";
3966
- readonly type: "uint256";
3967
- }, {
3968
- readonly name: "_totalWithdrawnAssignableRewards";
3969
- readonly internalType: "uint256";
3970
- readonly type: "uint256";
3971
- }];
3972
- readonly stateMutability: "view";
3973
- }, {
3974
- readonly type: "function";
3975
- readonly inputs: readonly [];
3976
- readonly name: "name";
3977
- readonly outputs: readonly [{
3978
- readonly name: "";
3979
- readonly internalType: "string";
3980
- readonly type: "string";
3981
- }];
3982
- readonly stateMutability: "view";
3983
- }, {
3984
- readonly type: "function";
3985
- readonly inputs: readonly [{
3986
- readonly name: "_executors";
3987
- readonly internalType: "address[]";
3988
- readonly type: "address[]";
3989
- }];
3990
- readonly name: "setClaimExecutors";
3991
- readonly outputs: readonly [];
3992
- readonly stateMutability: "payable";
3993
- }, {
3994
- readonly type: "function";
3995
- readonly inputs: readonly [];
3996
- readonly name: "symbol";
3997
- readonly outputs: readonly [{
3998
- readonly name: "";
3999
- readonly internalType: "string";
4000
- readonly type: "string";
4001
- }];
4002
- readonly stateMutability: "view";
4003
- }, {
4004
- readonly type: "function";
4005
- readonly inputs: readonly [];
4006
- readonly name: "totalSupply";
4007
- readonly outputs: readonly [{
4008
- readonly name: "";
4009
- readonly internalType: "uint256";
4010
- readonly type: "uint256";
4011
- }];
4012
- readonly stateMutability: "view";
4013
- }, {
4014
- readonly type: "function";
4015
- readonly inputs: readonly [{
4016
- readonly name: "to";
4017
- readonly internalType: "address";
4018
- readonly type: "address";
4019
- }, {
4020
- readonly name: "amount";
4021
- readonly internalType: "uint256";
4022
- readonly type: "uint256";
4023
- }];
4024
- readonly name: "transfer";
4025
- readonly outputs: readonly [{
4026
- readonly name: "";
4027
- readonly internalType: "bool";
4028
- readonly type: "bool";
4029
- }];
4030
- readonly stateMutability: "nonpayable";
4031
- }, {
4032
- readonly type: "function";
4033
- readonly inputs: readonly [{
4034
- readonly name: "_token";
4035
- readonly internalType: "contract IERC20";
4036
- readonly type: "address";
4037
- }, {
4038
- readonly name: "_amount";
4039
- readonly internalType: "uint256";
4040
- readonly type: "uint256";
4041
- }];
4042
- readonly name: "transferExternalToken";
4043
- readonly outputs: readonly [];
4044
- readonly stateMutability: "nonpayable";
4045
- }, {
4046
- readonly type: "function";
4047
- readonly inputs: readonly [{
4048
- readonly name: "from";
4049
- readonly internalType: "address";
4050
- readonly type: "address";
4051
- }, {
4052
- readonly name: "to";
4053
- readonly internalType: "address";
4054
- readonly type: "address";
4055
- }, {
4056
- readonly name: "amount";
4057
- readonly internalType: "uint256";
4058
- readonly type: "uint256";
4059
- }];
4060
- readonly name: "transferFrom";
4061
- readonly outputs: readonly [{
4062
- readonly name: "";
4063
- readonly internalType: "bool";
4064
- readonly type: "bool";
4065
- }];
4066
- readonly stateMutability: "nonpayable";
4067
- }, {
4068
- readonly type: "function";
4069
- readonly inputs: readonly [{
4070
- readonly name: "_projectId";
4071
- readonly internalType: "uint256";
4072
- readonly type: "uint256";
4073
- }, {
4074
- readonly name: "_months";
4075
- readonly internalType: "uint256[]";
4076
- readonly type: "uint256[]";
4077
- }];
4078
- readonly name: "unassignRewards";
4079
- readonly outputs: readonly [];
4080
- readonly stateMutability: "nonpayable";
4081
- }, {
4082
- readonly type: "function";
4083
- readonly inputs: readonly [{
4084
- readonly name: "_projectId";
4085
- readonly internalType: "uint256";
4086
- readonly type: "uint256";
4087
- }, {
4088
- readonly name: "_name";
4089
- readonly internalType: "string";
4090
- readonly type: "string";
4091
- }, {
4092
- readonly name: "_distributor";
4093
- readonly internalType: "address";
4094
- readonly type: "address";
4095
- }, {
4096
- readonly name: "_currentMonthDistributionEnabled";
4097
- readonly internalType: "bool";
4098
- readonly type: "bool";
4099
- }];
4100
- readonly name: "updateProject";
4101
- readonly outputs: readonly [];
4102
- readonly stateMutability: "nonpayable";
4103
- }, {
4104
- readonly type: "function";
4105
- readonly inputs: readonly [];
4106
- readonly name: "wNat";
4107
- readonly outputs: readonly [{
4108
- readonly name: "";
4109
- readonly internalType: "contract IWNat";
4110
- readonly type: "address";
4111
- }];
4112
- readonly stateMutability: "view";
4113
- }, {
4114
- readonly type: "function";
4115
- readonly inputs: readonly [{
4116
- readonly name: "_amount";
4117
- readonly internalType: "uint128";
4118
- readonly type: "uint128";
4119
- }, {
4120
- readonly name: "_wrap";
4121
- readonly internalType: "bool";
4122
- readonly type: "bool";
4123
- }];
4124
- readonly name: "withdraw";
4125
- readonly outputs: readonly [];
4126
- readonly stateMutability: "nonpayable";
4127
- }, {
4128
- readonly type: "function";
4129
- readonly inputs: readonly [{
4130
- readonly name: "_wrap";
4131
- readonly internalType: "bool";
4132
- readonly type: "bool";
4133
- }];
4134
- readonly name: "withdrawAll";
4135
- readonly outputs: readonly [];
4136
- readonly stateMutability: "nonpayable";
4137
- }], undefined, undefined, "abi">;
4138
- //# sourceMappingURL=IIRNat.d.ts.map