cooptypes 0.5.19 → 0.5.22

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/README.md CHANGED
@@ -6,7 +6,9 @@
6
6
  [![JSDocs][jsdocs-src]][jsdocs-href]
7
7
  [![License][license-src]][license-href]
8
8
 
9
- Модуль cooptypes содержит информацию для работы со смарт-контрактами кооперативной экономики. В этом модуле представлены реестры действий и таблиц каждого смарт-контракта, а также имена аккаунтов для разных блокчейн-сетей.
9
+ Модуль cooptypes содержит информацию для работы со смарт-контрактами кооперативной
10
+ экономики. В этом модуле представлены реестры действий и таблиц каждого
11
+ смарт-контракта, а также имена аккаунтов для разных блокчейн-сетей.
10
12
 
11
13
  Каждое действие содержит интерфейс транзакции, информацию о требуемой авторизации и имя действия, которое нужно вызвать на уровне смарт-контракта.
12
14
 
package/dist/index.cjs CHANGED
@@ -8,7 +8,7 @@ const _admin = "_admin";
8
8
  const _contract = "_contract";
9
9
  const _system$1 = "_system";
10
10
 
11
- const index$C = {
11
+ const index$G = {
12
12
  __proto__: null,
13
13
  _admin: _admin,
14
14
  _chairman: _chairman,
@@ -60,7 +60,7 @@ const _wrap = {
60
60
  testnet: "eosio.wrap"
61
61
  };
62
62
 
63
- const index$B = {
63
+ const index$F = {
64
64
  __proto__: null,
65
65
  _draft: _draft,
66
66
  _fund: _fund,
@@ -81,18 +81,18 @@ const special = {
81
81
  action: "actionName"
82
82
  };
83
83
 
84
- const index$A = {
84
+ const index$E = {
85
85
  __proto__: null,
86
86
  active: active,
87
87
  owner: owner,
88
88
  special: special
89
89
  };
90
90
 
91
- const index$z = {
91
+ const index$D = {
92
92
  __proto__: null,
93
- Actors: index$C,
94
- ContractNames: index$B,
95
- Permissions: index$A
93
+ Actors: index$G,
94
+ ContractNames: index$F,
95
+ Permissions: index$E
96
96
  };
97
97
 
98
98
  const authorizations$2b = [{ permissions: [active], actor: _system }];
@@ -140,7 +140,7 @@ const newId = {
140
140
  authorizations: authorizations$27
141
141
  };
142
142
 
143
- const index$y = {
143
+ const index$C = {
144
144
  __proto__: null,
145
145
  CreateDraft: createDraft,
146
146
  CreateTranslation: createTranslation,
@@ -167,7 +167,7 @@ const translations = {
167
167
  tableName: tableName$D
168
168
  };
169
169
 
170
- const index$x = {
170
+ const index$B = {
171
171
  __proto__: null,
172
172
  Drafts: drafts,
173
173
  Translations: translations
@@ -179,11 +179,11 @@ const draft = {
179
179
 
180
180
  const contractName$9 = _draft;
181
181
 
182
- const index$w = {
182
+ const index$A = {
183
183
  __proto__: null,
184
- Actions: index$y,
184
+ Actions: index$C,
185
185
  Interfaces: draft,
186
- Tables: index$x,
186
+ Tables: index$B,
187
187
  contractName: contractName$9
188
188
  };
189
189
 
@@ -326,7 +326,7 @@ const subCirculation = {
326
326
  authorizations: authorizations$1U
327
327
  };
328
328
 
329
- const index$v = {
329
+ const index$z = {
330
330
  __proto__: null,
331
331
  AddAccumulation: addAccumulation,
332
332
  AddCirculation: addCirculation,
@@ -381,7 +381,7 @@ const fundWithdraws = {
381
381
  tableName: tableName$z
382
382
  };
383
383
 
384
- const index$u = {
384
+ const index$y = {
385
385
  __proto__: null,
386
386
  AccumulatedFunds: accumulationFunds,
387
387
  ExpensedFunds: expenseFunds,
@@ -395,11 +395,11 @@ const fund = {
395
395
 
396
396
  const contractName$8 = _fund;
397
397
 
398
- const index$t = {
398
+ const index$x = {
399
399
  __proto__: null,
400
- Actions: index$v,
400
+ Actions: index$z,
401
401
  Interfaces: fund,
402
- Tables: index$u,
402
+ Tables: index$y,
403
403
  contractName: contractName$8
404
404
  };
405
405
 
@@ -475,7 +475,7 @@ const failWithdraw = {
475
475
  authorizations: authorizations$1M
476
476
  };
477
477
 
478
- const index$s = {
478
+ const index$w = {
479
479
  __proto__: null,
480
480
  CompleteDeposit: completeDeposit,
481
481
  CompleteWithdraw: completeWithdraw,
@@ -505,7 +505,7 @@ const withdraws = {
505
505
  tableName: tableName$x
506
506
  };
507
507
 
508
- const index$r = {
508
+ const index$v = {
509
509
  __proto__: null,
510
510
  Deposits: deposits,
511
511
  Withdrws: withdraws
@@ -517,11 +517,11 @@ const gateway = {
517
517
 
518
518
  const contractName$7 = _gateway;
519
519
 
520
- const index$q = {
520
+ const index$u = {
521
521
  __proto__: null,
522
- Actions: index$s,
522
+ Actions: index$w,
523
523
  Interfaces: gateway,
524
- Tables: index$r,
524
+ Tables: index$v,
525
525
  contractName: contractName$7
526
526
  };
527
527
 
@@ -606,7 +606,7 @@ const init$1 = {
606
606
  authorizations: authorizations$1D
607
607
  };
608
608
 
609
- const index$p = {
609
+ const index$t = {
610
610
  __proto__: null,
611
611
  ChangeKey: changeKey,
612
612
  ConfirmJoin: confirmJoin,
@@ -637,7 +637,7 @@ const organizations = {
637
637
  tableName: tableName$v
638
638
  };
639
639
 
640
- const index$o = {
640
+ const index$s = {
641
641
  __proto__: null,
642
642
  Accounts: accounts,
643
643
  Organizations: organizations
@@ -649,11 +649,11 @@ const registrator = {
649
649
 
650
650
  const contractName$6 = _registrator;
651
651
 
652
- const index$n = {
652
+ const index$r = {
653
653
  __proto__: null,
654
- Actions: index$p,
654
+ Actions: index$t,
655
655
  Interfaces: registrator,
656
- Tables: index$o,
656
+ Tables: index$s,
657
657
  contractName: contractName$6
658
658
  };
659
659
 
@@ -711,7 +711,7 @@ const retire = {
711
711
  authorizations: authorizations$1x
712
712
  };
713
713
 
714
- const index$m = {
714
+ const index$q = {
715
715
  __proto__: null,
716
716
  Close: close,
717
717
  Create: create,
@@ -739,7 +739,7 @@ const currencyStats = {
739
739
  tableName: tableName$t
740
740
  };
741
741
 
742
- const index$l = {
742
+ const index$p = {
743
743
  __proto__: null,
744
744
  AccountBalance: accountBalance,
745
745
  CurrencyStats: currencyStats
@@ -751,11 +751,11 @@ const token = {
751
751
 
752
752
  const contractName$5 = _token;
753
753
 
754
- const index$k = {
754
+ const index$o = {
755
755
  __proto__: null,
756
- Actions: index$m,
756
+ Actions: index$q,
757
757
  Interfaces: token,
758
- Tables: index$l,
758
+ Tables: index$p,
759
759
  contractName: contractName$5
760
760
  };
761
761
 
@@ -813,7 +813,7 @@ const newprogram = {
813
813
  authorizations: authorizations$1r
814
814
  };
815
815
 
816
- const index$j = {
816
+ const index$n = {
817
817
  __proto__: null,
818
818
  NewAct: newact,
819
819
  NewBatch: newbatch,
@@ -850,7 +850,7 @@ const editAddress = {
850
850
  authorizations: authorizations$1o
851
851
  };
852
852
 
853
- const index$i = {
853
+ const index$m = {
854
854
  __proto__: null,
855
855
  CreateAddress: createAddress,
856
856
  DeleteAddress: deleteAddress,
@@ -933,7 +933,7 @@ const subProgramBalance = {
933
933
  authorizations: authorizations$1i
934
934
  };
935
935
 
936
- const index$h = {
936
+ const index$l = {
937
937
  __proto__: null,
938
938
  AddBalance: addBalance,
939
939
  AddProgramBalance: addProgramBalance,
@@ -976,7 +976,7 @@ const disableMarketProgram = {
976
976
  authorizations: authorizations$1f
977
977
  };
978
978
 
979
- const index$g = {
979
+ const index$k = {
980
980
  __proto__: null,
981
981
  CreateMarketProgram: createMarketProgram,
982
982
  DisableMarketProgram: disableMarketProgram,
@@ -1126,7 +1126,7 @@ const disautomate = {
1126
1126
  authorizations: authorizations$12
1127
1127
  };
1128
1128
 
1129
- const index$f = {
1129
+ const index$j = {
1130
1130
  __proto__: null,
1131
1131
  Authorize: authorize$1,
1132
1132
  Automate: automate,
@@ -1161,20 +1161,20 @@ const updateBoard = {
1161
1161
  authorizations: authorizations$10
1162
1162
  };
1163
1163
 
1164
- const index$e = {
1164
+ const index$i = {
1165
1165
  __proto__: null,
1166
1166
  CreateBoard: createBoard,
1167
1167
  UpdateBoard: updateBoard
1168
1168
  };
1169
1169
 
1170
- const index$d = {
1170
+ const index$h = {
1171
1171
  __proto__: null,
1172
- Addresses: index$i,
1173
- Boards: index$e,
1174
- Decisions: index$f,
1175
- Programs: index$g,
1176
- Registry: index$j,
1177
- Wallet: index$h
1172
+ Addresses: index$m,
1173
+ Boards: index$i,
1174
+ Decisions: index$j,
1175
+ Programs: index$k,
1176
+ Registry: index$n,
1177
+ Wallet: index$l
1178
1178
  };
1179
1179
 
1180
1180
  const tableName$s = "addresses";
@@ -1285,7 +1285,7 @@ const wallets = {
1285
1285
  tableName: tableName$h
1286
1286
  };
1287
1287
 
1288
- const index$c = {
1288
+ const index$g = {
1289
1289
  __proto__: null,
1290
1290
  Addresses: addresses,
1291
1291
  Admins: admins,
@@ -1307,11 +1307,11 @@ const soviet = {
1307
1307
 
1308
1308
  const contractName$4 = _soviet;
1309
1309
 
1310
- const index$b = {
1310
+ const index$f = {
1311
1311
  __proto__: null,
1312
- Actions: index$d,
1312
+ Actions: index$h,
1313
1313
  Interfaces: soviet,
1314
- Tables: index$c,
1314
+ Tables: index$g,
1315
1315
  contractName: contractName$4
1316
1316
  };
1317
1317
 
@@ -1486,7 +1486,7 @@ const updateRequest = {
1486
1486
  authorizations: authorizations$J
1487
1487
  };
1488
1488
 
1489
- const index$a = {
1489
+ const index$e = {
1490
1490
  __proto__: null,
1491
1491
  AcceptRequest: acceptRequest,
1492
1492
  Authorize: authorize,
@@ -1518,7 +1518,7 @@ const requests = {
1518
1518
  tableName: tableName$g
1519
1519
  };
1520
1520
 
1521
- const index$9 = {
1521
+ const index$d = {
1522
1522
  __proto__: null,
1523
1523
  Requests: requests
1524
1524
  };
@@ -1529,11 +1529,11 @@ const marketplace = {
1529
1529
 
1530
1530
  const contractName$3 = _marketplace;
1531
1531
 
1532
- const index$8 = {
1532
+ const index$c = {
1533
1533
  __proto__: null,
1534
- Actions: index$a,
1534
+ Actions: index$e,
1535
1535
  Interfaces: marketplace,
1536
- Tables: index$9,
1536
+ Tables: index$d,
1537
1537
  contractName: contractName$3
1538
1538
  };
1539
1539
 
@@ -1591,7 +1591,7 @@ const invalidateAccount = {
1591
1591
  authorizations: authorizations$D
1592
1592
  };
1593
1593
 
1594
- const index$7 = {
1594
+ const index$b = {
1595
1595
  __proto__: null,
1596
1596
  ApproveProposal: approveProposal,
1597
1597
  CancelProposal: cancelProposal,
@@ -1637,7 +1637,7 @@ const proposals = {
1637
1637
  tableName: tableName$c
1638
1638
  };
1639
1639
 
1640
- const index$6 = {
1640
+ const index$a = {
1641
1641
  __proto__: null,
1642
1642
  Approvals: approvals,
1643
1643
  Approvals2: approvals2,
@@ -1651,11 +1651,11 @@ const msig = {
1651
1651
 
1652
1652
  const contractName$2 = _msig;
1653
1653
 
1654
- const index$5 = {
1654
+ const index$9 = {
1655
1655
  __proto__: null,
1656
- Actions: index$7,
1656
+ Actions: index$b,
1657
1657
  Interfaces: msig,
1658
- Tables: index$6,
1658
+ Tables: index$a,
1659
1659
  contractName: contractName$2
1660
1660
  };
1661
1661
 
@@ -1668,7 +1668,7 @@ const exec = {
1668
1668
  authorizations: authorizations$C
1669
1669
  };
1670
1670
 
1671
- const index$4 = {
1671
+ const index$8 = {
1672
1672
  __proto__: null,
1673
1673
  Exec: exec
1674
1674
  };
@@ -1679,9 +1679,9 @@ const wrap = {
1679
1679
 
1680
1680
  const contractName$1 = _wrap;
1681
1681
 
1682
- const index$3 = {
1682
+ const index$7 = {
1683
1683
  __proto__: null,
1684
- Actions: index$4,
1684
+ Actions: index$8,
1685
1685
  Interfaces: wrap,
1686
1686
  contractName: contractName$1
1687
1687
  };
@@ -2033,7 +2033,7 @@ const cancelDelay = {
2033
2033
  authorizations: authorizations
2034
2034
  };
2035
2035
 
2036
- const index$2 = {
2036
+ const index$6 = {
2037
2037
  __proto__: null,
2038
2038
  ActivateFeature: activateFeature,
2039
2039
  BidName: bidName,
@@ -2183,7 +2183,7 @@ const voters = {
2183
2183
  tableName: tableName
2184
2184
  };
2185
2185
 
2186
- const index$1 = {
2186
+ const index$5 = {
2187
2187
  __proto__: null,
2188
2188
  BidRefunds: bidRefunds,
2189
2189
  NameBids: nameBids,
@@ -2205,22 +2205,42 @@ const system = {
2205
2205
 
2206
2206
  const contractName = _system;
2207
2207
 
2208
- const index = {
2208
+ const index$4 = {
2209
2209
  __proto__: null,
2210
- Actions: index$2,
2210
+ Actions: index$6,
2211
2211
  Interfaces: system,
2212
- Tables: index$1,
2212
+ Tables: index$5,
2213
2213
  contractName: contractName
2214
2214
  };
2215
2215
 
2216
- exports.DraftContract = index$w;
2217
- exports.FundContract = index$t;
2218
- exports.GatewayContract = index$q;
2219
- exports.MarketContract = index$8;
2220
- exports.MsigContract = index$5;
2221
- exports.RegistratorContract = index$n;
2222
- exports.SovietContract = index$b;
2223
- exports.SystemContract = index;
2224
- exports.TokenContract = index$k;
2225
- exports.WrapContract = index$3;
2226
- exports._Common = index$z;
2216
+ const index$3 = {
2217
+ __proto__: null
2218
+ };
2219
+
2220
+ const index$2 = {
2221
+ __proto__: null
2222
+ };
2223
+
2224
+ const index$1 = {
2225
+ __proto__: null
2226
+ };
2227
+
2228
+ const index = {
2229
+ __proto__: null,
2230
+ Blockchain: index$1,
2231
+ Documents: index$3,
2232
+ Users: index$2
2233
+ };
2234
+
2235
+ exports.Cooperative = index;
2236
+ exports.DraftContract = index$A;
2237
+ exports.FundContract = index$x;
2238
+ exports.GatewayContract = index$u;
2239
+ exports.MarketContract = index$c;
2240
+ exports.MsigContract = index$9;
2241
+ exports.RegistratorContract = index$r;
2242
+ exports.SovietContract = index$f;
2243
+ exports.SystemContract = index$4;
2244
+ exports.TokenContract = index$o;
2245
+ exports.WrapContract = index$7;
2246
+ exports._Common = index$D;