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