cooptypes 0.1.0 → 0.2.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.cjs +534 -170
- package/dist/index.d.cts +1467 -354
- package/dist/index.d.mts +1467 -354
- package/dist/index.d.ts +1467 -354
- package/dist/index.mjs +529 -166
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const _username = "_username";
|
|
4
|
+
const _coopname = "_coopname";
|
|
5
|
+
const _chairman = "_chairman";
|
|
6
|
+
const _admin = "_admin";
|
|
7
|
+
const _contract = "_contract";
|
|
8
|
+
const _system$1 = "_system";
|
|
9
|
+
|
|
10
|
+
const index$i = {
|
|
11
|
+
__proto__: null,
|
|
12
|
+
_admin: _admin,
|
|
13
|
+
_chairman: _chairman,
|
|
14
|
+
_contract: _contract,
|
|
15
|
+
_coopname: _coopname,
|
|
16
|
+
_system: _system$1,
|
|
17
|
+
_username: _username
|
|
18
|
+
};
|
|
19
|
+
|
|
3
20
|
const _draft = {
|
|
4
21
|
production: "draft",
|
|
5
22
|
testnet: "drafttest222"
|
|
@@ -12,7 +29,7 @@ const _gateway = {
|
|
|
12
29
|
production: "gateway",
|
|
13
30
|
testnet: "gateway2222"
|
|
14
31
|
};
|
|
15
|
-
const _system
|
|
32
|
+
const _system = {
|
|
16
33
|
production: "eosio",
|
|
17
34
|
testnet: "eosio"
|
|
18
35
|
};
|
|
@@ -24,15 +41,25 @@ const _marketplace = {
|
|
|
24
41
|
production: "marketplace",
|
|
25
42
|
testnet: "markettest22"
|
|
26
43
|
};
|
|
44
|
+
const _registrator = {
|
|
45
|
+
production: "registrator",
|
|
46
|
+
testnet: "regtest22222"
|
|
47
|
+
};
|
|
48
|
+
const _token = {
|
|
49
|
+
production: "eosio.token",
|
|
50
|
+
testnet: "eosio.token"
|
|
51
|
+
};
|
|
27
52
|
|
|
28
|
-
const index$
|
|
53
|
+
const index$h = {
|
|
29
54
|
__proto__: null,
|
|
30
55
|
_draft: _draft,
|
|
31
56
|
_fund: _fund,
|
|
32
57
|
_gateway: _gateway,
|
|
33
58
|
_marketplace: _marketplace,
|
|
59
|
+
_registrator: _registrator,
|
|
34
60
|
_soviet: _soviet,
|
|
35
|
-
_system: _system
|
|
61
|
+
_system: _system,
|
|
62
|
+
_token: _token
|
|
36
63
|
};
|
|
37
64
|
|
|
38
65
|
const active = "active";
|
|
@@ -42,311 +69,649 @@ const special = {
|
|
|
42
69
|
action: "actionName"
|
|
43
70
|
};
|
|
44
71
|
|
|
45
|
-
const index$
|
|
72
|
+
const index$g = {
|
|
46
73
|
__proto__: null,
|
|
47
74
|
active: active,
|
|
48
75
|
owner: owner,
|
|
49
76
|
special: special
|
|
50
77
|
};
|
|
51
78
|
|
|
52
|
-
const
|
|
53
|
-
const actionName$j = "createtrans";
|
|
54
|
-
|
|
55
|
-
const index$w = {
|
|
79
|
+
const index$f = {
|
|
56
80
|
__proto__: null,
|
|
57
|
-
|
|
58
|
-
|
|
81
|
+
Actors: index$i,
|
|
82
|
+
ContractNames: index$h,
|
|
83
|
+
Permissions: index$g
|
|
59
84
|
};
|
|
60
85
|
|
|
61
|
-
const authorizations$
|
|
62
|
-
const actionName$
|
|
86
|
+
const authorizations$E = [{ permissions: [active], actor: _system }];
|
|
87
|
+
const actionName$E = "createtrans";
|
|
63
88
|
|
|
64
|
-
const
|
|
89
|
+
const createTranslation = {
|
|
65
90
|
__proto__: null,
|
|
66
|
-
actionName: actionName$
|
|
67
|
-
authorizations: authorizations$
|
|
91
|
+
actionName: actionName$E,
|
|
92
|
+
authorizations: authorizations$E
|
|
68
93
|
};
|
|
69
94
|
|
|
70
|
-
const authorizations$
|
|
71
|
-
const actionName$
|
|
95
|
+
const authorizations$D = [{ permissions: [active], actor: _system }];
|
|
96
|
+
const actionName$D = "createdraft";
|
|
72
97
|
|
|
73
|
-
const
|
|
98
|
+
const createDraft = {
|
|
74
99
|
__proto__: null,
|
|
75
|
-
actionName: actionName$
|
|
76
|
-
authorizations: authorizations$
|
|
100
|
+
actionName: actionName$D,
|
|
101
|
+
authorizations: authorizations$D
|
|
77
102
|
};
|
|
78
103
|
|
|
79
|
-
const authorizations$
|
|
80
|
-
const actionName$
|
|
104
|
+
const authorizations$C = [{ permissions: [active], actor: _system }];
|
|
105
|
+
const actionName$C = "deldraft";
|
|
81
106
|
|
|
82
|
-
const
|
|
107
|
+
const deleteDraft = {
|
|
83
108
|
__proto__: null,
|
|
84
|
-
actionName: actionName$
|
|
85
|
-
authorizations: authorizations$
|
|
109
|
+
actionName: actionName$C,
|
|
110
|
+
authorizations: authorizations$C
|
|
86
111
|
};
|
|
87
112
|
|
|
88
|
-
const authorizations$
|
|
89
|
-
const actionName$
|
|
113
|
+
const authorizations$B = [{ permissions: [active], actor: _system }];
|
|
114
|
+
const actionName$B = "edittrans";
|
|
90
115
|
|
|
91
|
-
const
|
|
116
|
+
const editTranslation = {
|
|
92
117
|
__proto__: null,
|
|
93
|
-
actionName: actionName$
|
|
94
|
-
authorizations: authorizations$
|
|
118
|
+
actionName: actionName$B,
|
|
119
|
+
authorizations: authorizations$B
|
|
95
120
|
};
|
|
96
121
|
|
|
97
|
-
const
|
|
122
|
+
const authorizations$A = [{ permissions: [active], actor: _draft }];
|
|
123
|
+
const actionName$A = "newid";
|
|
124
|
+
|
|
125
|
+
const newId = {
|
|
98
126
|
__proto__: null,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
deleteDraft: index$u,
|
|
102
|
-
editTranslation: index$t,
|
|
103
|
-
newId: index$s
|
|
127
|
+
actionName: actionName$A,
|
|
128
|
+
authorizations: authorizations$A
|
|
104
129
|
};
|
|
105
130
|
|
|
106
|
-
const
|
|
107
|
-
const _coopname = "_coopname";
|
|
108
|
-
const _chairman = "_chairman";
|
|
109
|
-
const _admin = "_admin";
|
|
110
|
-
const _contract = "_contract";
|
|
111
|
-
const _system = "_system";
|
|
112
|
-
|
|
113
|
-
const index$q = {
|
|
131
|
+
const index$e = {
|
|
114
132
|
__proto__: null,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
_username: _username
|
|
133
|
+
createDraft: createDraft,
|
|
134
|
+
createTranslation: createTranslation,
|
|
135
|
+
deleteDraft: deleteDraft,
|
|
136
|
+
editTranslation: editTranslation,
|
|
137
|
+
newId: newId
|
|
121
138
|
};
|
|
122
139
|
|
|
123
|
-
const tableName$
|
|
124
|
-
const scope$
|
|
140
|
+
const tableName$c = "drafts";
|
|
141
|
+
const scope$c = _contract;
|
|
125
142
|
|
|
126
|
-
const
|
|
143
|
+
const drafts = {
|
|
127
144
|
__proto__: null,
|
|
128
|
-
scope: scope$
|
|
129
|
-
tableName: tableName$
|
|
145
|
+
scope: scope$c,
|
|
146
|
+
tableName: tableName$c
|
|
130
147
|
};
|
|
131
148
|
|
|
132
|
-
const tableName$
|
|
133
|
-
const scope$
|
|
149
|
+
const tableName$b = "translations";
|
|
150
|
+
const scope$b = _contract;
|
|
134
151
|
|
|
135
|
-
const
|
|
152
|
+
const translations = {
|
|
136
153
|
__proto__: null,
|
|
137
|
-
scope: scope$
|
|
138
|
-
tableName: tableName$
|
|
154
|
+
scope: scope$b,
|
|
155
|
+
tableName: tableName$b
|
|
139
156
|
};
|
|
140
157
|
|
|
141
|
-
const index$
|
|
158
|
+
const index$d = {
|
|
142
159
|
__proto__: null,
|
|
143
|
-
Drafts:
|
|
144
|
-
Translations:
|
|
160
|
+
Drafts: drafts,
|
|
161
|
+
Translations: translations
|
|
145
162
|
};
|
|
146
163
|
|
|
147
164
|
const draft = {
|
|
148
165
|
__proto__: null
|
|
149
166
|
};
|
|
150
167
|
|
|
151
|
-
const contractName$
|
|
168
|
+
const contractName$4 = _draft;
|
|
152
169
|
|
|
153
|
-
const index$
|
|
170
|
+
const index$c = {
|
|
154
171
|
__proto__: null,
|
|
155
|
-
Actions: index$
|
|
172
|
+
Actions: index$e,
|
|
156
173
|
Interfaces: draft,
|
|
157
|
-
Tables: index$
|
|
158
|
-
contractName: contractName$
|
|
174
|
+
Tables: index$d,
|
|
175
|
+
contractName: contractName$4
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
const authorizations$z = [{ permissions: [active], actor: _fund }];
|
|
179
|
+
const actionName$z = "addaccum";
|
|
180
|
+
|
|
181
|
+
const addAccumulation = {
|
|
182
|
+
__proto__: null,
|
|
183
|
+
actionName: actionName$z,
|
|
184
|
+
authorizations: authorizations$z
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
const authorizations$y = [{ permissions: [active], actor: _fund }];
|
|
188
|
+
const actionName$y = "subaccum";
|
|
189
|
+
|
|
190
|
+
const subAccumulation = {
|
|
191
|
+
__proto__: null,
|
|
192
|
+
actionName: actionName$y,
|
|
193
|
+
authorizations: authorizations$y
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
const authorizations$x = [{ permissions: [active], actor: _gateway }];
|
|
197
|
+
const actionName$x = "addcirculate";
|
|
198
|
+
|
|
199
|
+
const addCirculation = {
|
|
200
|
+
__proto__: null,
|
|
201
|
+
actionName: actionName$x,
|
|
202
|
+
authorizations: authorizations$x
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
const authorizations$w = [{ permissions: [active], actor: _fund }];
|
|
206
|
+
const actionName$w = "addexpense";
|
|
207
|
+
|
|
208
|
+
const addExpense = {
|
|
209
|
+
__proto__: null,
|
|
210
|
+
actionName: actionName$w,
|
|
211
|
+
authorizations: authorizations$w
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
const authorizations$v = [{ permissions: [active], actor: _soviet }];
|
|
215
|
+
const actionName$v = "authorize";
|
|
216
|
+
|
|
217
|
+
const authorizeWithdraw = {
|
|
218
|
+
__proto__: null,
|
|
219
|
+
actionName: actionName$v,
|
|
220
|
+
authorizations: authorizations$v
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
const authorizations$u = [{ permissions: [active, special], actor: _admin }];
|
|
224
|
+
const actionName$u = "complete";
|
|
225
|
+
|
|
226
|
+
const completeWithdraw$1 = {
|
|
227
|
+
__proto__: null,
|
|
228
|
+
actionName: actionName$u,
|
|
229
|
+
authorizations: authorizations$u
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const authorizations$t = [{ permissions: [active], actor: _fund }];
|
|
233
|
+
const actionName$t = "newfund";
|
|
234
|
+
|
|
235
|
+
const newFund = {
|
|
236
|
+
__proto__: null,
|
|
237
|
+
actionName: actionName$t,
|
|
238
|
+
authorizations: authorizations$t
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
const authorizations$s = [{ permissions: [active], actor: _chairman }];
|
|
242
|
+
const actionName$s = "createfund";
|
|
243
|
+
|
|
244
|
+
const createFund = {
|
|
245
|
+
__proto__: null,
|
|
246
|
+
actionName: actionName$s,
|
|
247
|
+
authorizations: authorizations$s
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
const authorizations$r = [{ permissions: [active], actor: _chairman }];
|
|
251
|
+
const actionName$r = "delfund";
|
|
252
|
+
|
|
253
|
+
const deleteFund = {
|
|
254
|
+
__proto__: null,
|
|
255
|
+
actionName: actionName$r,
|
|
256
|
+
authorizations: authorizations$r
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
const authorizations$q = [{ permissions: [active], actor: _chairman }];
|
|
260
|
+
const actionName$q = "editfund";
|
|
261
|
+
|
|
262
|
+
const editFund = {
|
|
263
|
+
__proto__: null,
|
|
264
|
+
actionName: actionName$q,
|
|
265
|
+
authorizations: authorizations$q
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
const authorizations$p = [
|
|
269
|
+
{ permissions: [active], actor: _username },
|
|
270
|
+
{ permissions: [active, special], actor: _admin },
|
|
271
|
+
{ permissions: [active], actor: _contract }
|
|
272
|
+
];
|
|
273
|
+
const actionName$p = "fundwithdraw";
|
|
274
|
+
|
|
275
|
+
const createWithdraw$1 = {
|
|
276
|
+
__proto__: null,
|
|
277
|
+
actionName: actionName$p,
|
|
278
|
+
authorizations: authorizations$p
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
const authorizations$o = [{ permissions: [active], actor: _soviet }];
|
|
282
|
+
const actionName$o = "init";
|
|
283
|
+
|
|
284
|
+
const init = {
|
|
285
|
+
__proto__: null,
|
|
286
|
+
actionName: actionName$o,
|
|
287
|
+
authorizations: authorizations$o
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
const authorizations$n = [{ permissions: [active], actor: _fund }];
|
|
291
|
+
const actionName$n = "newwithdraw";
|
|
292
|
+
|
|
293
|
+
const newWithdraw = {
|
|
294
|
+
__proto__: null,
|
|
295
|
+
actionName: actionName$n,
|
|
296
|
+
authorizations: authorizations$n
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
const authorizations$m = [{ permissions: [active], actor: _marketplace }, { permissions: [active], actor: _gateway }];
|
|
300
|
+
const actionName$m = "spreadamount";
|
|
301
|
+
|
|
302
|
+
const spreadAmount = {
|
|
303
|
+
__proto__: null,
|
|
304
|
+
actionName: actionName$m,
|
|
305
|
+
authorizations: authorizations$m
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
const authorizations$l = [{ permissions: [active], actor: _gateway }];
|
|
309
|
+
const actionName$l = "subcirculate";
|
|
310
|
+
|
|
311
|
+
const subCirculation = {
|
|
312
|
+
__proto__: null,
|
|
313
|
+
actionName: actionName$l,
|
|
314
|
+
authorizations: authorizations$l
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
const index$b = {
|
|
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$a = "accfunds";
|
|
337
|
+
const scope$a = _fund;
|
|
338
|
+
|
|
339
|
+
const accumulationFunds = {
|
|
340
|
+
__proto__: null,
|
|
341
|
+
scope: scope$a,
|
|
342
|
+
tableName: tableName$a
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
const tableName$9 = "expfunds";
|
|
346
|
+
const scope$9 = _fund;
|
|
347
|
+
|
|
348
|
+
const expenseFunds = {
|
|
349
|
+
__proto__: null,
|
|
350
|
+
scope: scope$9,
|
|
351
|
+
tableName: tableName$9
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
const tableName$8 = "fundwallet";
|
|
355
|
+
const scope$8 = _fund;
|
|
356
|
+
|
|
357
|
+
const fundWallet = {
|
|
358
|
+
__proto__: null,
|
|
359
|
+
scope: scope$8,
|
|
360
|
+
tableName: tableName$8
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
const tableName$7 = "fwithdraws";
|
|
364
|
+
const scope$7 = _fund;
|
|
365
|
+
|
|
366
|
+
const fundWithdraws = {
|
|
367
|
+
__proto__: null,
|
|
368
|
+
scope: scope$7,
|
|
369
|
+
tableName: tableName$7
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
const index$a = {
|
|
373
|
+
__proto__: null,
|
|
374
|
+
AccumulatedFunds: accumulationFunds,
|
|
375
|
+
ExpensedFunds: expenseFunds,
|
|
376
|
+
FundWallet: fundWallet,
|
|
377
|
+
FundWithdraws: fundWithdraws
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
const fund = {
|
|
381
|
+
__proto__: null
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
const contractName$3 = _fund;
|
|
385
|
+
|
|
386
|
+
const index$9 = {
|
|
387
|
+
__proto__: null,
|
|
388
|
+
Actions: index$b,
|
|
389
|
+
Interfaces: fund,
|
|
390
|
+
Tables: index$a,
|
|
391
|
+
contractName: contractName$3
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
const authorizations$k = [{ permissions: [active, special], actor: _coopname }];
|
|
395
|
+
const actionName$k = "deposit";
|
|
396
|
+
|
|
397
|
+
const createDeposit = {
|
|
398
|
+
__proto__: null,
|
|
399
|
+
actionName: actionName$k,
|
|
400
|
+
authorizations: authorizations$k
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
const authorizations$j = [{ permissions: [active, special], actor: _admin }];
|
|
404
|
+
const actionName$j = "dpcomplete";
|
|
405
|
+
|
|
406
|
+
const completeDeposit = {
|
|
407
|
+
__proto__: null,
|
|
408
|
+
actionName: actionName$j,
|
|
409
|
+
authorizations: authorizations$j
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
const authorizations$i = [{ permissions: [active, special], actor: _admin }];
|
|
413
|
+
const actionName$i = "dpfail";
|
|
414
|
+
|
|
415
|
+
const failDeposit = {
|
|
416
|
+
__proto__: null,
|
|
417
|
+
actionName: actionName$i,
|
|
418
|
+
authorizations: authorizations$i
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
const authorizations$h = [{ permissions: [active], actor: _gateway }];
|
|
422
|
+
const actionName$h = "newdepositid";
|
|
423
|
+
|
|
424
|
+
const newDepositId = {
|
|
425
|
+
__proto__: null,
|
|
426
|
+
actionName: actionName$h,
|
|
427
|
+
authorizations: authorizations$h
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
const authorizations$g = [{ permissions: [active], actor: _gateway }];
|
|
431
|
+
const actionName$g = "newwithdrid";
|
|
432
|
+
|
|
433
|
+
const newWithdrawId = {
|
|
434
|
+
__proto__: null,
|
|
435
|
+
actionName: actionName$g,
|
|
436
|
+
authorizations: authorizations$g
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
const authorizations$f = [{ permissions: [active], actor: _username }];
|
|
440
|
+
const actionName$f = "withdraw";
|
|
441
|
+
|
|
442
|
+
const createWithdraw = {
|
|
443
|
+
__proto__: null,
|
|
444
|
+
actionName: actionName$f,
|
|
445
|
+
authorizations: authorizations$f
|
|
159
446
|
};
|
|
160
447
|
|
|
161
|
-
const authorizations$e = [{ permissions: [active], actor:
|
|
162
|
-
const actionName$e = "
|
|
448
|
+
const authorizations$e = [{ permissions: [active, special], actor: _admin }];
|
|
449
|
+
const actionName$e = "wthdcomplete";
|
|
163
450
|
|
|
164
|
-
const
|
|
451
|
+
const completeWithdraw = {
|
|
165
452
|
__proto__: null,
|
|
166
453
|
actionName: actionName$e,
|
|
167
454
|
authorizations: authorizations$e
|
|
168
455
|
};
|
|
169
456
|
|
|
170
|
-
const authorizations$d = [{ permissions: [active], actor:
|
|
171
|
-
const actionName$d = "
|
|
457
|
+
const authorizations$d = [{ permissions: [active, special], actor: _admin }];
|
|
458
|
+
const actionName$d = "wthdfail";
|
|
172
459
|
|
|
173
|
-
const
|
|
460
|
+
const failWithdraw = {
|
|
174
461
|
__proto__: null,
|
|
175
462
|
actionName: actionName$d,
|
|
176
463
|
authorizations: authorizations$d
|
|
177
464
|
};
|
|
178
465
|
|
|
179
|
-
const
|
|
180
|
-
|
|
466
|
+
const index$8 = {
|
|
467
|
+
__proto__: null,
|
|
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$6 = "deposits";
|
|
479
|
+
const scope$6 = _gateway;
|
|
480
|
+
|
|
481
|
+
const deposits = {
|
|
482
|
+
__proto__: null,
|
|
483
|
+
scope: scope$6,
|
|
484
|
+
tableName: tableName$6
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
const tableName$5 = "withdraws";
|
|
488
|
+
const scope$5 = _gateway;
|
|
489
|
+
|
|
490
|
+
const withdraws = {
|
|
491
|
+
__proto__: null,
|
|
492
|
+
scope: scope$5,
|
|
493
|
+
tableName: tableName$5
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
const index$7 = {
|
|
497
|
+
__proto__: null,
|
|
498
|
+
Deposits: deposits,
|
|
499
|
+
Withdrws: withdraws
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
const gateway = {
|
|
503
|
+
__proto__: null
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
const contractName$2 = _gateway;
|
|
507
|
+
|
|
508
|
+
const index$6 = {
|
|
509
|
+
__proto__: null,
|
|
510
|
+
Actions: index$8,
|
|
511
|
+
Interfaces: gateway,
|
|
512
|
+
Tables: index$7,
|
|
513
|
+
contractName: contractName$2
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
const authorizations$c = [{ permissions: [active], actor: _system }];
|
|
517
|
+
const actionName$c = "verificate";
|
|
181
518
|
|
|
182
|
-
const
|
|
519
|
+
const verificateAccount = {
|
|
183
520
|
__proto__: null,
|
|
184
521
|
actionName: actionName$c,
|
|
185
522
|
authorizations: authorizations$c
|
|
186
523
|
};
|
|
187
524
|
|
|
188
|
-
const authorizations$b = [{ permissions: [active], actor:
|
|
189
|
-
const actionName$b = "
|
|
525
|
+
const authorizations$b = [{ permissions: [active], actor: _username }];
|
|
526
|
+
const actionName$b = "update";
|
|
190
527
|
|
|
191
|
-
const
|
|
528
|
+
const updateAccount = {
|
|
192
529
|
__proto__: null,
|
|
193
530
|
actionName: actionName$b,
|
|
194
531
|
authorizations: authorizations$b
|
|
195
532
|
};
|
|
196
533
|
|
|
197
|
-
const authorizations$a = [{ permissions: [active], actor:
|
|
198
|
-
const actionName$a = "
|
|
534
|
+
const authorizations$a = [{ permissions: [active], actor: _admin }];
|
|
535
|
+
const actionName$a = "newaccount";
|
|
199
536
|
|
|
200
|
-
const
|
|
537
|
+
const createAccount = {
|
|
201
538
|
__proto__: null,
|
|
202
539
|
actionName: actionName$a,
|
|
203
540
|
authorizations: authorizations$a
|
|
204
541
|
};
|
|
205
542
|
|
|
206
|
-
const authorizations$9 = [{ permissions: [active
|
|
207
|
-
const actionName$9 = "
|
|
543
|
+
const authorizations$9 = [{ permissions: [active], actor: _admin }];
|
|
544
|
+
const actionName$9 = "regorg";
|
|
208
545
|
|
|
209
|
-
const
|
|
546
|
+
const registerOrganization = {
|
|
210
547
|
__proto__: null,
|
|
211
548
|
actionName: actionName$9,
|
|
212
549
|
authorizations: authorizations$9
|
|
213
550
|
};
|
|
214
551
|
|
|
215
|
-
const authorizations$8 = [{ permissions: [active], actor:
|
|
216
|
-
const actionName$8 = "
|
|
552
|
+
const authorizations$8 = [{ permissions: [active], actor: _system }];
|
|
553
|
+
const actionName$8 = "changekey";
|
|
217
554
|
|
|
218
|
-
const
|
|
555
|
+
const changeKey = {
|
|
219
556
|
__proto__: null,
|
|
220
557
|
actionName: actionName$8,
|
|
221
558
|
authorizations: authorizations$8
|
|
222
559
|
};
|
|
223
560
|
|
|
224
|
-
const authorizations$7 = [{ permissions: [active], actor:
|
|
225
|
-
const actionName$7 = "
|
|
561
|
+
const authorizations$7 = [{ permissions: [active], actor: _admin }, { permissions: [active], actor: _username }];
|
|
562
|
+
const actionName$7 = "joincoop";
|
|
226
563
|
|
|
227
|
-
const
|
|
564
|
+
const joinCooperative = {
|
|
228
565
|
__proto__: null,
|
|
229
566
|
actionName: actionName$7,
|
|
230
567
|
authorizations: authorizations$7
|
|
231
568
|
};
|
|
232
569
|
|
|
233
|
-
const authorizations$6 = [{ permissions: [active], actor:
|
|
234
|
-
const actionName$6 = "
|
|
570
|
+
const authorizations$6 = [{ permissions: [active], actor: _soviet }];
|
|
571
|
+
const actionName$6 = "confirmreg";
|
|
235
572
|
|
|
236
|
-
const
|
|
573
|
+
const confirmJoin = {
|
|
237
574
|
__proto__: null,
|
|
238
575
|
actionName: actionName$6,
|
|
239
576
|
authorizations: authorizations$6
|
|
240
577
|
};
|
|
241
578
|
|
|
242
|
-
const
|
|
243
|
-
|
|
579
|
+
const index$5 = {
|
|
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$4 = "accounts";
|
|
591
|
+
const scope$4 = _registrator;
|
|
244
592
|
|
|
245
|
-
const
|
|
593
|
+
const accounts = {
|
|
594
|
+
__proto__: null,
|
|
595
|
+
scope: scope$4,
|
|
596
|
+
tableName: tableName$4
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
const tableName$3 = "orgs";
|
|
600
|
+
const scope$3 = _registrator;
|
|
601
|
+
|
|
602
|
+
const organizations = {
|
|
603
|
+
__proto__: null,
|
|
604
|
+
scope: scope$3,
|
|
605
|
+
tableName: tableName$3
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
const tableName$2 = "users";
|
|
609
|
+
const scope$2 = _coopname;
|
|
610
|
+
|
|
611
|
+
const users = {
|
|
612
|
+
__proto__: null,
|
|
613
|
+
scope: scope$2,
|
|
614
|
+
tableName: tableName$2
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
const index$4 = {
|
|
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$1 = _registrator;
|
|
629
|
+
|
|
630
|
+
const index$3 = {
|
|
631
|
+
__proto__: null,
|
|
632
|
+
Actions: index$5,
|
|
633
|
+
Interfaces: registrator,
|
|
634
|
+
Tables: index$4,
|
|
635
|
+
contractName: contractName$1
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
const authorizations$5 = [{ permissions: [active], actor: _username }];
|
|
639
|
+
const actionName$5 = "transfer";
|
|
640
|
+
|
|
641
|
+
const transfer = {
|
|
246
642
|
__proto__: null,
|
|
247
643
|
actionName: actionName$5,
|
|
248
644
|
authorizations: authorizations$5
|
|
249
645
|
};
|
|
250
646
|
|
|
251
|
-
const authorizations$4 = [
|
|
252
|
-
|
|
253
|
-
{ permissions: [active, special], actor: _admin },
|
|
254
|
-
{ permissions: [active], actor: _contract }
|
|
255
|
-
];
|
|
256
|
-
const actionName$4 = "fundwithdraw";
|
|
647
|
+
const authorizations$4 = [{ permissions: [active], actor: _username }];
|
|
648
|
+
const actionName$4 = "open";
|
|
257
649
|
|
|
258
|
-
const
|
|
650
|
+
const open = {
|
|
259
651
|
__proto__: null,
|
|
260
652
|
actionName: actionName$4,
|
|
261
653
|
authorizations: authorizations$4
|
|
262
654
|
};
|
|
263
655
|
|
|
264
|
-
const authorizations$3 = [{ permissions: [active], actor:
|
|
265
|
-
const actionName$3 = "
|
|
656
|
+
const authorizations$3 = [{ permissions: [active], actor: _username }];
|
|
657
|
+
const actionName$3 = "close";
|
|
266
658
|
|
|
267
|
-
const
|
|
659
|
+
const close = {
|
|
268
660
|
__proto__: null,
|
|
269
661
|
actionName: actionName$3,
|
|
270
662
|
authorizations: authorizations$3
|
|
271
663
|
};
|
|
272
664
|
|
|
273
|
-
const authorizations$2 = [{ permissions: [active], actor:
|
|
274
|
-
const actionName$2 = "
|
|
665
|
+
const authorizations$2 = [{ permissions: [active], actor: _system$1 }];
|
|
666
|
+
const actionName$2 = "create";
|
|
275
667
|
|
|
276
|
-
const
|
|
668
|
+
const create = {
|
|
277
669
|
__proto__: null,
|
|
278
670
|
actionName: actionName$2,
|
|
279
671
|
authorizations: authorizations$2
|
|
280
672
|
};
|
|
281
673
|
|
|
282
|
-
const authorizations$1 = [{ permissions: [active], actor:
|
|
283
|
-
const actionName$1 = "
|
|
674
|
+
const authorizations$1 = [{ permissions: [active], actor: "currencyStats.issuer" }];
|
|
675
|
+
const actionName$1 = "issue";
|
|
284
676
|
|
|
285
|
-
const
|
|
677
|
+
const issue = {
|
|
286
678
|
__proto__: null,
|
|
287
679
|
actionName: actionName$1,
|
|
288
680
|
authorizations: authorizations$1
|
|
289
681
|
};
|
|
290
682
|
|
|
291
|
-
const authorizations = [{ permissions: [active], actor:
|
|
292
|
-
const actionName = "
|
|
683
|
+
const authorizations = [{ permissions: [active], actor: "currencyStats.issuer" }];
|
|
684
|
+
const actionName = "retire";
|
|
293
685
|
|
|
294
|
-
const
|
|
686
|
+
const retire = {
|
|
295
687
|
__proto__: null,
|
|
296
688
|
actionName: actionName,
|
|
297
689
|
authorizations: authorizations
|
|
298
690
|
};
|
|
299
691
|
|
|
300
|
-
const index$
|
|
301
|
-
__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;
|
|
321
|
-
|
|
322
|
-
const index$5 = {
|
|
323
|
-
__proto__: null,
|
|
324
|
-
scope: scope$3,
|
|
325
|
-
tableName: tableName$3
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
const tableName$2 = "expfunds";
|
|
329
|
-
const scope$2 = _fund;
|
|
330
|
-
|
|
331
|
-
const index$4 = {
|
|
692
|
+
const index$2 = {
|
|
332
693
|
__proto__: null,
|
|
333
|
-
|
|
334
|
-
|
|
694
|
+
close: close,
|
|
695
|
+
create: create,
|
|
696
|
+
issue: issue,
|
|
697
|
+
open: open,
|
|
698
|
+
retire: retire,
|
|
699
|
+
transfer: transfer
|
|
335
700
|
};
|
|
336
701
|
|
|
337
|
-
const tableName$1 = "
|
|
338
|
-
const scope$1 =
|
|
702
|
+
const tableName$1 = "accounts";
|
|
703
|
+
const scope$1 = _username;
|
|
339
704
|
|
|
340
|
-
const
|
|
705
|
+
const accountBalance = {
|
|
341
706
|
__proto__: null,
|
|
342
707
|
scope: scope$1,
|
|
343
708
|
tableName: tableName$1
|
|
344
709
|
};
|
|
345
710
|
|
|
346
|
-
const tableName = "
|
|
347
|
-
const scope =
|
|
711
|
+
const tableName = "stat";
|
|
712
|
+
const scope = "AXON";
|
|
348
713
|
|
|
349
|
-
const
|
|
714
|
+
const currencyStats = {
|
|
350
715
|
__proto__: null,
|
|
351
716
|
scope: scope,
|
|
352
717
|
tableName: tableName
|
|
@@ -354,28 +719,27 @@ const index$2 = {
|
|
|
354
719
|
|
|
355
720
|
const index$1 = {
|
|
356
721
|
__proto__: null,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
FundWallet: index$3,
|
|
360
|
-
FundWithdraws: index$2
|
|
722
|
+
AccountBalance: accountBalance,
|
|
723
|
+
CurrencyStats: currencyStats
|
|
361
724
|
};
|
|
362
725
|
|
|
363
|
-
const
|
|
726
|
+
const eosio_token = {
|
|
364
727
|
__proto__: null
|
|
365
728
|
};
|
|
366
729
|
|
|
367
|
-
const contractName =
|
|
730
|
+
const contractName = _token;
|
|
368
731
|
|
|
369
732
|
const index = {
|
|
370
733
|
__proto__: null,
|
|
371
|
-
Actions: index$
|
|
372
|
-
Interfaces:
|
|
734
|
+
Actions: index$2,
|
|
735
|
+
Interfaces: eosio_token,
|
|
373
736
|
Tables: index$1,
|
|
374
737
|
contractName: contractName
|
|
375
738
|
};
|
|
376
739
|
|
|
377
|
-
exports.
|
|
378
|
-
exports.
|
|
379
|
-
exports.
|
|
380
|
-
exports.
|
|
381
|
-
exports.
|
|
740
|
+
exports.DraftContract = index$c;
|
|
741
|
+
exports.FundContract = index$9;
|
|
742
|
+
exports.GatewayContract = index$6;
|
|
743
|
+
exports.RegistratorContract = index$3;
|
|
744
|
+
exports.TokenContract = index;
|
|
745
|
+
exports._Common = index$f;
|