cooptypes 0.1.0 → 0.3.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.
package/dist/index.mjs CHANGED
@@ -1,3 +1,22 @@
1
+ const _username = "_username";
2
+ const _coopname = "_coopname";
3
+ const _chairman = "_chairman";
4
+ const _member = "_member";
5
+ const _admin = "_admin";
6
+ const _contract = "_contract";
7
+ const _system$1 = "_system";
8
+
9
+ const index$r = {
10
+ __proto__: null,
11
+ _admin: _admin,
12
+ _chairman: _chairman,
13
+ _contract: _contract,
14
+ _coopname: _coopname,
15
+ _member: _member,
16
+ _system: _system$1,
17
+ _username: _username
18
+ };
19
+
1
20
  const _draft = {
2
21
  production: "draft",
3
22
  testnet: "drafttest222"
@@ -10,7 +29,7 @@ const _gateway = {
10
29
  production: "gateway",
11
30
  testnet: "gateway2222"
12
31
  };
13
- const _system$1 = {
32
+ const _system = {
14
33
  production: "eosio",
15
34
  testnet: "eosio"
16
35
  };
@@ -22,15 +41,25 @@ const _marketplace = {
22
41
  production: "marketplace",
23
42
  testnet: "markettest22"
24
43
  };
44
+ const _registrator = {
45
+ production: "registrator",
46
+ testnet: "regtest22222"
47
+ };
48
+ const _token = {
49
+ production: "eosio.token",
50
+ testnet: "eosio.token"
51
+ };
25
52
 
26
- const index$y = {
53
+ const index$q = {
27
54
  __proto__: null,
28
55
  _draft: _draft,
29
56
  _fund: _fund,
30
57
  _gateway: _gateway,
31
58
  _marketplace: _marketplace,
59
+ _registrator: _registrator,
32
60
  _soviet: _soviet,
33
- _system: _system$1
61
+ _system: _system,
62
+ _token: _token
34
63
  };
35
64
 
36
65
  const active = "active";
@@ -40,311 +69,1185 @@ const special = {
40
69
  action: "actionName"
41
70
  };
42
71
 
43
- const index$x = {
72
+ const index$p = {
44
73
  __proto__: null,
45
74
  active: active,
46
75
  owner: owner,
47
76
  special: special
48
77
  };
49
78
 
50
- const authorizations$j = [{ permissions: [active], actor: _system$1 }];
51
- const actionName$j = "createtrans";
79
+ const index$o = {
80
+ __proto__: null,
81
+ Actors: index$r,
82
+ ContractNames: index$q,
83
+ Permissions: index$p
84
+ };
85
+
86
+ const authorizations$18 = [{ permissions: [active], actor: _system }];
87
+ const actionName$18 = "createtrans";
52
88
 
53
- const index$w = {
89
+ const createTranslation = {
54
90
  __proto__: null,
55
- actionName: actionName$j,
56
- authorizations: authorizations$j
91
+ actionName: actionName$18,
92
+ authorizations: authorizations$18
57
93
  };
58
94
 
59
- const authorizations$i = [{ permissions: [active], actor: _system$1 }];
60
- const actionName$i = "createdraft";
95
+ const authorizations$17 = [{ permissions: [active], actor: _system }];
96
+ const actionName$17 = "createdraft";
61
97
 
62
- const index$v = {
98
+ const createDraft = {
63
99
  __proto__: null,
64
- actionName: actionName$i,
65
- authorizations: authorizations$i
100
+ actionName: actionName$17,
101
+ authorizations: authorizations$17
66
102
  };
67
103
 
68
- const authorizations$h = [{ permissions: [active], actor: _system$1 }];
69
- const actionName$h = "deldraft";
104
+ const authorizations$16 = [{ permissions: [active], actor: _system }];
105
+ const actionName$16 = "deldraft";
70
106
 
71
- const index$u = {
107
+ const deleteDraft = {
72
108
  __proto__: null,
73
- actionName: actionName$h,
74
- authorizations: authorizations$h
109
+ actionName: actionName$16,
110
+ authorizations: authorizations$16
75
111
  };
76
112
 
77
- const authorizations$g = [{ permissions: [active], actor: _system$1 }];
78
- const actionName$g = "edittrans";
113
+ const authorizations$15 = [{ permissions: [active], actor: _system }];
114
+ const actionName$15 = "edittrans";
79
115
 
80
- const index$t = {
116
+ const editTranslation = {
81
117
  __proto__: null,
82
- actionName: actionName$g,
83
- authorizations: authorizations$g
118
+ actionName: actionName$15,
119
+ authorizations: authorizations$15
84
120
  };
85
121
 
86
- const authorizations$f = [{ permissions: [active], actor: _draft }];
87
- const actionName$f = "newid";
122
+ const authorizations$14 = [{ permissions: [active], actor: _draft }];
123
+ const actionName$14 = "newid";
88
124
 
89
- const index$s = {
125
+ const newId = {
90
126
  __proto__: null,
91
- actionName: actionName$f,
92
- authorizations: authorizations$f
127
+ actionName: actionName$14,
128
+ authorizations: authorizations$14
93
129
  };
94
130
 
95
- const index$r = {
131
+ const index$n = {
96
132
  __proto__: null,
97
- createDraft: index$v,
98
- createTranslation: index$w,
99
- deleteDraft: index$u,
100
- editTranslation: index$t,
101
- newId: index$s
133
+ createDraft: createDraft,
134
+ createTranslation: createTranslation,
135
+ deleteDraft: deleteDraft,
136
+ editTranslation: editTranslation,
137
+ newId: newId
102
138
  };
103
139
 
104
- const _username = "_username";
105
- const _coopname = "_coopname";
106
- const _chairman = "_chairman";
107
- const _admin = "_admin";
108
- const _contract = "_contract";
109
- const _system = "_system";
140
+ const tableName$o = "drafts";
141
+ const scope$o = _contract;
110
142
 
111
- const index$q = {
143
+ const drafts = {
112
144
  __proto__: null,
113
- _admin: _admin,
114
- _chairman: _chairman,
115
- _contract: _contract,
116
- _coopname: _coopname,
117
- _system: _system,
118
- _username: _username
145
+ scope: scope$o,
146
+ tableName: tableName$o
119
147
  };
120
148
 
121
- const tableName$5 = "translations";
122
- const scope$5 = _contract;
149
+ const tableName$n = "translations";
150
+ const scope$n = _contract;
123
151
 
124
- const index$p = {
152
+ const translations = {
125
153
  __proto__: null,
126
- scope: scope$5,
127
- tableName: tableName$5
154
+ scope: scope$n,
155
+ tableName: tableName$n
128
156
  };
129
157
 
130
- const tableName$4 = "drafts";
131
- const scope$4 = _contract;
158
+ const index$m = {
159
+ __proto__: null,
160
+ Drafts: drafts,
161
+ Translations: translations
162
+ };
132
163
 
133
- const index$o = {
164
+ const draft$1 = {
165
+ __proto__: null
166
+ };
167
+
168
+ const contractName$5 = _draft;
169
+
170
+ const index$l = {
134
171
  __proto__: null,
135
- scope: scope$4,
136
- tableName: tableName$4
172
+ Actions: index$n,
173
+ Interfaces: draft$1,
174
+ Tables: index$m,
175
+ contractName: contractName$5
137
176
  };
138
177
 
139
- const index$n = {
178
+ const authorizations$13 = [{ permissions: [active], actor: _fund }];
179
+ const actionName$13 = "addaccum";
180
+
181
+ const addAccumulation = {
140
182
  __proto__: null,
141
- Drafts: index$p,
142
- Translations: index$o
183
+ actionName: actionName$13,
184
+ authorizations: authorizations$13
143
185
  };
144
186
 
145
- const draft = {
187
+ const authorizations$12 = [{ permissions: [active], actor: _fund }];
188
+ const actionName$12 = "subaccum";
189
+
190
+ const subAccumulation = {
191
+ __proto__: null,
192
+ actionName: actionName$12,
193
+ authorizations: authorizations$12
194
+ };
195
+
196
+ const authorizations$11 = [{ permissions: [active], actor: _gateway }];
197
+ const actionName$11 = "addcirculate";
198
+
199
+ const addCirculation = {
200
+ __proto__: null,
201
+ actionName: actionName$11,
202
+ authorizations: authorizations$11
203
+ };
204
+
205
+ const authorizations$10 = [{ permissions: [active], actor: _fund }];
206
+ const actionName$10 = "addexpense";
207
+
208
+ const addExpense = {
209
+ __proto__: null,
210
+ actionName: actionName$10,
211
+ authorizations: authorizations$10
212
+ };
213
+
214
+ const authorizations$$ = [{ permissions: [active], actor: _soviet }];
215
+ const actionName$$ = "authorize";
216
+
217
+ const authorizeWithdraw = {
218
+ __proto__: null,
219
+ actionName: actionName$$,
220
+ authorizations: authorizations$$
221
+ };
222
+
223
+ const authorizations$_ = [{ permissions: [active, special], actor: _admin }];
224
+ const actionName$_ = "complete";
225
+
226
+ const completeWithdraw$1 = {
227
+ __proto__: null,
228
+ actionName: actionName$_,
229
+ authorizations: authorizations$_
230
+ };
231
+
232
+ const authorizations$Z = [{ permissions: [active], actor: _fund }];
233
+ const actionName$Z = "newfund";
234
+
235
+ const newFund = {
236
+ __proto__: null,
237
+ actionName: actionName$Z,
238
+ authorizations: authorizations$Z
239
+ };
240
+
241
+ const authorizations$Y = [{ permissions: [active], actor: _chairman }];
242
+ const actionName$Y = "createfund";
243
+
244
+ const createFund = {
245
+ __proto__: null,
246
+ actionName: actionName$Y,
247
+ authorizations: authorizations$Y
248
+ };
249
+
250
+ const authorizations$X = [{ permissions: [active], actor: _chairman }];
251
+ const actionName$X = "delfund";
252
+
253
+ const deleteFund = {
254
+ __proto__: null,
255
+ actionName: actionName$X,
256
+ authorizations: authorizations$X
257
+ };
258
+
259
+ const authorizations$W = [{ permissions: [active], actor: _chairman }];
260
+ const actionName$W = "editfund";
261
+
262
+ const editFund = {
263
+ __proto__: null,
264
+ actionName: actionName$W,
265
+ authorizations: authorizations$W
266
+ };
267
+
268
+ const authorizations$V = [
269
+ { permissions: [active], actor: _username },
270
+ { permissions: [active, special], actor: _admin },
271
+ { permissions: [active], actor: _contract }
272
+ ];
273
+ const actionName$V = "fundwithdraw";
274
+
275
+ const createWithdraw$1 = {
276
+ __proto__: null,
277
+ actionName: actionName$V,
278
+ authorizations: authorizations$V
279
+ };
280
+
281
+ const authorizations$U = [{ permissions: [active], actor: _soviet }];
282
+ const actionName$U = "init";
283
+
284
+ const init = {
285
+ __proto__: null,
286
+ actionName: actionName$U,
287
+ authorizations: authorizations$U
288
+ };
289
+
290
+ const authorizations$T = [{ permissions: [active], actor: _fund }];
291
+ const actionName$T = "newwithdraw";
292
+
293
+ const newWithdraw = {
294
+ __proto__: null,
295
+ actionName: actionName$T,
296
+ authorizations: authorizations$T
297
+ };
298
+
299
+ const authorizations$S = [{ permissions: [active], actor: _marketplace }, { permissions: [active], actor: _gateway }];
300
+ const actionName$S = "spreadamount";
301
+
302
+ const spreadAmount = {
303
+ __proto__: null,
304
+ actionName: actionName$S,
305
+ authorizations: authorizations$S
306
+ };
307
+
308
+ const authorizations$R = [{ permissions: [active], actor: _gateway }];
309
+ const actionName$R = "subcirculate";
310
+
311
+ const subCirculation = {
312
+ __proto__: null,
313
+ actionName: actionName$R,
314
+ authorizations: authorizations$R
315
+ };
316
+
317
+ const index$k = {
318
+ __proto__: null,
319
+ addAccumulation: addAccumulation,
320
+ addCirculation: addCirculation,
321
+ addExpense: addExpense,
322
+ authorizeWithdraw: authorizeWithdraw,
323
+ completeWithdraw: completeWithdraw$1,
324
+ createFund: createFund,
325
+ createWithdraw: createWithdraw$1,
326
+ deleteFund: deleteFund,
327
+ editFund: editFund,
328
+ init: init,
329
+ newFund: newFund,
330
+ newWithdraw: newWithdraw,
331
+ spreadAmount: spreadAmount,
332
+ subAccumulation: subAccumulation,
333
+ subCirculation: subCirculation
334
+ };
335
+
336
+ const tableName$m = "accfunds";
337
+ const scope$m = _fund;
338
+
339
+ const accumulationFunds = {
340
+ __proto__: null,
341
+ scope: scope$m,
342
+ tableName: tableName$m
343
+ };
344
+
345
+ const tableName$l = "expfunds";
346
+ const scope$l = _fund;
347
+
348
+ const expenseFunds = {
349
+ __proto__: null,
350
+ scope: scope$l,
351
+ tableName: tableName$l
352
+ };
353
+
354
+ const tableName$k = "fundwallet";
355
+ const scope$k = _fund;
356
+
357
+ const fundWallet = {
358
+ __proto__: null,
359
+ scope: scope$k,
360
+ tableName: tableName$k
361
+ };
362
+
363
+ const tableName$j = "fwithdraws";
364
+ const scope$j = _fund;
365
+
366
+ const fundWithdraws = {
367
+ __proto__: null,
368
+ scope: scope$j,
369
+ tableName: tableName$j
370
+ };
371
+
372
+ const index$j = {
373
+ __proto__: null,
374
+ AccumulatedFunds: accumulationFunds,
375
+ ExpensedFunds: expenseFunds,
376
+ FundWallet: fundWallet,
377
+ FundWithdraws: fundWithdraws
378
+ };
379
+
380
+ const fund = {
146
381
  __proto__: null
147
382
  };
148
383
 
149
- const contractName$1 = _draft;
384
+ const contractName$4 = _fund;
150
385
 
151
- const index$m = {
386
+ const index$i = {
387
+ __proto__: null,
388
+ Actions: index$k,
389
+ Interfaces: fund,
390
+ Tables: index$j,
391
+ contractName: contractName$4
392
+ };
393
+
394
+ const authorizations$Q = [{ permissions: [active, special], actor: _coopname }];
395
+ const actionName$Q = "deposit";
396
+
397
+ const createDeposit = {
398
+ __proto__: null,
399
+ actionName: actionName$Q,
400
+ authorizations: authorizations$Q
401
+ };
402
+
403
+ const authorizations$P = [{ permissions: [active, special], actor: _admin }];
404
+ const actionName$P = "dpcomplete";
405
+
406
+ const completeDeposit = {
407
+ __proto__: null,
408
+ actionName: actionName$P,
409
+ authorizations: authorizations$P
410
+ };
411
+
412
+ const authorizations$O = [{ permissions: [active, special], actor: _admin }];
413
+ const actionName$O = "dpfail";
414
+
415
+ const failDeposit = {
416
+ __proto__: null,
417
+ actionName: actionName$O,
418
+ authorizations: authorizations$O
419
+ };
420
+
421
+ const authorizations$N = [{ permissions: [active], actor: _gateway }];
422
+ const actionName$N = "newdepositid";
423
+
424
+ const newDepositId = {
425
+ __proto__: null,
426
+ actionName: actionName$N,
427
+ authorizations: authorizations$N
428
+ };
429
+
430
+ const authorizations$M = [{ permissions: [active], actor: _gateway }];
431
+ const actionName$M = "newwithdrid";
432
+
433
+ const newWithdrawId = {
434
+ __proto__: null,
435
+ actionName: actionName$M,
436
+ authorizations: authorizations$M
437
+ };
438
+
439
+ const authorizations$L = [{ permissions: [active], actor: _username }];
440
+ const actionName$L = "withdraw";
441
+
442
+ const createWithdraw = {
443
+ __proto__: null,
444
+ actionName: actionName$L,
445
+ authorizations: authorizations$L
446
+ };
447
+
448
+ const authorizations$K = [{ permissions: [active, special], actor: _admin }];
449
+ const actionName$K = "wthdcomplete";
450
+
451
+ const completeWithdraw = {
452
+ __proto__: null,
453
+ actionName: actionName$K,
454
+ authorizations: authorizations$K
455
+ };
456
+
457
+ const authorizations$J = [{ permissions: [active, special], actor: _admin }];
458
+ const actionName$J = "wthdfail";
459
+
460
+ const failWithdraw = {
461
+ __proto__: null,
462
+ actionName: actionName$J,
463
+ authorizations: authorizations$J
464
+ };
465
+
466
+ const index$h = {
152
467
  __proto__: null,
153
- Actions: index$r,
154
- Interfaces: draft,
155
- Tables: index$n,
468
+ completeDeposit: completeDeposit,
469
+ completeWithdraw: completeWithdraw,
470
+ createDeposit: createDeposit,
471
+ createWithdraw: createWithdraw,
472
+ failDeposit: failDeposit,
473
+ failWithdraw: failWithdraw,
474
+ newDepositId: newDepositId,
475
+ newWithdrawId: newWithdrawId
476
+ };
477
+
478
+ const tableName$i = "deposits";
479
+ const scope$i = _gateway;
480
+
481
+ const deposits = {
482
+ __proto__: null,
483
+ scope: scope$i,
484
+ tableName: tableName$i
485
+ };
486
+
487
+ const tableName$h = "withdraws";
488
+ const scope$h = _gateway;
489
+
490
+ const withdraws = {
491
+ __proto__: null,
492
+ scope: scope$h,
493
+ tableName: tableName$h
494
+ };
495
+
496
+ const index$g = {
497
+ __proto__: null,
498
+ Deposits: deposits,
499
+ Withdrws: withdraws
500
+ };
501
+
502
+ const gateway = {
503
+ __proto__: null
504
+ };
505
+
506
+ const contractName$3 = _gateway;
507
+
508
+ const index$f = {
509
+ __proto__: null,
510
+ Actions: index$h,
511
+ Interfaces: gateway,
512
+ Tables: index$g,
513
+ contractName: contractName$3
514
+ };
515
+
516
+ const authorizations$I = [{ permissions: [active], actor: _system }];
517
+ const actionName$I = "verificate";
518
+
519
+ const verificateAccount = {
520
+ __proto__: null,
521
+ actionName: actionName$I,
522
+ authorizations: authorizations$I
523
+ };
524
+
525
+ const authorizations$H = [{ permissions: [active], actor: _username }];
526
+ const actionName$H = "update";
527
+
528
+ const updateAccount = {
529
+ __proto__: null,
530
+ actionName: actionName$H,
531
+ authorizations: authorizations$H
532
+ };
533
+
534
+ const authorizations$G = [{ permissions: [active, special], actor: _admin }];
535
+ const actionName$G = "newaccount";
536
+
537
+ const createAccount = {
538
+ __proto__: null,
539
+ actionName: actionName$G,
540
+ authorizations: authorizations$G
541
+ };
542
+
543
+ const authorizations$F = [{ permissions: [active, special], actor: _admin }];
544
+ const actionName$F = "regorg";
545
+
546
+ const registerOrganization = {
547
+ __proto__: null,
548
+ actionName: actionName$F,
549
+ authorizations: authorizations$F
550
+ };
551
+
552
+ const authorizations$E = [{ permissions: [active], actor: _system }];
553
+ const actionName$E = "changekey";
554
+
555
+ const changeKey = {
556
+ __proto__: null,
557
+ actionName: actionName$E,
558
+ authorizations: authorizations$E
559
+ };
560
+
561
+ const authorizations$D = [{ permissions: [active, special], actor: _admin }, { permissions: [active], actor: _username }];
562
+ const actionName$D = "joincoop";
563
+
564
+ const joinCooperative = {
565
+ __proto__: null,
566
+ actionName: actionName$D,
567
+ authorizations: authorizations$D
568
+ };
569
+
570
+ const authorizations$C = [{ permissions: [active], actor: _soviet }];
571
+ const actionName$C = "confirmreg";
572
+
573
+ const confirmJoin = {
574
+ __proto__: null,
575
+ actionName: actionName$C,
576
+ authorizations: authorizations$C
577
+ };
578
+
579
+ const index$e = {
580
+ __proto__: null,
581
+ changeKey: changeKey,
582
+ confirmJoin: confirmJoin,
583
+ createAccount: createAccount,
584
+ joinCooperative: joinCooperative,
585
+ registerOrganization: registerOrganization,
586
+ updateAccount: updateAccount,
587
+ verificateAccount: verificateAccount
588
+ };
589
+
590
+ const tableName$g = "accounts";
591
+ const scope$g = _registrator;
592
+
593
+ const accounts = {
594
+ __proto__: null,
595
+ scope: scope$g,
596
+ tableName: tableName$g
597
+ };
598
+
599
+ const tableName$f = "orgs";
600
+ const scope$f = _registrator;
601
+
602
+ const organizations = {
603
+ __proto__: null,
604
+ scope: scope$f,
605
+ tableName: tableName$f
606
+ };
607
+
608
+ const tableName$e = "users";
609
+ const scope$e = _coopname;
610
+
611
+ const users = {
612
+ __proto__: null,
613
+ scope: scope$e,
614
+ tableName: tableName$e
615
+ };
616
+
617
+ const index$d = {
618
+ __proto__: null,
619
+ Accounts: accounts,
620
+ Organizations: organizations,
621
+ Users: users
622
+ };
623
+
624
+ const registrator = {
625
+ __proto__: null
626
+ };
627
+
628
+ const contractName$2 = _registrator;
629
+
630
+ const index$c = {
631
+ __proto__: null,
632
+ Actions: index$e,
633
+ Interfaces: registrator,
634
+ Tables: index$d,
635
+ contractName: contractName$2
636
+ };
637
+
638
+ const authorizations$B = [{ permissions: [active], actor: _username }];
639
+ const actionName$B = "transfer";
640
+
641
+ const transfer = {
642
+ __proto__: null,
643
+ actionName: actionName$B,
644
+ authorizations: authorizations$B
645
+ };
646
+
647
+ const authorizations$A = [{ permissions: [active], actor: _username }];
648
+ const actionName$A = "open";
649
+
650
+ const open = {
651
+ __proto__: null,
652
+ actionName: actionName$A,
653
+ authorizations: authorizations$A
654
+ };
655
+
656
+ const authorizations$z = [{ permissions: [active], actor: _username }];
657
+ const actionName$z = "close";
658
+
659
+ const close = {
660
+ __proto__: null,
661
+ actionName: actionName$z,
662
+ authorizations: authorizations$z
663
+ };
664
+
665
+ const authorizations$y = [{ permissions: [active], actor: _system$1 }];
666
+ const actionName$y = "create";
667
+
668
+ const create = {
669
+ __proto__: null,
670
+ actionName: actionName$y,
671
+ authorizations: authorizations$y
672
+ };
673
+
674
+ const authorizations$x = [{ permissions: [active], actor: "currencyStats.issuer" }];
675
+ const actionName$x = "issue";
676
+
677
+ const issue = {
678
+ __proto__: null,
679
+ actionName: actionName$x,
680
+ authorizations: authorizations$x
681
+ };
682
+
683
+ const authorizations$w = [{ permissions: [active], actor: "currencyStats.issuer" }];
684
+ const actionName$w = "retire";
685
+
686
+ const retire = {
687
+ __proto__: null,
688
+ actionName: actionName$w,
689
+ authorizations: authorizations$w
690
+ };
691
+
692
+ const index$b = {
693
+ __proto__: null,
694
+ close: close,
695
+ create: create,
696
+ issue: issue,
697
+ open: open,
698
+ retire: retire,
699
+ transfer: transfer
700
+ };
701
+
702
+ const tableName$d = "accounts";
703
+ const scope$d = _username;
704
+
705
+ const accountBalance = {
706
+ __proto__: null,
707
+ scope: scope$d,
708
+ tableName: tableName$d
709
+ };
710
+
711
+ const tableName$c = "stat";
712
+ const scope$c = "AXON";
713
+
714
+ const currencyStats = {
715
+ __proto__: null,
716
+ scope: scope$c,
717
+ tableName: tableName$c
718
+ };
719
+
720
+ const index$a = {
721
+ __proto__: null,
722
+ AccountBalance: accountBalance,
723
+ CurrencyStats: currencyStats
724
+ };
725
+
726
+ const eosio_token = {
727
+ __proto__: null
728
+ };
729
+
730
+ const contractName$1 = _token;
731
+
732
+ const index$9 = {
733
+ __proto__: null,
734
+ Actions: index$b,
735
+ Interfaces: eosio_token,
736
+ Tables: index$a,
156
737
  contractName: contractName$1
157
738
  };
158
739
 
159
- const authorizations$e = [{ permissions: [active], actor: _fund }];
160
- const actionName$e = "addaccum";
740
+ const authorizations$v = [{ permissions: [active], actor: _soviet }];
741
+ const actionName$v = "draft";
161
742
 
162
- const index$l = {
743
+ const draft = {
744
+ __proto__: null,
745
+ actionName: actionName$v,
746
+ authorizations: authorizations$v
747
+ };
748
+
749
+ const authorizations$u = [{ permissions: [active], actor: _soviet }];
750
+ const actionName$u = "batch";
751
+
752
+ const batch = {
753
+ __proto__: null,
754
+ actionName: actionName$u,
755
+ authorizations: authorizations$u
756
+ };
757
+
758
+ const authorizations$t = [{ permissions: [active], actor: _soviet }];
759
+ const actionName$t = "statement";
760
+
761
+ const statement = {
762
+ __proto__: null,
763
+ actionName: actionName$t,
764
+ authorizations: authorizations$t
765
+ };
766
+
767
+ const authorizations$s = [{ permissions: [active], actor: _soviet }];
768
+ const actionName$s = "act";
769
+
770
+ const act = {
771
+ __proto__: null,
772
+ actionName: actionName$s,
773
+ authorizations: authorizations$s
774
+ };
775
+
776
+ const authorizations$r = [{ permissions: [active], actor: _soviet }];
777
+ const actionName$r = "decision";
778
+
779
+ const decision = {
780
+ __proto__: null,
781
+ actionName: actionName$r,
782
+ authorizations: authorizations$r
783
+ };
784
+
785
+ const index$8 = {
786
+ __proto__: null,
787
+ act: act,
788
+ batch: batch,
789
+ decision: decision,
790
+ draft: draft,
791
+ statement: statement
792
+ };
793
+
794
+ const authorizations$q = [{ permissions: [active], actor: _chairman }];
795
+ const actionName$q = "creaddress";
796
+
797
+ const createAddress = {
798
+ __proto__: null,
799
+ actionName: actionName$q,
800
+ authorizations: authorizations$q
801
+ };
802
+
803
+ const authorizations$p = [{ permissions: [active], actor: _chairman }];
804
+ const actionName$p = "deladdress";
805
+
806
+ const deleteAddress = {
807
+ __proto__: null,
808
+ actionName: actionName$p,
809
+ authorizations: authorizations$p
810
+ };
811
+
812
+ const authorizations$o = [{ permissions: [active], actor: _chairman }];
813
+ const actionName$o = "editaddress";
814
+
815
+ const editAddress = {
816
+ __proto__: null,
817
+ actionName: actionName$o,
818
+ authorizations: authorizations$o
819
+ };
820
+
821
+ const index$7 = {
822
+ __proto__: null,
823
+ createAddress: createAddress,
824
+ deleteAddress: deleteAddress,
825
+ editAddress: editAddress
826
+ };
827
+
828
+ const authorizations$n = [
829
+ { permissions: [active], actor: _soviet },
830
+ { permissions: [active], actor: _gateway },
831
+ { permissions: [active], actor: _marketplace }
832
+ ];
833
+ const actionName$n = "addbalance";
834
+
835
+ const addBalance = {
836
+ __proto__: null,
837
+ actionName: actionName$n,
838
+ authorizations: authorizations$n
839
+ };
840
+
841
+ const authorizations$m = [
842
+ { permissions: [active], actor: _soviet },
843
+ { permissions: [active], actor: _gateway },
844
+ { permissions: [active], actor: _marketplace }
845
+ ];
846
+ const actionName$m = "subbalance";
847
+
848
+ const subBalance = {
849
+ __proto__: null,
850
+ actionName: actionName$m,
851
+ authorizations: authorizations$m
852
+ };
853
+
854
+ const authorizations$l = [
855
+ { permissions: [active], actor: _soviet },
856
+ { permissions: [active], actor: _gateway },
857
+ { permissions: [active], actor: _marketplace }
858
+ ];
859
+ const actionName$l = "blockbal";
860
+
861
+ const blockBalance = {
862
+ __proto__: null,
863
+ actionName: actionName$l,
864
+ authorizations: authorizations$l
865
+ };
866
+
867
+ const authorizations$k = [
868
+ { permissions: [active], actor: _soviet },
869
+ { permissions: [active], actor: _gateway },
870
+ { permissions: [active], actor: _marketplace }
871
+ ];
872
+ const actionName$k = "unblockbal";
873
+
874
+ const unblockBalance = {
875
+ __proto__: null,
876
+ actionName: actionName$k,
877
+ authorizations: authorizations$k
878
+ };
879
+
880
+ const authorizations$j = [
881
+ { permissions: [active], actor: _soviet },
882
+ { permissions: [active], actor: _marketplace }
883
+ ];
884
+ const actionName$j = "addprogbal";
885
+
886
+ const addProgramBalance = {
887
+ __proto__: null,
888
+ actionName: actionName$j,
889
+ authorizations: authorizations$j
890
+ };
891
+
892
+ const authorizations$i = [
893
+ { permissions: [active], actor: _soviet },
894
+ { permissions: [active], actor: _marketplace }
895
+ ];
896
+ const actionName$i = "subprogbal";
897
+
898
+ const subProgramBalance = {
899
+ __proto__: null,
900
+ actionName: actionName$i,
901
+ authorizations: authorizations$i
902
+ };
903
+
904
+ const index$6 = {
905
+ __proto__: null,
906
+ addBalance: addBalance,
907
+ addProgramBalance: addProgramBalance,
908
+ blockBalance: blockBalance,
909
+ subBalance: subBalance,
910
+ subProgramBalance: subProgramBalance,
911
+ unblockBalance: unblockBalance
912
+ };
913
+
914
+ const authorizations$h = [
915
+ { permissions: [active], actor: _chairman }
916
+ ];
917
+ const actionName$h = "createprog";
918
+
919
+ const createMarketProgram = {
920
+ __proto__: null,
921
+ actionName: actionName$h,
922
+ authorizations: authorizations$h
923
+ };
924
+
925
+ const authorizations$g = [
926
+ { permissions: [active], actor: _chairman }
927
+ ];
928
+ const actionName$g = "editprog";
929
+
930
+ const editMarketProgram = {
931
+ __proto__: null,
932
+ actionName: actionName$g,
933
+ authorizations: authorizations$g
934
+ };
935
+
936
+ const authorizations$f = [
937
+ { permissions: [active], actor: _chairman }
938
+ ];
939
+ const actionName$f = "disableprog";
940
+
941
+ const disableMarketProgram = {
942
+ __proto__: null,
943
+ actionName: actionName$f,
944
+ authorizations: authorizations$f
945
+ };
946
+
947
+ const index$5 = {
948
+ __proto__: null,
949
+ createMarketProgram: createMarketProgram,
950
+ disableMarketProgram: disableMarketProgram,
951
+ editMarketProgram: editMarketProgram
952
+ };
953
+
954
+ const authorizations$e = [
955
+ { permissions: [active], actor: _member }
956
+ ];
957
+ const actionName$e = "voteagainst";
958
+
959
+ const voteAgainst = {
163
960
  __proto__: null,
164
961
  actionName: actionName$e,
165
962
  authorizations: authorizations$e
166
963
  };
167
964
 
168
- const authorizations$d = [{ permissions: [active], actor: _fund }];
169
- const actionName$d = "subaccum";
965
+ const authorizations$d = [
966
+ { permissions: [active], actor: _member }
967
+ ];
968
+ const actionName$d = "votefor";
170
969
 
171
- const index$k = {
970
+ const voteFor = {
172
971
  __proto__: null,
173
972
  actionName: actionName$d,
174
973
  authorizations: authorizations$d
175
974
  };
176
975
 
177
- const authorizations$c = [{ permissions: [active], actor: _gateway }];
178
- const actionName$c = "addcirculate";
976
+ const authorizations$c = [
977
+ { permissions: [active], actor: _member }
978
+ ];
979
+ const actionName$c = "cancelvote";
179
980
 
180
- const index$j = {
981
+ const cancelVote = {
181
982
  __proto__: null,
182
983
  actionName: actionName$c,
183
984
  authorizations: authorizations$c
184
985
  };
185
986
 
186
- const authorizations$b = [{ permissions: [active], actor: _fund }];
187
- const actionName$b = "addexpense";
987
+ const authorizations$b = [
988
+ { permissions: [active], actor: _chairman }
989
+ ];
990
+ const actionName$b = "authorize";
188
991
 
189
- const index$i = {
992
+ const authorize = {
190
993
  __proto__: null,
191
994
  actionName: actionName$b,
192
995
  authorizations: authorizations$b
193
996
  };
194
997
 
195
- const authorizations$a = [{ permissions: [active], actor: _soviet }];
196
- const actionName$a = "authorize";
998
+ const authorizations$a = [
999
+ { permissions: [active], actor: _username }
1000
+ ];
1001
+ const actionName$a = "exec";
197
1002
 
198
- const index$h = {
1003
+ const exec = {
199
1004
  __proto__: null,
200
1005
  actionName: actionName$a,
201
1006
  authorizations: authorizations$a
202
1007
  };
203
1008
 
204
- const authorizations$9 = [{ permissions: [active, special], actor: _admin }];
205
- const actionName$9 = "complete";
1009
+ const authorizations$9 = [
1010
+ { permissions: [active], actor: _marketplace }
1011
+ ];
1012
+ const actionName$9 = "change";
206
1013
 
207
- const index$g = {
1014
+ const marketDecision = {
208
1015
  __proto__: null,
209
1016
  actionName: actionName$9,
210
1017
  authorizations: authorizations$9
211
1018
  };
212
1019
 
213
- const authorizations$8 = [{ permissions: [active], actor: _fund }];
214
- const actionName$8 = "newfund";
1020
+ const authorizations$8 = [
1021
+ { permissions: [active], actor: _gateway }
1022
+ ];
1023
+ const actionName$8 = "withdraw";
215
1024
 
216
- const index$f = {
1025
+ const withdrawDecision = {
217
1026
  __proto__: null,
218
1027
  actionName: actionName$8,
219
1028
  authorizations: authorizations$8
220
1029
  };
221
1030
 
222
- const authorizations$7 = [{ permissions: [active], actor: _chairman }];
223
- const actionName$7 = "createfund";
1031
+ const authorizations$7 = [
1032
+ { permissions: [active], actor: _fund }
1033
+ ];
1034
+ const actionName$7 = "fundwithdraw";
224
1035
 
225
- const index$e = {
1036
+ const fundWithdrawDecision = {
226
1037
  __proto__: null,
227
1038
  actionName: actionName$7,
228
1039
  authorizations: authorizations$7
229
1040
  };
230
1041
 
231
- const authorizations$6 = [{ permissions: [active], actor: _chairman }];
232
- const actionName$6 = "delfund";
1042
+ const authorizations$6 = [
1043
+ { permissions: [active], actor: _registrator }
1044
+ ];
1045
+ const actionName$6 = "joincoop";
233
1046
 
234
- const index$d = {
1047
+ const joinCoopDecision = {
235
1048
  __proto__: null,
236
1049
  actionName: actionName$6,
237
1050
  authorizations: authorizations$6
238
1051
  };
239
1052
 
240
- const authorizations$5 = [{ permissions: [active], actor: _chairman }];
241
- const actionName$5 = "editfund";
1053
+ const authorizations$5 = [
1054
+ { permissions: [active], actor: _marketplace }
1055
+ ];
1056
+ const actionName$5 = "recieved";
242
1057
 
243
- const index$c = {
1058
+ const productRecieved = {
244
1059
  __proto__: null,
245
1060
  actionName: actionName$5,
246
1061
  authorizations: authorizations$5
247
1062
  };
248
1063
 
249
1064
  const authorizations$4 = [
250
- { permissions: [active], actor: _username },
251
- { permissions: [active, special], actor: _admin },
252
- { permissions: [active], actor: _contract }
1065
+ { permissions: [active, special], actor: _admin }
253
1066
  ];
254
- const actionName$4 = "fundwithdraw";
1067
+ const actionName$4 = "validated";
255
1068
 
256
- const index$b = {
1069
+ const validate = {
257
1070
  __proto__: null,
258
1071
  actionName: actionName$4,
259
1072
  authorizations: authorizations$4
260
1073
  };
261
1074
 
262
- const authorizations$3 = [{ permissions: [active], actor: _soviet }];
263
- const actionName$3 = "init";
1075
+ const authorizations$3 = [
1076
+ { permissions: [active], actor: _member }
1077
+ ];
1078
+ const actionName$3 = "automate";
264
1079
 
265
- const index$a = {
1080
+ const automate = {
266
1081
  __proto__: null,
267
1082
  actionName: actionName$3,
268
1083
  authorizations: authorizations$3
269
1084
  };
270
1085
 
271
- const authorizations$2 = [{ permissions: [active], actor: _fund }];
272
- const actionName$2 = "newwithdraw";
1086
+ const authorizations$2 = [
1087
+ { permissions: [active], actor: _member }
1088
+ ];
1089
+ const actionName$2 = "disautomate";
273
1090
 
274
- const index$9 = {
1091
+ const disautomate = {
275
1092
  __proto__: null,
276
1093
  actionName: actionName$2,
277
1094
  authorizations: authorizations$2
278
1095
  };
279
1096
 
280
- const authorizations$1 = [{ permissions: [active], actor: _marketplace }, { permissions: [active], actor: _gateway }];
281
- const actionName$1 = "spreadamount";
1097
+ const index$4 = {
1098
+ __proto__: null,
1099
+ authorize: authorize,
1100
+ automate: automate,
1101
+ cancelVote: cancelVote,
1102
+ disautomate: disautomate,
1103
+ exec: exec,
1104
+ fundWithdrawDecision: fundWithdrawDecision,
1105
+ joinCoopDecision: joinCoopDecision,
1106
+ marketDecision: marketDecision,
1107
+ productRecieved: productRecieved,
1108
+ validate: validate,
1109
+ voteAgainst: voteAgainst,
1110
+ voteFor: voteFor,
1111
+ withdrawDecision: withdrawDecision
1112
+ };
1113
+
1114
+ const authorizations$1 = [{ permissions: [active], actor: _chairman }];
1115
+ const actionName$1 = "createboard";
282
1116
 
283
- const index$8 = {
1117
+ const createBoard = {
284
1118
  __proto__: null,
285
1119
  actionName: actionName$1,
286
1120
  authorizations: authorizations$1
287
1121
  };
288
1122
 
289
- const authorizations = [{ permissions: [active], actor: _gateway }];
290
- const actionName = "subcirculate";
1123
+ const authorizations = [{ permissions: [active], actor: _chairman }];
1124
+ const actionName = "updateboard";
291
1125
 
292
- const index$7 = {
1126
+ const updateBoard = {
293
1127
  __proto__: null,
294
1128
  actionName: actionName,
295
1129
  authorizations: authorizations
296
1130
  };
297
1131
 
298
- const index$6 = {
1132
+ const index$3 = {
299
1133
  __proto__: null,
300
- addAccumulation: index$l,
301
- addCirculation: index$j,
302
- addExpence: index$i,
303
- authorizeWithdraw: index$h,
304
- completeWithdraw: index$g,
305
- createFund: index$e,
306
- createWithdraw: index$b,
307
- deleteFund: index$d,
308
- editFund: index$c,
309
- init: index$a,
310
- newFund: index$f,
311
- newWithdraw: index$9,
312
- spreadAmount: index$8,
313
- subAccumulation: index$k,
314
- subCirculation: index$7
315
- };
316
-
317
- const tableName$3 = "accfunds";
318
- const scope$3 = _fund;
1134
+ createBoard: createBoard,
1135
+ updateBoard: updateBoard
1136
+ };
319
1137
 
320
- const index$5 = {
1138
+ const index$2 = {
1139
+ __proto__: null,
1140
+ Addresses: index$7,
1141
+ Boards: index$3,
1142
+ Decisions: index$4,
1143
+ Programs: index$5,
1144
+ Registry: index$8,
1145
+ Wallet: index$6
1146
+ };
1147
+
1148
+ const tableName$b = "addresses";
1149
+ const scope$b = _coopname;
1150
+
1151
+ const addresses = {
1152
+ __proto__: null,
1153
+ scope: scope$b,
1154
+ tableName: tableName$b
1155
+ };
1156
+
1157
+ const tableName$a = "staff";
1158
+ const scope$a = _coopname;
1159
+
1160
+ const admins = {
1161
+ __proto__: null,
1162
+ scope: scope$a,
1163
+ tableName: tableName$a
1164
+ };
1165
+
1166
+ const tableName$9 = "autosigner";
1167
+ const scope$9 = _coopname;
1168
+
1169
+ const automationQueue = {
1170
+ __proto__: null,
1171
+ scope: scope$9,
1172
+ tableName: tableName$9
1173
+ };
1174
+
1175
+ const tableName$8 = "automator";
1176
+ const scope$8 = _coopname;
1177
+
1178
+ const automations = {
1179
+ __proto__: null,
1180
+ scope: scope$8,
1181
+ tableName: tableName$8
1182
+ };
1183
+
1184
+ const tableName$7 = "boards";
1185
+ const scope$7 = _coopname;
1186
+
1187
+ const boards = {
1188
+ __proto__: null,
1189
+ scope: scope$7,
1190
+ tableName: tableName$7
1191
+ };
1192
+
1193
+ const tableName$6 = "changes";
1194
+ const scope$6 = _coopname;
1195
+
1196
+ const changes = {
1197
+ __proto__: null,
1198
+ scope: scope$6,
1199
+ tableName: tableName$6
1200
+ };
1201
+
1202
+ const tableName$5 = "decisions";
1203
+ const scope$5 = _coopname;
1204
+
1205
+ const decisions = {
1206
+ __proto__: null,
1207
+ scope: scope$5,
1208
+ tableName: tableName$5
1209
+ };
1210
+
1211
+ const tableName$4 = "joincoops";
1212
+ const scope$4 = _coopname;
1213
+
1214
+ const joinCoops = {
1215
+ __proto__: null,
1216
+ scope: scope$4,
1217
+ tableName: tableName$4
1218
+ };
1219
+
1220
+ const tableName$3 = "progcomarket";
1221
+ const scope$3 = _coopname;
1222
+
1223
+ const marketPrograms = {
321
1224
  __proto__: null,
322
1225
  scope: scope$3,
323
1226
  tableName: tableName$3
324
1227
  };
325
1228
 
326
- const tableName$2 = "expfunds";
327
- const scope$2 = _fund;
1229
+ const tableName$2 = "participants";
1230
+ const scope$2 = _coopname;
328
1231
 
329
- const index$4 = {
1232
+ const participants = {
330
1233
  __proto__: null,
331
1234
  scope: scope$2,
332
1235
  tableName: tableName$2
333
1236
  };
334
1237
 
335
- const tableName$1 = "fundwallet";
336
- const scope$1 = _fund;
1238
+ const tableName$1 = "progwallets";
1239
+ const scope$1 = _coopname;
337
1240
 
338
- const index$3 = {
1241
+ const programWallets = {
339
1242
  __proto__: null,
340
1243
  scope: scope$1,
341
1244
  tableName: tableName$1
342
1245
  };
343
1246
 
344
- const tableName = "fwithdraws";
345
- const scope = _fund;
1247
+ const tableName = "wallets";
1248
+ const scope = _coopname;
346
1249
 
347
- const index$2 = {
1250
+ const wallets = {
348
1251
  __proto__: null,
349
1252
  scope: scope,
350
1253
  tableName: tableName
@@ -352,24 +1255,32 @@ const index$2 = {
352
1255
 
353
1256
  const index$1 = {
354
1257
  __proto__: null,
355
- AccumulatedFunds: index$5,
356
- ExpensedFunds: index$4,
357
- FundWallet: index$3,
358
- FundWithdraws: index$2
1258
+ Addresses: addresses,
1259
+ Admins: admins,
1260
+ AutomationQueue: automationQueue,
1261
+ Automations: automations,
1262
+ Boards: boards,
1263
+ Changes: changes,
1264
+ Decisions: decisions,
1265
+ JoinCoops: joinCoops,
1266
+ MarketPrograms: marketPrograms,
1267
+ Participants: participants,
1268
+ ProgramWallets: programWallets,
1269
+ Wallets: wallets
359
1270
  };
360
1271
 
361
- const fund = {
1272
+ const soviet = {
362
1273
  __proto__: null
363
1274
  };
364
1275
 
365
- const contractName = _fund;
1276
+ const contractName = _soviet;
366
1277
 
367
1278
  const index = {
368
1279
  __proto__: null,
369
- Actions: index$6,
370
- Interfaces: fund,
1280
+ Actions: index$2,
1281
+ Interfaces: soviet,
371
1282
  Tables: index$1,
372
1283
  contractName: contractName
373
1284
  };
374
1285
 
375
- export { index$q as Actors, index$y as ContractNames, index$m as DraftContract, index as FundContract, index$x as Permissions };
1286
+ export { index$l as DraftContract, index$i as FundContract, index$f as GatewayContract, index$c as RegistratorContract, index as SovietContract, index$9 as TokenContract, index$o as _Common };