cooptypes 0.5.26 → 0.5.27
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 +88 -83
- package/dist/index.d.cts +140 -121
- package/dist/index.d.mts +140 -121
- package/dist/index.d.ts +140 -121
- package/dist/index.mjs +78 -73
- package/package.json +1 -1
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$
|
|
11
|
+
const index$I = {
|
|
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$
|
|
63
|
+
const index$H = {
|
|
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$
|
|
84
|
+
const index$G = {
|
|
85
85
|
__proto__: null,
|
|
86
86
|
active: active,
|
|
87
87
|
owner: owner,
|
|
88
88
|
special: special
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
const index$
|
|
91
|
+
const index$F = {
|
|
92
92
|
__proto__: null,
|
|
93
|
-
Actors: index$
|
|
94
|
-
ContractNames: index$
|
|
95
|
-
Permissions: index$
|
|
93
|
+
Actors: index$I,
|
|
94
|
+
ContractNames: index$H,
|
|
95
|
+
Permissions: index$G
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
const authorizations$2g = [{ permissions: [active], actor: _system }];
|
|
@@ -140,7 +140,7 @@ const newId = {
|
|
|
140
140
|
authorizations: authorizations$2c
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
const index$
|
|
143
|
+
const index$E = {
|
|
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$
|
|
170
|
+
const index$D = {
|
|
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$
|
|
182
|
+
const index$C = {
|
|
183
183
|
__proto__: null,
|
|
184
|
-
Actions: index$
|
|
184
|
+
Actions: index$E,
|
|
185
185
|
Interfaces: draft,
|
|
186
|
-
Tables: index$
|
|
186
|
+
Tables: index$D,
|
|
187
187
|
contractName: contractName$9
|
|
188
188
|
};
|
|
189
189
|
|
|
@@ -326,7 +326,7 @@ const subCirculation = {
|
|
|
326
326
|
authorizations: authorizations$1Z
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
const index$
|
|
329
|
+
const index$B = {
|
|
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$
|
|
384
|
+
const index$A = {
|
|
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$
|
|
398
|
+
const index$z = {
|
|
399
399
|
__proto__: null,
|
|
400
|
-
Actions: index$
|
|
400
|
+
Actions: index$B,
|
|
401
401
|
Interfaces: fund,
|
|
402
|
-
Tables: index$
|
|
402
|
+
Tables: index$A,
|
|
403
403
|
contractName: contractName$8
|
|
404
404
|
};
|
|
405
405
|
|
|
@@ -475,7 +475,7 @@ const failWithdraw = {
|
|
|
475
475
|
authorizations: authorizations$1R
|
|
476
476
|
};
|
|
477
477
|
|
|
478
|
-
const index$
|
|
478
|
+
const index$y = {
|
|
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$
|
|
508
|
+
const index$x = {
|
|
509
509
|
__proto__: null,
|
|
510
510
|
Deposits: deposits,
|
|
511
511
|
Withdraws: withdraws
|
|
@@ -517,11 +517,11 @@ const gateway = {
|
|
|
517
517
|
|
|
518
518
|
const contractName$7 = _gateway;
|
|
519
519
|
|
|
520
|
-
const index$
|
|
520
|
+
const index$w = {
|
|
521
521
|
__proto__: null,
|
|
522
|
-
Actions: index$
|
|
522
|
+
Actions: index$y,
|
|
523
523
|
Interfaces: gateway,
|
|
524
|
-
Tables: index$
|
|
524
|
+
Tables: index$x,
|
|
525
525
|
contractName: contractName$7
|
|
526
526
|
};
|
|
527
527
|
|
|
@@ -606,7 +606,7 @@ const init$2 = {
|
|
|
606
606
|
authorizations: authorizations$1I
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
const index$
|
|
609
|
+
const index$v = {
|
|
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$
|
|
640
|
+
const index$u = {
|
|
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$
|
|
652
|
+
const index$t = {
|
|
653
653
|
__proto__: null,
|
|
654
|
-
Actions: index$
|
|
654
|
+
Actions: index$v,
|
|
655
655
|
Interfaces: registrator,
|
|
656
|
-
Tables: index$
|
|
656
|
+
Tables: index$u,
|
|
657
657
|
contractName: contractName$6
|
|
658
658
|
};
|
|
659
659
|
|
|
@@ -711,7 +711,7 @@ const retire = {
|
|
|
711
711
|
authorizations: authorizations$1C
|
|
712
712
|
};
|
|
713
713
|
|
|
714
|
-
const index$
|
|
714
|
+
const index$s = {
|
|
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$
|
|
742
|
+
const index$r = {
|
|
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$
|
|
754
|
+
const index$q = {
|
|
755
755
|
__proto__: null,
|
|
756
|
-
Actions: index$
|
|
756
|
+
Actions: index$s,
|
|
757
757
|
Interfaces: token,
|
|
758
|
-
Tables: index$
|
|
758
|
+
Tables: index$r,
|
|
759
759
|
contractName: contractName$5
|
|
760
760
|
};
|
|
761
761
|
|
|
@@ -813,7 +813,7 @@ const newprogram = {
|
|
|
813
813
|
authorizations: authorizations$1w
|
|
814
814
|
};
|
|
815
815
|
|
|
816
|
-
const index$
|
|
816
|
+
const index$p = {
|
|
817
817
|
__proto__: null,
|
|
818
818
|
NewAct: newact,
|
|
819
819
|
NewBatch: newbatch,
|
|
@@ -850,7 +850,7 @@ const editAddress = {
|
|
|
850
850
|
authorizations: authorizations$1t
|
|
851
851
|
};
|
|
852
852
|
|
|
853
|
-
const index$
|
|
853
|
+
const index$o = {
|
|
854
854
|
__proto__: null,
|
|
855
855
|
CreateAddress: createAddress,
|
|
856
856
|
DeleteAddress: deleteAddress,
|
|
@@ -933,7 +933,7 @@ const subProgramBalance = {
|
|
|
933
933
|
authorizations: authorizations$1n
|
|
934
934
|
};
|
|
935
935
|
|
|
936
|
-
const index$
|
|
936
|
+
const index$n = {
|
|
937
937
|
__proto__: null,
|
|
938
938
|
AddBalance: addBalance,
|
|
939
939
|
AddProgramBalance: addProgramBalance,
|
|
@@ -976,7 +976,7 @@ const disableMarketProgram = {
|
|
|
976
976
|
authorizations: authorizations$1k
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
const index$
|
|
979
|
+
const index$m = {
|
|
980
980
|
__proto__: null,
|
|
981
981
|
CreateMarketProgram: createMarketProgram,
|
|
982
982
|
DisableMarketProgram: disableMarketProgram,
|
|
@@ -1126,7 +1126,7 @@ const disautomate = {
|
|
|
1126
1126
|
authorizations: authorizations$17
|
|
1127
1127
|
};
|
|
1128
1128
|
|
|
1129
|
-
const index$
|
|
1129
|
+
const index$l = {
|
|
1130
1130
|
__proto__: null,
|
|
1131
1131
|
Authorize: authorize$1,
|
|
1132
1132
|
Automate: automate,
|
|
@@ -1161,7 +1161,7 @@ const updateBoard = {
|
|
|
1161
1161
|
authorizations: authorizations$15
|
|
1162
1162
|
};
|
|
1163
1163
|
|
|
1164
|
-
const index$
|
|
1164
|
+
const index$k = {
|
|
1165
1165
|
__proto__: null,
|
|
1166
1166
|
CreateBoard: createBoard,
|
|
1167
1167
|
UpdateBoard: updateBoard
|
|
@@ -1222,7 +1222,7 @@ const init$1 = {
|
|
|
1222
1222
|
authorizations: authorizations$10
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
|
-
const index$
|
|
1225
|
+
const index$j = {
|
|
1226
1226
|
__proto__: null,
|
|
1227
1227
|
AddAdmin: addAdmin,
|
|
1228
1228
|
DeleteAdmin: deleteAdmin,
|
|
@@ -1231,15 +1231,15 @@ const index$i = {
|
|
|
1231
1231
|
SetRights: setRights
|
|
1232
1232
|
};
|
|
1233
1233
|
|
|
1234
|
-
const index$
|
|
1234
|
+
const index$i = {
|
|
1235
1235
|
__proto__: null,
|
|
1236
|
-
Addresses: index$
|
|
1237
|
-
Admins: index$
|
|
1238
|
-
Boards: index$
|
|
1239
|
-
Decisions: index$
|
|
1240
|
-
Programs: index$
|
|
1241
|
-
Registry: index$
|
|
1242
|
-
Wallet: index$
|
|
1236
|
+
Addresses: index$o,
|
|
1237
|
+
Admins: index$j,
|
|
1238
|
+
Boards: index$k,
|
|
1239
|
+
Decisions: index$l,
|
|
1240
|
+
Programs: index$m,
|
|
1241
|
+
Registry: index$p,
|
|
1242
|
+
Wallet: index$n
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
1245
|
const tableName$s = "addresses";
|
|
@@ -1350,7 +1350,7 @@ const wallets = {
|
|
|
1350
1350
|
tableName: tableName$h
|
|
1351
1351
|
};
|
|
1352
1352
|
|
|
1353
|
-
const index$
|
|
1353
|
+
const index$h = {
|
|
1354
1354
|
__proto__: null,
|
|
1355
1355
|
Addresses: addresses,
|
|
1356
1356
|
Admins: admins,
|
|
@@ -1372,11 +1372,11 @@ const soviet = {
|
|
|
1372
1372
|
|
|
1373
1373
|
const contractName$4 = _soviet;
|
|
1374
1374
|
|
|
1375
|
-
const index$
|
|
1375
|
+
const index$g = {
|
|
1376
1376
|
__proto__: null,
|
|
1377
|
-
Actions: index$
|
|
1377
|
+
Actions: index$i,
|
|
1378
1378
|
Interfaces: soviet,
|
|
1379
|
-
Tables: index$
|
|
1379
|
+
Tables: index$h,
|
|
1380
1380
|
contractName: contractName$4
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
@@ -1551,7 +1551,7 @@ const updateRequest = {
|
|
|
1551
1551
|
authorizations: authorizations$J
|
|
1552
1552
|
};
|
|
1553
1553
|
|
|
1554
|
-
const index$
|
|
1554
|
+
const index$f = {
|
|
1555
1555
|
__proto__: null,
|
|
1556
1556
|
AcceptRequest: acceptRequest,
|
|
1557
1557
|
Authorize: authorize,
|
|
@@ -1583,7 +1583,7 @@ const requests = {
|
|
|
1583
1583
|
tableName: tableName$g
|
|
1584
1584
|
};
|
|
1585
1585
|
|
|
1586
|
-
const index$
|
|
1586
|
+
const index$e = {
|
|
1587
1587
|
__proto__: null,
|
|
1588
1588
|
Requests: requests
|
|
1589
1589
|
};
|
|
@@ -1594,11 +1594,11 @@ const marketplace = {
|
|
|
1594
1594
|
|
|
1595
1595
|
const contractName$3 = _marketplace;
|
|
1596
1596
|
|
|
1597
|
-
const index$
|
|
1597
|
+
const index$d = {
|
|
1598
1598
|
__proto__: null,
|
|
1599
|
-
Actions: index$
|
|
1599
|
+
Actions: index$f,
|
|
1600
1600
|
Interfaces: marketplace,
|
|
1601
|
-
Tables: index$
|
|
1601
|
+
Tables: index$e,
|
|
1602
1602
|
contractName: contractName$3
|
|
1603
1603
|
};
|
|
1604
1604
|
|
|
@@ -1656,7 +1656,7 @@ const invalidateAccount = {
|
|
|
1656
1656
|
authorizations: authorizations$D
|
|
1657
1657
|
};
|
|
1658
1658
|
|
|
1659
|
-
const index$
|
|
1659
|
+
const index$c = {
|
|
1660
1660
|
__proto__: null,
|
|
1661
1661
|
ApproveProposal: approveProposal,
|
|
1662
1662
|
CancelProposal: cancelProposal,
|
|
@@ -1702,7 +1702,7 @@ const proposals = {
|
|
|
1702
1702
|
tableName: tableName$c
|
|
1703
1703
|
};
|
|
1704
1704
|
|
|
1705
|
-
const index$
|
|
1705
|
+
const index$b = {
|
|
1706
1706
|
__proto__: null,
|
|
1707
1707
|
Approvals: approvals,
|
|
1708
1708
|
Approvals2: approvals2,
|
|
@@ -1716,11 +1716,11 @@ const msig = {
|
|
|
1716
1716
|
|
|
1717
1717
|
const contractName$2 = _msig;
|
|
1718
1718
|
|
|
1719
|
-
const index$
|
|
1719
|
+
const index$a = {
|
|
1720
1720
|
__proto__: null,
|
|
1721
|
-
Actions: index$
|
|
1721
|
+
Actions: index$c,
|
|
1722
1722
|
Interfaces: msig,
|
|
1723
|
-
Tables: index$
|
|
1723
|
+
Tables: index$b,
|
|
1724
1724
|
contractName: contractName$2
|
|
1725
1725
|
};
|
|
1726
1726
|
|
|
@@ -1733,7 +1733,7 @@ const exec = {
|
|
|
1733
1733
|
authorizations: authorizations$C
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
|
-
const index$
|
|
1736
|
+
const index$9 = {
|
|
1737
1737
|
__proto__: null,
|
|
1738
1738
|
Exec: exec
|
|
1739
1739
|
};
|
|
@@ -1744,9 +1744,9 @@ const wrap = {
|
|
|
1744
1744
|
|
|
1745
1745
|
const contractName$1 = _wrap;
|
|
1746
1746
|
|
|
1747
|
-
const index$
|
|
1747
|
+
const index$8 = {
|
|
1748
1748
|
__proto__: null,
|
|
1749
|
-
Actions: index$
|
|
1749
|
+
Actions: index$9,
|
|
1750
1750
|
Interfaces: wrap,
|
|
1751
1751
|
contractName: contractName$1
|
|
1752
1752
|
};
|
|
@@ -2098,7 +2098,7 @@ const cancelDelay = {
|
|
|
2098
2098
|
authorizations: authorizations
|
|
2099
2099
|
};
|
|
2100
2100
|
|
|
2101
|
-
const index$
|
|
2101
|
+
const index$7 = {
|
|
2102
2102
|
__proto__: null,
|
|
2103
2103
|
ActivateFeature: activateFeature,
|
|
2104
2104
|
BidName: bidName,
|
|
@@ -2248,7 +2248,7 @@ const voters = {
|
|
|
2248
2248
|
tableName: tableName
|
|
2249
2249
|
};
|
|
2250
2250
|
|
|
2251
|
-
const index$
|
|
2251
|
+
const index$6 = {
|
|
2252
2252
|
__proto__: null,
|
|
2253
2253
|
BidRefunds: bidRefunds,
|
|
2254
2254
|
NameBids: nameBids,
|
|
@@ -2270,14 +2270,18 @@ const system = {
|
|
|
2270
2270
|
|
|
2271
2271
|
const contractName = _system;
|
|
2272
2272
|
|
|
2273
|
-
const index$
|
|
2273
|
+
const index$5 = {
|
|
2274
2274
|
__proto__: null,
|
|
2275
|
-
Actions: index$
|
|
2275
|
+
Actions: index$7,
|
|
2276
2276
|
Interfaces: system,
|
|
2277
|
-
Tables: index$
|
|
2277
|
+
Tables: index$6,
|
|
2278
2278
|
contractName: contractName
|
|
2279
2279
|
};
|
|
2280
2280
|
|
|
2281
|
+
const index$4 = {
|
|
2282
|
+
__proto__: null
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2281
2285
|
const index$3 = {
|
|
2282
2286
|
__proto__: null
|
|
2283
2287
|
};
|
|
@@ -2292,20 +2296,21 @@ const index$1 = {
|
|
|
2292
2296
|
|
|
2293
2297
|
const index = {
|
|
2294
2298
|
__proto__: null,
|
|
2295
|
-
Blockchain: index$
|
|
2296
|
-
Documents: index$
|
|
2297
|
-
|
|
2299
|
+
Blockchain: index$2,
|
|
2300
|
+
Documents: index$4,
|
|
2301
|
+
Model: index$1,
|
|
2302
|
+
Users: index$3
|
|
2298
2303
|
};
|
|
2299
2304
|
|
|
2300
2305
|
exports.Cooperative = index;
|
|
2301
|
-
exports.DraftContract = index$
|
|
2302
|
-
exports.FundContract = index$
|
|
2303
|
-
exports.GatewayContract = index$
|
|
2304
|
-
exports.MarketContract = index$
|
|
2305
|
-
exports.MsigContract = index$
|
|
2306
|
-
exports.RegistratorContract = index$
|
|
2307
|
-
exports.SovietContract = index$
|
|
2308
|
-
exports.SystemContract = index$
|
|
2309
|
-
exports.TokenContract = index$
|
|
2310
|
-
exports.WrapContract = index$
|
|
2311
|
-
exports._Common = index$
|
|
2306
|
+
exports.DraftContract = index$C;
|
|
2307
|
+
exports.FundContract = index$z;
|
|
2308
|
+
exports.GatewayContract = index$w;
|
|
2309
|
+
exports.MarketContract = index$d;
|
|
2310
|
+
exports.MsigContract = index$a;
|
|
2311
|
+
exports.RegistratorContract = index$t;
|
|
2312
|
+
exports.SovietContract = index$g;
|
|
2313
|
+
exports.SystemContract = index$5;
|
|
2314
|
+
exports.TokenContract = index$q;
|
|
2315
|
+
exports.WrapContract = index$8;
|
|
2316
|
+
exports._Common = index$F;
|