cooptypes 0.0.4 → 0.1.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.
package/dist/index.d.cts CHANGED
@@ -1,4 +1,950 @@
1
- declare const one = 1;
2
- declare const two = 2;
1
+ type IName$1 = string;
2
+ type IUint64$1 = number | string;
3
+ interface ICounts$1 extends ICountsBase$1 {
4
+ }
5
+ interface ICountsBase$1 {
6
+ key: IName$1;
7
+ secondary_key: IName$1;
8
+ value: IUint64$1;
9
+ }
10
+ interface ICreatedraft {
11
+ registry_id: IUint64$1;
12
+ lang: IName$1;
13
+ title: string;
14
+ description: string;
15
+ context: string;
16
+ model: string;
17
+ translation_data: string;
18
+ }
19
+ interface ICreatetrans {
20
+ draft_id: IUint64$1;
21
+ lang: IName$1;
22
+ data: string;
23
+ }
24
+ interface IDeldraft {
25
+ draft_id: IUint64$1;
26
+ }
27
+ interface IDeltrans {
28
+ translate_id: IUint64$1;
29
+ }
30
+ interface IDrafts$1 {
31
+ id: IUint64$1;
32
+ registry_id: IUint64$1;
33
+ creator: IName$1;
34
+ actions: IName$1[];
35
+ version: IUint64$1;
36
+ default_translation_id: IUint64$1;
37
+ title: string;
38
+ description: string;
39
+ context: string;
40
+ model: string;
41
+ }
42
+ interface IEdittrans {
43
+ translate_id: IUint64$1;
44
+ data: string;
45
+ }
46
+ interface INewid {
47
+ id: IUint64$1;
48
+ }
49
+ interface ITranslations$1 {
50
+ id: IUint64$1;
51
+ creator: IName$1;
52
+ draft_id: IUint64$1;
53
+ lang: IName$1;
54
+ data: string;
55
+ is_published: boolean;
56
+ is_approved: boolean;
57
+ }
3
58
 
