@bulla/registry 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,580 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "owner",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ },
10
+ {
11
+ "name": "_factoringContract",
12
+ "type": "address",
13
+ "internalType": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "nonpayable"
17
+ },
18
+ {
19
+ "type": "function",
20
+ "name": "cancelQueuedRedemption",
21
+ "inputs": [
22
+ {
23
+ "name": "queueIndex",
24
+ "type": "uint256",
25
+ "internalType": "uint256"
26
+ }
27
+ ],
28
+ "outputs": [],
29
+ "stateMutability": "nonpayable"
30
+ },
31
+ {
32
+ "type": "function",
33
+ "name": "clearQueue",
34
+ "inputs": [],
35
+ "outputs": [],
36
+ "stateMutability": "nonpayable"
37
+ },
38
+ {
39
+ "type": "function",
40
+ "name": "compactQueue",
41
+ "inputs": [],
42
+ "outputs": [],
43
+ "stateMutability": "nonpayable"
44
+ },
45
+ {
46
+ "type": "function",
47
+ "name": "factoringContract",
48
+ "inputs": [],
49
+ "outputs": [
50
+ {
51
+ "name": "",
52
+ "type": "address",
53
+ "internalType": "address"
54
+ }
55
+ ],
56
+ "stateMutability": "view"
57
+ },
58
+ {
59
+ "type": "function",
60
+ "name": "getMaxQueueSize",
61
+ "inputs": [],
62
+ "outputs": [
63
+ {
64
+ "name": "",
65
+ "type": "uint256",
66
+ "internalType": "uint256"
67
+ }
68
+ ],
69
+ "stateMutability": "view"
70
+ },
71
+ {
72
+ "type": "function",
73
+ "name": "getNextRedemption",
74
+ "inputs": [],
75
+ "outputs": [
76
+ {
77
+ "name": "redemption",
78
+ "type": "tuple",
79
+ "internalType": "struct IRedemptionQueue.QueuedRedemption",
80
+ "components": [
81
+ {
82
+ "name": "owner",
83
+ "type": "address",
84
+ "internalType": "address"
85
+ },
86
+ {
87
+ "name": "receiver",
88
+ "type": "address",
89
+ "internalType": "address"
90
+ },
91
+ {
92
+ "name": "shares",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
95
+ },
96
+ {
97
+ "name": "assets",
98
+ "type": "uint256",
99
+ "internalType": "uint256"
100
+ }
101
+ ]
102
+ }
103
+ ],
104
+ "stateMutability": "view"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "getQueueLength",
109
+ "inputs": [],
110
+ "outputs": [
111
+ {
112
+ "name": "queueLength",
113
+ "type": "uint256",
114
+ "internalType": "uint256"
115
+ }
116
+ ],
117
+ "stateMutability": "view"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "getQueueStats",
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "name": "queueLength",
126
+ "type": "uint256",
127
+ "internalType": "uint256"
128
+ },
129
+ {
130
+ "name": "totalShares",
131
+ "type": "uint256",
132
+ "internalType": "uint256"
133
+ },
134
+ {
135
+ "name": "totalAssets",
136
+ "type": "uint256",
137
+ "internalType": "uint256"
138
+ }
139
+ ],
140
+ "stateMutability": "view"
141
+ },
142
+ {
143
+ "type": "function",
144
+ "name": "getQueuedRedemption",
145
+ "inputs": [
146
+ {
147
+ "name": "queueIndex",
148
+ "type": "uint256",
149
+ "internalType": "uint256"
150
+ }
151
+ ],
152
+ "outputs": [
153
+ {
154
+ "name": "redemption",
155
+ "type": "tuple",
156
+ "internalType": "struct IRedemptionQueue.QueuedRedemption",
157
+ "components": [
158
+ {
159
+ "name": "owner",
160
+ "type": "address",
161
+ "internalType": "address"
162
+ },
163
+ {
164
+ "name": "receiver",
165
+ "type": "address",
166
+ "internalType": "address"
167
+ },
168
+ {
169
+ "name": "shares",
170
+ "type": "uint256",
171
+ "internalType": "uint256"
172
+ },
173
+ {
174
+ "name": "assets",
175
+ "type": "uint256",
176
+ "internalType": "uint256"
177
+ }
178
+ ]
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "getQueuedRedemptionsForOwner",
186
+ "inputs": [
187
+ {
188
+ "name": "owner",
189
+ "type": "address",
190
+ "internalType": "address"
191
+ }
192
+ ],
193
+ "outputs": [
194
+ {
195
+ "name": "queueIndexes",
196
+ "type": "uint256[]",
197
+ "internalType": "uint256[]"
198
+ }
199
+ ],
200
+ "stateMutability": "view"
201
+ },
202
+ {
203
+ "type": "function",
204
+ "name": "getTotalQueuedForOwner",
205
+ "inputs": [
206
+ {
207
+ "name": "owner",
208
+ "type": "address",
209
+ "internalType": "address"
210
+ }
211
+ ],
212
+ "outputs": [
213
+ {
214
+ "name": "totalShares",
215
+ "type": "uint256",
216
+ "internalType": "uint256"
217
+ },
218
+ {
219
+ "name": "totalAssets",
220
+ "type": "uint256",
221
+ "internalType": "uint256"
222
+ }
223
+ ],
224
+ "stateMutability": "view"
225
+ },
226
+ {
227
+ "type": "function",
228
+ "name": "isQueueEmpty",
229
+ "inputs": [],
230
+ "outputs": [
231
+ {
232
+ "name": "isEmpty",
233
+ "type": "bool",
234
+ "internalType": "bool"
235
+ }
236
+ ],
237
+ "stateMutability": "view"
238
+ },
239
+ {
240
+ "type": "function",
241
+ "name": "maxQueueSize",
242
+ "inputs": [],
243
+ "outputs": [
244
+ {
245
+ "name": "",
246
+ "type": "uint256",
247
+ "internalType": "uint256"
248
+ }
249
+ ],
250
+ "stateMutability": "view"
251
+ },
252
+ {
253
+ "type": "function",
254
+ "name": "owner",
255
+ "inputs": [],
256
+ "outputs": [
257
+ {
258
+ "name": "",
259
+ "type": "address",
260
+ "internalType": "address"
261
+ }
262
+ ],
263
+ "stateMutability": "view"
264
+ },
265
+ {
266
+ "type": "function",
267
+ "name": "queueRedemption",
268
+ "inputs": [
269
+ {
270
+ "name": "owner",
271
+ "type": "address",
272
+ "internalType": "address"
273
+ },
274
+ {
275
+ "name": "receiver",
276
+ "type": "address",
277
+ "internalType": "address"
278
+ },
279
+ {
280
+ "name": "shares",
281
+ "type": "uint256",
282
+ "internalType": "uint256"
283
+ },
284
+ {
285
+ "name": "assets",
286
+ "type": "uint256",
287
+ "internalType": "uint256"
288
+ }
289
+ ],
290
+ "outputs": [
291
+ {
292
+ "name": "queueIndex",
293
+ "type": "uint256",
294
+ "internalType": "uint256"
295
+ }
296
+ ],
297
+ "stateMutability": "nonpayable"
298
+ },
299
+ {
300
+ "type": "function",
301
+ "name": "removeAmountFromFirstOwner",
302
+ "inputs": [
303
+ {
304
+ "name": "amount",
305
+ "type": "uint256",
306
+ "internalType": "uint256"
307
+ }
308
+ ],
309
+ "outputs": [
310
+ {
311
+ "name": "nextRedemption",
312
+ "type": "tuple",
313
+ "internalType": "struct IRedemptionQueue.QueuedRedemption",
314
+ "components": [
315
+ {
316
+ "name": "owner",
317
+ "type": "address",
318
+ "internalType": "address"
319
+ },
320
+ {
321
+ "name": "receiver",
322
+ "type": "address",
323
+ "internalType": "address"
324
+ },
325
+ {
326
+ "name": "shares",
327
+ "type": "uint256",
328
+ "internalType": "uint256"
329
+ },
330
+ {
331
+ "name": "assets",
332
+ "type": "uint256",
333
+ "internalType": "uint256"
334
+ }
335
+ ]
336
+ }
337
+ ],
338
+ "stateMutability": "nonpayable"
339
+ },
340
+ {
341
+ "type": "function",
342
+ "name": "renounceOwnership",
343
+ "inputs": [],
344
+ "outputs": [],
345
+ "stateMutability": "nonpayable"
346
+ },
347
+ {
348
+ "type": "function",
349
+ "name": "setFactoringContract",
350
+ "inputs": [
351
+ {
352
+ "name": "_factoringContract",
353
+ "type": "address",
354
+ "internalType": "address"
355
+ }
356
+ ],
357
+ "outputs": [],
358
+ "stateMutability": "nonpayable"
359
+ },
360
+ {
361
+ "type": "function",
362
+ "name": "setMaxQueueSize",
363
+ "inputs": [
364
+ {
365
+ "name": "_maxQueueSize",
366
+ "type": "uint256",
367
+ "internalType": "uint256"
368
+ }
369
+ ],
370
+ "outputs": [],
371
+ "stateMutability": "nonpayable"
372
+ },
373
+ {
374
+ "type": "function",
375
+ "name": "transferOwnership",
376
+ "inputs": [
377
+ {
378
+ "name": "newOwner",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ }
382
+ ],
383
+ "outputs": [],
384
+ "stateMutability": "nonpayable"
385
+ },
386
+ {
387
+ "type": "event",
388
+ "name": "OwnershipTransferred",
389
+ "inputs": [
390
+ {
391
+ "name": "previousOwner",
392
+ "type": "address",
393
+ "indexed": true,
394
+ "internalType": "address"
395
+ },
396
+ {
397
+ "name": "newOwner",
398
+ "type": "address",
399
+ "indexed": true,
400
+ "internalType": "address"
401
+ }
402
+ ],
403
+ "anonymous": false
404
+ },
405
+ {
406
+ "type": "event",
407
+ "name": "RedemptionCancelled",
408
+ "inputs": [
409
+ {
410
+ "name": "owner",
411
+ "type": "address",
412
+ "indexed": true,
413
+ "internalType": "address"
414
+ },
415
+ {
416
+ "name": "queueIndex",
417
+ "type": "uint256",
418
+ "indexed": false,
419
+ "internalType": "uint256"
420
+ }
421
+ ],
422
+ "anonymous": false
423
+ },
424
+ {
425
+ "type": "event",
426
+ "name": "RedemptionProcessed",
427
+ "inputs": [
428
+ {
429
+ "name": "owner",
430
+ "type": "address",
431
+ "indexed": true,
432
+ "internalType": "address"
433
+ },
434
+ {
435
+ "name": "receiver",
436
+ "type": "address",
437
+ "indexed": true,
438
+ "internalType": "address"
439
+ },
440
+ {
441
+ "name": "shares",
442
+ "type": "uint256",
443
+ "indexed": false,
444
+ "internalType": "uint256"
445
+ },
446
+ {
447
+ "name": "assets",
448
+ "type": "uint256",
449
+ "indexed": false,
450
+ "internalType": "uint256"
451
+ },
452
+ {
453
+ "name": "queueIndex",
454
+ "type": "uint256",
455
+ "indexed": false,
456
+ "internalType": "uint256"
457
+ }
458
+ ],
459
+ "anonymous": false
460
+ },
461
+ {
462
+ "type": "event",
463
+ "name": "RedemptionQueued",
464
+ "inputs": [
465
+ {
466
+ "name": "owner",
467
+ "type": "address",
468
+ "indexed": true,
469
+ "internalType": "address"
470
+ },
471
+ {
472
+ "name": "receiver",
473
+ "type": "address",
474
+ "indexed": true,
475
+ "internalType": "address"
476
+ },
477
+ {
478
+ "name": "shares",
479
+ "type": "uint256",
480
+ "indexed": false,
481
+ "internalType": "uint256"
482
+ },
483
+ {
484
+ "name": "assets",
485
+ "type": "uint256",
486
+ "indexed": false,
487
+ "internalType": "uint256"
488
+ },
489
+ {
490
+ "name": "queueIndex",
491
+ "type": "uint256",
492
+ "indexed": false,
493
+ "internalType": "uint256"
494
+ }
495
+ ],
496
+ "anonymous": false
497
+ },
498
+ {
499
+ "type": "error",
500
+ "name": "AmountExceedsQueuedAssets",
501
+ "inputs": []
502
+ },
503
+ {
504
+ "type": "error",
505
+ "name": "AmountExceedsQueuedShares",
506
+ "inputs": []
507
+ },
508
+ {
509
+ "type": "error",
510
+ "name": "InvalidOwner",
511
+ "inputs": []
512
+ },
513
+ {
514
+ "type": "error",
515
+ "name": "InvalidQueueIndex",
516
+ "inputs": []
517
+ },
518
+ {
519
+ "type": "error",
520
+ "name": "InvalidReceiver",
521
+ "inputs": []
522
+ },
523
+ {
524
+ "type": "error",
525
+ "name": "InvalidRedemption",
526
+ "inputs": []
527
+ },
528
+ {
529
+ "type": "error",
530
+ "name": "InvalidRedemptionType",
531
+ "inputs": []
532
+ },
533
+ {
534
+ "type": "error",
535
+ "name": "NotAuthorized",
536
+ "inputs": []
537
+ },
538
+ {
539
+ "type": "error",
540
+ "name": "OnlyFactoringContract",
541
+ "inputs": []
542
+ },
543
+ {
544
+ "type": "error",
545
+ "name": "OwnableInvalidOwner",
546
+ "inputs": [
547
+ {
548
+ "name": "owner",
549
+ "type": "address",
550
+ "internalType": "address"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "error",
556
+ "name": "OwnableUnauthorizedAccount",
557
+ "inputs": [
558
+ {
559
+ "name": "account",
560
+ "type": "address",
561
+ "internalType": "address"
562
+ }
563
+ ]
564
+ },
565
+ {
566
+ "type": "error",
567
+ "name": "QueueEmpty",
568
+ "inputs": []
569
+ },
570
+ {
571
+ "type": "error",
572
+ "name": "RedemptionAlreadyCancelled",
573
+ "inputs": []
574
+ },
575
+ {
576
+ "type": "error",
577
+ "name": "RedemptionQueueFull",
578
+ "inputs": []
579
+ }
580
+ ]