4
- export { one, two };
59
+ type draft_ICreatedraft = ICreatedraft;
60
+ type draft_ICreatetrans = ICreatetrans;
61
+ type draft_IDeldraft = IDeldraft;
62
+ type draft_IDeltrans = IDeltrans;
63
+ type draft_IEdittrans = IEdittrans;
64
+ type draft_INewid = INewid;
65
+ declare namespace draft {
66
+ export type { ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, draft_ICreatedraft as ICreatedraft, draft_ICreatetrans as ICreatetrans, draft_IDeldraft as IDeldraft, draft_IDeltrans as IDeltrans, IDrafts$1 as IDrafts, draft_IEdittrans as IEdittrans, IName$1 as IName, draft_INewid as INewid, ITranslations$1 as ITranslations, IUint64$1 as IUint64 };
67
+ }
68
+
69
+ declare const authorizations$j: readonly [{
70
+ readonly permissions: readonly ["active"];
71
+ readonly actor: {
72
+ /**
73
+ * Имя действия
74
+ */
75
+ readonly production: "eosio";
76
+ readonly testnet: "eosio";
77
+ };
78
+ }];
79
+ /**
80
+ * Имя действия
81
+ */
82
+ declare const actionName$j = "createtrans";
83
+ /**
84
+ * @interface
85
+ */
86
+ type ICreateTranslation = ICreatetrans;
87
+
88
+ type index$y_ICreateTranslation = ICreateTranslation;
89
+ declare namespace index$y {
90
+ export { type index$y_ICreateTranslation as ICreateTranslation, actionName$j as actionName, authorizations$j as authorizations };
91
+ }
92
+
93
+ declare const authorizations$i: readonly [{
94
+ readonly permissions: readonly ["active"];
95
+ readonly actor: {
96
+ /**
97
+ * Имя действия
98
+ */
99
+ readonly production: "eosio";
100
+ readonly testnet: "eosio";
101
+ };
102
+ }];
103
+ /**
104
+ * Имя действия
105
+ */
106
+ declare const actionName$i = "createdraft";
107
+ /**
108
+ * @interface
109
+ */
110
+ type ICreateDraft = ICreatedraft;
111
+
112
+ type index$x_ICreateDraft = ICreateDraft;
113
+ declare namespace index$x {
114
+ export { type index$x_ICreateDraft as ICreateDraft, actionName$i as actionName, authorizations$i as authorizations };
115
+ }
116
+
117
+ declare const authorizations$h: readonly [{
118
+ readonly permissions: readonly ["active"];
119
+ readonly actor: {
120
+ /**
121
+ * Имя действия
122
+ */
123
+ readonly production: "eosio";
124
+ readonly testnet: "eosio";
125
+ };
126
+ }];
127
+ /**
128
+ * Имя действия
129
+ */
130
+ declare const actionName$h = "deldraft";
131
+ /**
132
+ * @interface
133
+ */
134
+ type IDeleteDraft = IDeldraft;
135
+
136
+ type index$w_IDeleteDraft = IDeleteDraft;
137
+ declare namespace index$w {
138
+ export { type index$w_IDeleteDraft as IDeleteDraft, actionName$h as actionName, authorizations$h as authorizations };
139
+ }
140
+
141
+ declare const authorizations$g: readonly [{
142
+ readonly permissions: readonly ["active"];
143
+ readonly actor: {
144
+ /**
145
+ * Имя действия
146
+ */
147
+ readonly production: "eosio";
148
+ readonly testnet: "eosio";
149
+ };
150
+ }];
151
+ /**
152
+ * Имя действия
153
+ */
154
+ declare const actionName$g = "edittrans";
155
+ /**
156
+ * @interface
157
+ */
158
+ type IEditTranslation = IEdittrans;
159
+
160
+ type index$v_IEditTranslation = IEditTranslation;
161
+ declare namespace index$v {
162
+ export { type index$v_IEditTranslation as IEditTranslation, actionName$g as actionName, authorizations$g as authorizations };
163
+ }
164
+
165
+ declare const authorizations$f: readonly [{
166
+ readonly permissions: readonly ["active"];
167
+ readonly actor: {
168
+ readonly production: "draft";
169
+ readonly testnet: "drafttest222";
170
+ };
171
+ }];
172
+ /**
173
+ * Имя действия
174
+ */
175
+ declare const actionName$f = "newid";
176
+ /**
177
+ * @interface
178
+ * Действие вызывается контрактом в процессе исполнения для возврата идентификатора черновика.
179
+ */
180
+ type INewId = INewid;
181
+
182
+ type index$u_INewId = INewId;
183
+ declare namespace index$u {
184
+ export { type index$u_INewId as INewId, actionName$f as actionName, authorizations$f as authorizations };
185
+ }
186
+
187
+ declare namespace index$t {
188
+ export { index$x as createDraft, index$y as createTranslation, index$w as deleteDraft, index$v as editTranslation, index$u as newId };
189
+ }
190
+
191
+ /**
192
+ * Имя таблицы
193
+ */
194
+ declare const tableName$5 = "translations";
195
+ /**
196
+ * Область хранения в памяти
197
+ */
198
+ declare const scope$5 = "_contract";
199
+ /**
200
+ * @interface
201
+ * Таблица содержит переводы черновиков документов.
202
+ */
203
+ type ITranslations = ITranslations$1;
204
+
205
+ type index$s_ITranslations = ITranslations;
206
+ declare namespace index$s {
207
+ export { type index$s_ITranslations as ITranslations, scope$5 as scope, tableName$5 as tableName };
208
+ }
209
+
210
+ /**
211
+ * Имя таблицы
212
+ */
213
+ declare const tableName$4 = "drafts";
214
+ /**
215
+ * Таблица хранится в {@link Actors._contract | области памяти контракта}.
216
+ */
217
+ declare const scope$4 = "_contract";
218
+ /**
219
+ * @interface
220
+ * Таблица содержит переводы черновиков документов.
221
+ */
222
+ type IDrafts = IDrafts$1;
223
+
224
+ type index$r_IDrafts = IDrafts;
225
+ declare namespace index$r {
226
+ export { type index$r_IDrafts as IDrafts, scope$4 as scope, tableName$4 as tableName };
227
+ }
228
+
229
+ declare namespace index$q {
230
+ export { index$s as Drafts, index$r as Translations };
231
+ }
232
+
233
+ declare const contractName$1: {
234
+ readonly production: "draft";
235
+ readonly testnet: "drafttest222";
236
+ };
237
+
238
+ declare namespace index$p {
239
+ export { index$t as Actions, draft as Interfaces, index$q as Tables, contractName$1 as contractName };
240
+ }
241
+
242
+ type IAsset = string;
243
+ type IName = string;
244
+ type ITimePointSec = string;
245
+ type IUint64 = number | string;
246
+ interface IAccfunds {
247
+ id: IUint64;
248
+ coopname: IName;
249
+ contract: IName;
250
+ name: string;
251
+ description: string;
252
+ percent: IUint64;
253
+ available: IAsset;
254
+ withdrawed: IAsset;
255
+ }
256
+ interface IAddaccum {
257
+ coopname: IName;
258
+ fund_id: IUint64;
259
+ quantity: IAsset;
260
+ }
261
+ interface IAddcirculate {
262
+ coopname: IName;
263
+ quantity: IAsset;
264
+ }
265
+ interface IAddexpense {
266
+ coopname: IName;
267
+ fund_id: IUint64;
268
+ quantity: IAsset;
269
+ }
270
+ interface IAuthorize$1 {
271
+ coopname: IName;
272
+ type: IName;
273
+ withdraw_id: IUint64;
274
+ }
275
+ interface IComplete {
276
+ coopname: IName;
277
+ username: IName;
278
+ withdraw_id: IUint64;
279
+ }
280
+ interface ICounts extends ICountsBase {
281
+ }
282
+ interface ICountsBase {
283
+ key: IName;
284
+ secondary_key: IName;
285
+ value: IUint64;
286
+ }
287
+ interface ICreatefund {
288
+ coopname: IName;
289
+ username: IName;
290
+ type: IName;
291
+ contract: IName;
292
+ name: string;
293
+ description: string;
294
+ percent: IUint64;
295
+ }
296
+ interface IDelfund {
297
+ coopname: IName;
298
+ username: IName;
299
+ type: IName;
300
+ fund_id: IUint64;
301
+ }
302
+ interface IDocument {
303
+ hash: string;
304
+ pkey: string;
305
+ sign: string;
306
+ meta: string;
307
+ }
308
+ interface IEditfund {
309
+ coopname: IName;
310
+ username: IName;
311
+ type: IName;
312
+ fund_id: IUint64;
313
+ contract: IName;
314
+ name: string;
315
+ description: string;
316
+ percent: IUint64;
317
+ }
318
+ interface IExpfunds {
319
+ id: IUint64;
320
+ coopname: IName;
321
+ contract: IName;
322
+ name: string;
323
+ description: string;
324
+ expended: IAsset;
325
+ }
326
+ interface IFundwallet {
327
+ id: IUint64;
328
+ coopname: IName;
329
+ circulating: IAsset;
330
+ membership: IAsset;
331
+ accumulated: IAsset;
332
+ withdrawed: IAsset;
333
+ available: IAsset;
334
+ expended: IAsset;
335
+ }
336
+ interface IFundwithdraw {
337
+ coopname: IName;
338
+ username: IName;
339
+ type: IName;
340
+ fund_id: IUint64;
341
+ document: IDocument;
342
+ quantity: IAsset;
343
+ bank_data_id: string;
344
+ }
345
+ interface IFwithdraws {
346
+ id: IUint64;
347
+ coopname: IName;
348
+ username: IName;
349
+ status: IName;
350
+ type: IName;
351
+ fund_id: IUint64;
352
+ quantity: IAsset;
353
+ document: IDocument;
354
+ bank_data_id: string;
355
+ expired_at: ITimePointSec;
356
+ }
357
+ interface IInit$1 {
358
+ coopname: IName;
359
+ initial: IAsset;
360
+ }
361
+ interface INewfund$1 {
362
+ coopname: IName;
363
+ type: IName;
364
+ id: IUint64;
365
+ }
366
+ interface INewwithdraw {
367
+ coopname: IName;
368
+ type: IName;
369
+ id: IUint64;
370
+ }
371
+ interface ISpreadamount {
372
+ coopname: IName;
373
+ quantity: IAsset;
374
+ }
375
+ interface ISubaccum {
376
+ coopname: IName;
377
+ fund_id: IUint64;
378
+ quantity: IAsset;
379
+ }
380
+ interface ISubcirculate {
381
+ coopname: IName;
382
+ quantity: IAsset;
383
+ }
384
+
385
+ type fund_IAccfunds = IAccfunds;
386
+ type fund_IAddaccum = IAddaccum;
387
+ type fund_IAddcirculate = IAddcirculate;
388
+ type fund_IAddexpense = IAddexpense;
389
+ type fund_IAsset = IAsset;
390
+ type fund_IComplete = IComplete;
391
+ type fund_ICounts = ICounts;
392
+ type fund_ICountsBase = ICountsBase;
393
+ type fund_ICreatefund = ICreatefund;
394
+ type fund_IDelfund = IDelfund;
395
+ type fund_IDocument = IDocument;
396
+ type fund_IEditfund = IEditfund;
397
+ type fund_IExpfunds = IExpfunds;
398
+ type fund_IFundwallet = IFundwallet;
399
+ type fund_IFundwithdraw = IFundwithdraw;
400
+ type fund_IFwithdraws = IFwithdraws;
401
+ type fund_IName = IName;
402
+ type fund_INewwithdraw = INewwithdraw;
403
+ type fund_ISpreadamount = ISpreadamount;
404
+ type fund_ISubaccum = ISubaccum;
405
+ type fund_ISubcirculate = ISubcirculate;
406
+ type fund_ITimePointSec = ITimePointSec;
407
+ type fund_IUint64 = IUint64;
408
+ declare namespace fund {
409
+ export type { fund_IAccfunds as IAccfunds, fund_IAddaccum as IAddaccum, fund_IAddcirculate as IAddcirculate, fund_IAddexpense as IAddexpense, fund_IAsset as IAsset, IAuthorize$1 as IAuthorize, fund_IComplete as IComplete, fund_ICounts as ICounts, fund_ICountsBase as ICountsBase, fund_ICreatefund as ICreatefund, fund_IDelfund as IDelfund, fund_IDocument as IDocument, fund_IEditfund as IEditfund, fund_IExpfunds as IExpfunds, fund_IFundwallet as IFundwallet, fund_IFundwithdraw as IFundwithdraw, fund_IFwithdraws as IFwithdraws, IInit$1 as IInit, fund_IName as IName, INewfund$1 as INewfund, fund_INewwithdraw as INewwithdraw, fund_ISpreadamount as ISpreadamount, fund_ISubaccum as ISubaccum, fund_ISubcirculate as ISubcirculate, fund_ITimePointSec as ITimePointSec, fund_IUint64 as IUint64 };
410
+ }
411
+
412
+ declare const authorizations$e: readonly [{
413
+ readonly permissions: readonly ["active"];
414
+ readonly actor: {
415
+ readonly production: "fund";
416
+ readonly testnet: "fundtest2222";
417
+ };
418
+ }];
419
+ /**
420
+ * Имя действия
421
+ */
422
+ declare const actionName$e = "addaccum";
423
+ /**
424
+ * @interface
425
+ */
426
+ type IAddAccumulation = IAddaccum;
427
+
428
+ type index$o_IAddAccumulation = IAddAccumulation;
429
+ declare namespace index$o {
430
+ export { type index$o_IAddAccumulation as IAddAccumulation, actionName$e as actionName, authorizations$e as authorizations };
431
+ }
432
+
433
+ declare const authorizations$d: readonly [{
434
+ readonly permissions: readonly ["active"];
435
+ readonly actor: {
436
+ readonly production: "fund";
437
+ readonly testnet: "fundtest2222";
438
+ };
439
+ }];
440
+ /**
441
+ * Имя действия
442
+ */
443
+ declare const actionName$d = "subaccum";
444
+ /**
445
+ * @interface
446
+ */
447
+ type ISubAccumulation = ISubaccum;
448
+
449
+ type index$n_ISubAccumulation = ISubAccumulation;
450
+ declare namespace index$n {
451
+ export { type index$n_ISubAccumulation as ISubAccumulation, actionName$d as actionName, authorizations$d as authorizations };
452
+ }
453
+
454
+ declare const authorizations$c: readonly [{
455
+ readonly permissions: readonly ["active"];
456
+ readonly actor: {
457
+ readonly production: "gateway";
458
+ readonly testnet: "gateway2222";
459
+ };
460
+ }];
461
+ /**
462
+ * Имя действия
463
+ */
464
+ declare const actionName$c = "addcirculate";
465
+ /**
466
+ * @interface
467
+ */
468
+ type IAddCirculation = IAddcirculate;
469
+
470
+ type index$m_IAddCirculation = IAddCirculation;
471
+ declare namespace index$m {
472
+ export { type index$m_IAddCirculation as IAddCirculation, actionName$c as actionName, authorizations$c as authorizations };
473
+ }
474
+
475
+ declare const authorizations$b: readonly [{
476
+ readonly permissions: readonly ["active"];
477
+ readonly actor: {
478
+ readonly production: "fund";
479
+ readonly testnet: "fundtest2222";
480
+ };
481
+ }];
482
+ /**
483
+ * Имя действия
484
+ */
485
+ declare const actionName$b = "addexpense";
486
+ /**
487
+ * @interface
488
+ */
489
+ type IAddExpence = IAddexpense;
490
+
491
+ type index$l_IAddExpence = IAddExpence;
492
+ declare namespace index$l {
493
+ export { type index$l_IAddExpence as IAddExpence, actionName$b as actionName, authorizations$b as authorizations };
494
+ }
495
+
496
+ declare const authorizations$a: readonly [{
497
+ readonly permissions: readonly ["active"];
498
+ readonly actor: {
499
+ readonly production: "soviet";
500
+ readonly testnet: "soviettest22";
501
+ };
502
+ }];
503
+ /**
504
+ * Имя действия
505
+ */
506
+ declare const actionName$a = "authorize";
507
+ /**
508
+ * @interface
509
+ */
510
+ type IAuthorize = IAuthorize$1;
511
+
512
+ type index$k_IAuthorize = IAuthorize;
513
+ declare namespace index$k {
514
+ export { type index$k_IAuthorize as IAuthorize, actionName$a as actionName, authorizations$a as authorizations };
515
+ }
516
+
517
+ declare const authorizations$9: readonly [{
518
+ readonly permissions: readonly ["active", {
519
+ readonly contract: "_contract";
520
+ readonly action: "actionName";
521
+ }];
522
+ readonly actor: "_admin";
523
+ }];
524
+ /**
525
+ * Имя действия
526
+ */
527
+ declare const actionName$9 = "complete";
528
+ /**
529
+ * @interface
530
+ */
531
+ type ICompleteWithdraw = IComplete;
532
+
533
+ type index$j_ICompleteWithdraw = ICompleteWithdraw;
534
+ declare namespace index$j {
535
+ export { type index$j_ICompleteWithdraw as ICompleteWithdraw, actionName$9 as actionName, authorizations$9 as authorizations };
536
+ }
537
+
538
+ declare const authorizations$8: readonly [{
539
+ readonly permissions: readonly ["active"];
540
+ readonly actor: {
541
+ readonly production: "fund";
542
+ readonly testnet: "fundtest2222";
543
+ };
544
+ }];
545
+ /**
546
+ * Имя действия
547
+ */
548
+ declare const actionName$8 = "newfund";
549
+ /**
550
+ * @interface
551
+ */
552
+ type INewfund = INewfund$1;
553
+
554
+ type index$i_INewfund = INewfund;
555
+ declare namespace index$i {
556
+ export { type index$i_INewfund as INewfund, actionName$8 as actionName, authorizations$8 as authorizations };
557
+ }
558
+
559
+ declare const authorizations$7: readonly [{
560
+ readonly permissions: readonly ["active"];
561
+ readonly actor: "_chairman";
562
+ }];
563
+ /**
564
+ * Имя действия
565
+ */
566
+ declare const actionName$7 = "createfund";
567
+ /**
568
+ * @interface
569
+ */
570
+ type ICreateFund = ICreatefund;
571
+
572
+ type index$h_ICreateFund = ICreateFund;
573
+ declare namespace index$h {
574
+ export { type index$h_ICreateFund as ICreateFund, actionName$7 as actionName, authorizations$7 as authorizations };
575
+ }
576
+
577
+ declare const authorizations$6: readonly [{
578
+ readonly permissions: readonly ["active"];
579
+ readonly actor: "_chairman";
580
+ }];
581
+ /**
582
+ * Имя действия
583
+ */
584
+ declare const actionName$6 = "delfund";
585
+ /**
586
+ * @interface
587
+ */
588
+ type IDeleteFund = IDelfund;
589
+
590
+ type index$g_IDeleteFund = IDeleteFund;
591
+ declare namespace index$g {
592
+ export { type index$g_IDeleteFund as IDeleteFund, actionName$6 as actionName, authorizations$6 as authorizations };
593
+ }
594
+
595
+ declare const authorizations$5: readonly [{
596
+ readonly permissions: readonly ["active"];
597
+ readonly actor: "_chairman";
598
+ }];
599
+ /**
600
+ * Имя действия
601
+ */
602
+ declare const actionName$5 = "editfund";
603
+ /**
604
+ * @interface
605
+ */
606
+ type IEditFund = IEditfund;
607
+
608
+ type index$f_IEditFund = IEditFund;
609
+ declare namespace index$f {
610
+ export { type index$f_IEditFund as IEditFund, actionName$5 as actionName, authorizations$5 as authorizations };
611
+ }
612
+
613
+ /**
614
+ * Требуется авторизация {@link Actors._username | аккаунта пользователя} для возврата паевого взноса,
615
+ * авторизация {@link Actors._admin | аккаунта администратора} со специальной доверенностью совета
616
+ * на совершение действия или авторизация любого {@link Actors._contract | контракта},
617
+ * которому было передано управление фондом накопления или списания.
618
+ */
619
+ declare const authorizations$4: readonly [{
620
+ readonly permissions: readonly ["active"];
621
+ readonly actor: "_username";
622
+ }, {
623
+ readonly permissions: readonly ["active", {
624
+ readonly contract: "_contract";
625
+ readonly action: "actionName";
626
+ }];
627
+ readonly actor: "_admin";
628
+ }, {
629
+ readonly permissions: readonly ["active"];
630
+ readonly actor: "_contract";
631
+ }];
632
+ /**
633
+ * Имя действия
634
+ */
635
+ declare const actionName$4 = "fundwithdraw";
636
+ /**
637
+ * @interface
638
+ */
639
+ type ICreateWithdraw = IFundwithdraw;
640
+
641
+ type index$e_ICreateWithdraw = ICreateWithdraw;
642
+ declare namespace index$e {
643
+ export { type index$e_ICreateWithdraw as ICreateWithdraw, actionName$4 as actionName, authorizations$4 as authorizations };
644
+ }
645
+
646
+ declare const authorizations$3: readonly [{
647
+ readonly permissions: readonly ["active"];
648
+ readonly actor: {
649
+ readonly production: "soviet";
650
+ readonly testnet: "soviettest22";
651
+ };
652
+ }];
653
+ /**
654
+ * Имя действия
655
+ */
656
+ declare const actionName$3 = "init";
657
+ /**
658
+ * @interface
659
+ */
660
+ type IInit = IInit$1;
661
+
662
+ type index$d_IInit = IInit;
663
+ declare namespace index$d {
664
+ export { type index$d_IInit as IInit, actionName$3 as actionName, authorizations$3 as authorizations };
665
+ }
666
+
667
+ declare const authorizations$2: readonly [{
668
+ readonly permissions: readonly ["active"];
669
+ readonly actor: {
670
+ readonly production: "fund";
671
+ readonly testnet: "fundtest2222";
672
+ };
673
+ }];
674
+ /**
675
+ * Имя действия
676
+ */
677
+ declare const actionName$2 = "newwithdraw";
678
+ /**
679
+ * @interface
680
+ */
681
+ type INewWithdraw = INewwithdraw;
682
+
683
+ type index$c_INewWithdraw = INewWithdraw;
684
+ declare namespace index$c {
685
+ export { type index$c_INewWithdraw as INewWithdraw, actionName$2 as actionName, authorizations$2 as authorizations };
686
+ }
687
+
688
+ declare const authorizations$1: readonly [{
689
+ readonly permissions: readonly ["active"];
690
+ readonly actor: {
691
+ readonly production: "marketplace";
692
+ readonly testnet: "markettest22";
693
+ };
694
+ }, {
695
+ readonly permissions: readonly ["active"];
696
+ readonly actor: {
697
+ readonly production: "gateway";
698
+ readonly testnet: "gateway2222";
699
+ };
700
+ }];
701
+ /**
702
+ * Имя действия
703
+ */
704
+ declare const actionName$1 = "spreadamount";
705
+ /**
706
+ * @interface
707
+ */
708
+ type ISpreadAmount = ISpreadamount;
709
+
710
+ type index$b_ISpreadAmount = ISpreadAmount;
711
+ declare namespace index$b {
712
+ export { type index$b_ISpreadAmount as ISpreadAmount, actionName$1 as actionName, authorizations$1 as authorizations };
713
+ }
714
+
715
+ declare const authorizations: readonly [{
716
+ readonly permissions: readonly ["active"];
717
+ readonly actor: {
718
+ readonly production: "gateway";
719
+ readonly testnet: "gateway2222";
720
+ };
721
+ }];
722
+ /**
723
+ * Имя действия
724
+ */
725
+ declare const actionName = "subcirculate";
726
+ /**
727
+ * @interface
728
+ */
729
+ type ISubCirculation = ISubcirculate;
730
+
731
+ type index$a_ISubCirculation = ISubCirculation;
732
+ declare const index$a_actionName: typeof actionName;
733
+ declare const index$a_authorizations: typeof authorizations;
734
+ declare namespace index$a {
735
+ export { type index$a_ISubCirculation as ISubCirculation, index$a_actionName as actionName, index$a_authorizations as authorizations };
736
+ }
737
+
738
+ /**
739
+ * @private
740
+ * Вызывается контрактом автоматически по ходу выполнения логики для прозрачного добавления фонда накопления.
741
+ */
742
+
743
+ declare namespace index$9 {
744
+ export { index$o as addAccumulation, index$m as addCirculation, index$l as addExpence, index$k as authorizeWithdraw, index$j as completeWithdraw, index$h as createFund, index$e as createWithdraw, index$g as deleteFund, index$f as editFund, index$d as init, index$i as newFund, index$c as newWithdraw, index$b as spreadAmount, index$n as subAccumulation, index$a as subCirculation };
745
+ }
746
+
747
+ /**
748
+ * Имя таблицы
749
+ */
750
+ declare const tableName$3 = "accfunds";
751
+ /**
752
+ * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
753
+ */
754
+ declare const scope$3: {
755
+ readonly production: "fund";
756
+ readonly testnet: "fundtest2222";
757
+ };
758
+ /**
759
+ * @interface
760
+ * Таблица содержит переводы черновиков документов.
761
+ */
762
+ type IAccumulatedFunds = IAccfunds;
763
+
764
+ type index$8_IAccumulatedFunds = IAccumulatedFunds;
765
+ declare namespace index$8 {
766
+ export { type index$8_IAccumulatedFunds as IAccumulatedFunds, scope$3 as scope, tableName$3 as tableName };
767
+ }
768
+
769
+ /**
770
+ * Имя таблицы
771
+ */
772
+ declare const tableName$2 = "expfunds";
773
+ /**
774
+ * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
775
+ */
776
+ declare const scope$2: {
777
+ readonly production: "fund";
778
+ readonly testnet: "fundtest2222";
779
+ };
780
+ /**
781
+ * @interface
782
+ */
783
+ type IExpensedFunds = IExpfunds;
784
+
785
+ type index$7_IExpensedFunds = IExpensedFunds;
786
+ declare namespace index$7 {
787
+ export { type index$7_IExpensedFunds as IExpensedFunds, scope$2 as scope, tableName$2 as tableName };
788
+ }
789
+
790
+ /**
791
+ * Имя таблицы
792
+ */
793
+ declare const tableName$1 = "fundwallet";
794
+ /**
795
+ * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
796
+ */
797
+ declare const scope$1: {
798
+ readonly production: "fund";
799
+ readonly testnet: "fundtest2222";
800
+ };
801
+ /**
802
+ * @interface
803
+ */
804
+ type IFundWallet = IFundwallet;
805
+
806
+ type index$6_IFundWallet = IFundWallet;
807
+ declare namespace index$6 {
808
+ export { type index$6_IFundWallet as IFundWallet, scope$1 as scope, tableName$1 as tableName };
809
+ }
810
+
811
+ /**
812
+ * Имя таблицы
813
+ */
814
+ declare const tableName = "fwithdraws";
815
+ /**
816
+ * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
817
+ */
818
+ declare const scope: {
819
+ readonly production: "fund";
820
+ readonly testnet: "fundtest2222";
821
+ };
822
+ /**
823
+ * @interface
824
+ */
825
+ type IFundWithdraws = IFwithdraws;
826
+
827
+ type index$5_IFundWithdraws = IFundWithdraws;
828
+ declare const index$5_scope: typeof scope;
829
+ declare const index$5_tableName: typeof tableName;
830
+ declare namespace index$5 {
831
+ export { type index$5_IFundWithdraws as IFundWithdraws, index$5_scope as scope, index$5_tableName as tableName };
832
+ }
833
+
834
+ /**
835
+ * Таблица содержит информацию о фондах накопления и их балансах.
836
+ *
837
+ */
838
+
839
+ declare namespace index$4 {
840
+ export { index$8 as AccumulatedFunds, index$7 as ExpensedFunds, index$6 as FundWallet, index$5 as FundWithdraws };
841
+ }
842
+
843
+ declare const contractName: {
844
+ readonly production: "fund";
845
+ readonly testnet: "fundtest2222";
846
+ };
847
+
848
+ declare const index$3_contractName: typeof contractName;
849
+ declare namespace index$3 {
850
+ export { index$9 as Actions, fund as Interfaces, index$4 as Tables, index$3_contractName as contractName };
851
+ }
852
+
853
+ /**
854
+ * Обобщенное имя аккаунта пользователя, которое должно быть заменено на реальное.
855
+ */
856
+ declare const _username = "_username";
857
+ /**
858
+ * Обобщенное имя аккаунта кооператива, которое должно быть заменено на реальное.
859
+ */
860
+ declare const _coopname = "_coopname";
861
+ /**
862
+ * Обобщенное имя аккаунта председателя кооператива, которое должно быть заменено на реальное.
863
+ */
864
+ declare const _chairman = "_chairman";
865
+ /**
866
+ * Обобщенное имя аккаунта администратора кооператива, которое должно быть заменено на реальное.
867
+ */
868
+ declare const _admin = "_admin";
869
+ /**
870
+ * Обобщенное имя аккаунта контракта, которое должно быть заменено на реальное.
871
+ */
872
+ declare const _contract = "_contract";
873
+ /**
874
+ * Системное имя коллективного аккаунта делегатов. Обычно это аккаунт "eosio".
875
+ */
876
+ declare const _system$1 = "_system";
877
+
878
+ declare const index$2__admin: typeof _admin;
879
+ declare const index$2__chairman: typeof _chairman;
880
+ declare const index$2__contract: typeof _contract;
881
+ declare const index$2__coopname: typeof _coopname;
882
+ declare const index$2__username: typeof _username;
883
+ declare namespace index$2 {
884
+ export { index$2__admin as _admin, index$2__chairman as _chairman, index$2__contract as _contract, index$2__coopname as _coopname, _system$1 as _system, index$2__username as _username };
885
+ }
886
+
887
+ declare const _draft: {
888
+ readonly production: "draft";
889
+ readonly testnet: "drafttest222";
890
+ };
891
+ declare const _fund: {
892
+ readonly production: "fund";
893
+ readonly testnet: "fundtest2222";
894
+ };
895
+ declare const _gateway: {
896
+ readonly production: "gateway";
897
+ readonly testnet: "gateway2222";
898
+ };
899
+ declare const _system: {
900
+ readonly production: "eosio";
901
+ readonly testnet: "eosio";
902
+ };
903
+ declare const _soviet: {
904
+ readonly production: "soviet";
905
+ readonly testnet: "soviettest22";
906
+ };
907
+ declare const _marketplace: {
908
+ readonly production: "marketplace";
909
+ readonly testnet: "markettest22";
910
+ };
911
+
912
+ declare const index$1__draft: typeof _draft;
913
+ declare const index$1__fund: typeof _fund;
914
+ declare const index$1__gateway: typeof _gateway;
915
+ declare const index$1__marketplace: typeof _marketplace;
916
+ declare const index$1__soviet: typeof _soviet;
917
+ declare const index$1__system: typeof _system;
918
+ declare namespace index$1 {
919
+ export { index$1__draft as _draft, index$1__fund as _fund, index$1__gateway as _gateway, index$1__marketplace as _marketplace, index$1__soviet as _soviet, index$1__system as _system };
920
+ }
921
+
922
+ /**
923
+ * Активные разрешения прав доступа аккаунта для выполнения действий.
924
+ */
925
+ declare const active = "active";
926
+ /**
927
+ * Разрешения прав доступа владельца аккаунта для замены активных разрешений.
928
+ */
929
+ declare const owner = "owner";
930
+ /**
931
+ * Специальные разрешения прав доступа, которые выдаются советом кооператива аккаунту администратора с указанием контракта и имени действия, которые ему становятся доступны в кооперативе.
932
+ */
933
+ declare const special: {
934
+ readonly contract: "_contract";
935
+ readonly action: "actionName";
936
+ };
937
+ interface Authorization {
938
+ permissions: (typeof active | typeof owner | typeof special)[];
939
+ actor: typeof _username | typeof _coopname | typeof _chairman | typeof _admin | typeof _contract | typeof _system$1;
940
+ }
941
+
942
+ type index_Authorization = Authorization;
943
+ declare const index_active: typeof active;
944
+ declare const index_owner: typeof owner;
945
+ declare const index_special: typeof special;
946
+ declare namespace index {
947
+ export { type index_Authorization as Authorization, index_active as active, index_owner as owner, index_special as special };
948
+ }
949
+
950
+ export { index$2 as Actors, index$1 as ContractNames, index$p as DraftContract, index$3 as FundContract, index as Permissions };