cooptypes 0.5.4 → 0.5.7
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 +126 -136
- package/dist/index.d.cts +94 -221
- package/dist/index.d.mts +94 -221
- package/dist/index.d.ts +94 -221
- package/dist/index.mjs +126 -136
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -147,22 +147,22 @@ const index$y = {
|
|
|
147
147
|
newId: newId
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
const tableName$
|
|
151
|
-
const scope$
|
|
150
|
+
const tableName$E = "drafts";
|
|
151
|
+
const scope$E = _contract;
|
|
152
152
|
|
|
153
153
|
const drafts = {
|
|
154
154
|
__proto__: null,
|
|
155
|
-
scope: scope$
|
|
156
|
-
tableName: tableName$
|
|
155
|
+
scope: scope$E,
|
|
156
|
+
tableName: tableName$E
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
const tableName$
|
|
160
|
-
const scope$
|
|
159
|
+
const tableName$D = "translations";
|
|
160
|
+
const scope$D = _contract;
|
|
161
161
|
|
|
162
162
|
const translations = {
|
|
163
163
|
__proto__: null,
|
|
164
|
-
scope: scope$
|
|
165
|
-
tableName: tableName$
|
|
164
|
+
scope: scope$D,
|
|
165
|
+
tableName: tableName$D
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
const index$x = {
|
|
@@ -343,42 +343,42 @@ const index$v = {
|
|
|
343
343
|
SubCirculation: subCirculation
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
const tableName$
|
|
347
|
-
const scope$D = _fund;
|
|
348
|
-
|
|
349
|
-
const accumulationFunds = {
|
|
350
|
-
__proto__: null,
|
|
351
|
-
scope: scope$D,
|
|
352
|
-
tableName: tableName$D
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
const tableName$C = "expfunds";
|
|
346
|
+
const tableName$C = "accfunds";
|
|
356
347
|
const scope$C = _fund;
|
|
357
348
|
|
|
358
|
-
const
|
|
349
|
+
const accumulationFunds = {
|
|
359
350
|
__proto__: null,
|
|
360
351
|
scope: scope$C,
|
|
361
352
|
tableName: tableName$C
|
|
362
353
|
};
|
|
363
354
|
|
|
364
|
-
const tableName$B = "
|
|
355
|
+
const tableName$B = "expfunds";
|
|
365
356
|
const scope$B = _fund;
|
|
366
357
|
|
|
367
|
-
const
|
|
358
|
+
const expenseFunds = {
|
|
368
359
|
__proto__: null,
|
|
369
360
|
scope: scope$B,
|
|
370
361
|
tableName: tableName$B
|
|
371
362
|
};
|
|
372
363
|
|
|
373
|
-
const tableName$A = "
|
|
364
|
+
const tableName$A = "fundwallet";
|
|
374
365
|
const scope$A = _fund;
|
|
375
366
|
|
|
376
|
-
const
|
|
367
|
+
const fundWallet = {
|
|
377
368
|
__proto__: null,
|
|
378
369
|
scope: scope$A,
|
|
379
370
|
tableName: tableName$A
|
|
380
371
|
};
|
|
381
372
|
|
|
373
|
+
const tableName$z = "fwithdraws";
|
|
374
|
+
const scope$z = _fund;
|
|
375
|
+
|
|
376
|
+
const fundWithdraws = {
|
|
377
|
+
__proto__: null,
|
|
378
|
+
scope: scope$z,
|
|
379
|
+
tableName: tableName$z
|
|
380
|
+
};
|
|
381
|
+
|
|
382
382
|
const index$u = {
|
|
383
383
|
__proto__: null,
|
|
384
384
|
AccumulatedFunds: accumulationFunds,
|
|
@@ -485,22 +485,22 @@ const index$s = {
|
|
|
485
485
|
NewWithdrawId: newWithdrawId
|
|
486
486
|
};
|
|
487
487
|
|
|
488
|
-
const tableName$
|
|
489
|
-
const scope$
|
|
488
|
+
const tableName$y = "deposits";
|
|
489
|
+
const scope$y = _gateway;
|
|
490
490
|
|
|
491
491
|
const deposits = {
|
|
492
492
|
__proto__: null,
|
|
493
|
-
scope: scope$
|
|
494
|
-
tableName: tableName$
|
|
493
|
+
scope: scope$y,
|
|
494
|
+
tableName: tableName$y
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
const tableName$
|
|
498
|
-
const scope$
|
|
497
|
+
const tableName$x = "withdraws";
|
|
498
|
+
const scope$x = _gateway;
|
|
499
499
|
|
|
500
500
|
const withdraws = {
|
|
501
501
|
__proto__: null,
|
|
502
|
-
scope: scope$
|
|
503
|
-
tableName: tableName$
|
|
502
|
+
scope: scope$x,
|
|
503
|
+
tableName: tableName$x
|
|
504
504
|
};
|
|
505
505
|
|
|
506
506
|
const index$r = {
|
|
@@ -597,28 +597,19 @@ const index$p = {
|
|
|
597
597
|
VerificateAccount: verificateAccount
|
|
598
598
|
};
|
|
599
599
|
|
|
600
|
-
const tableName$
|
|
601
|
-
const scope$x = _registrator;
|
|
602
|
-
|
|
603
|
-
const accounts = {
|
|
604
|
-
__proto__: null,
|
|
605
|
-
scope: scope$x,
|
|
606
|
-
tableName: tableName$x
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
const tableName$w = "orgs";
|
|
600
|
+
const tableName$w = "accounts";
|
|
610
601
|
const scope$w = _registrator;
|
|
611
602
|
|
|
612
|
-
const
|
|
603
|
+
const accounts = {
|
|
613
604
|
__proto__: null,
|
|
614
605
|
scope: scope$w,
|
|
615
606
|
tableName: tableName$w
|
|
616
607
|
};
|
|
617
608
|
|
|
618
|
-
const tableName$v = "
|
|
619
|
-
const scope$v =
|
|
609
|
+
const tableName$v = "orgs";
|
|
610
|
+
const scope$v = _registrator;
|
|
620
611
|
|
|
621
|
-
const
|
|
612
|
+
const organizations = {
|
|
622
613
|
__proto__: null,
|
|
623
614
|
scope: scope$v,
|
|
624
615
|
tableName: tableName$v
|
|
@@ -627,8 +618,7 @@ const users = {
|
|
|
627
618
|
const index$o = {
|
|
628
619
|
__proto__: null,
|
|
629
620
|
Accounts: accounts,
|
|
630
|
-
Organizations: organizations
|
|
631
|
-
Users: users
|
|
621
|
+
Organizations: organizations
|
|
632
622
|
};
|
|
633
623
|
|
|
634
624
|
const registrator = {
|
|
@@ -794,11 +784,11 @@ const decision = {
|
|
|
794
784
|
|
|
795
785
|
const index$j = {
|
|
796
786
|
__proto__: null,
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
787
|
+
Act: act,
|
|
788
|
+
Batch: batch,
|
|
789
|
+
Decision: decision,
|
|
790
|
+
Draft: draft,
|
|
791
|
+
Statement: statement
|
|
802
792
|
};
|
|
803
793
|
|
|
804
794
|
const authorizations$1p = [{ permissions: [active], actor: _chairman }];
|
|
@@ -830,9 +820,9 @@ const editAddress = {
|
|
|
830
820
|
|
|
831
821
|
const index$i = {
|
|
832
822
|
__proto__: null,
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
823
|
+
CreateAddress: createAddress,
|
|
824
|
+
DeleteAddress: deleteAddress,
|
|
825
|
+
EditAddress: editAddress
|
|
836
826
|
};
|
|
837
827
|
|
|
838
828
|
const authorizations$1m = [
|
|
@@ -913,12 +903,12 @@ const subProgramBalance = {
|
|
|
913
903
|
|
|
914
904
|
const index$h = {
|
|
915
905
|
__proto__: null,
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
906
|
+
AddBalance: addBalance,
|
|
907
|
+
AddProgramBalance: addProgramBalance,
|
|
908
|
+
BlockBalance: blockBalance,
|
|
909
|
+
SubBalance: subBalance,
|
|
910
|
+
SubProgramBalance: subProgramBalance,
|
|
911
|
+
UnblockBalance: unblockBalance
|
|
922
912
|
};
|
|
923
913
|
|
|
924
914
|
const authorizations$1g = [
|
|
@@ -1106,19 +1096,19 @@ const disautomate = {
|
|
|
1106
1096
|
|
|
1107
1097
|
const index$f = {
|
|
1108
1098
|
__proto__: null,
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1099
|
+
Authorize: authorize$1,
|
|
1100
|
+
Automate: automate,
|
|
1101
|
+
CancelVote: cancelVote,
|
|
1102
|
+
Disautomate: disautomate,
|
|
1103
|
+
Exec: exec$1,
|
|
1104
|
+
FundWithdrawDecision: fundWithdrawDecision,
|
|
1105
|
+
JoinCoopDecision: joinCoopDecision,
|
|
1106
|
+
MarketDecision: marketDecision,
|
|
1107
|
+
ProductRecieved: productRecieved,
|
|
1108
|
+
Validate: validate,
|
|
1109
|
+
VoteAgainst: voteAgainst,
|
|
1110
|
+
VoteFor: voteFor,
|
|
1111
|
+
WithdrawDecision: withdrawDecision
|
|
1122
1112
|
};
|
|
1123
1113
|
|
|
1124
1114
|
const authorizations$10 = [{ permissions: [active], actor: _chairman }];
|
|
@@ -1466,25 +1456,25 @@ const updateRequest = {
|
|
|
1466
1456
|
|
|
1467
1457
|
const index$a = {
|
|
1468
1458
|
__proto__: null,
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1459
|
+
AcceptRequest: acceptRequest,
|
|
1460
|
+
Authorize: authorize,
|
|
1461
|
+
CancelRequest: cancelRequest,
|
|
1462
|
+
CompleteRequest: completeRequest,
|
|
1463
|
+
ConfirmRecieve: confirmRecieve,
|
|
1464
|
+
ConfirmSupply: confirmSupply,
|
|
1465
|
+
CreateOffer: createOffer,
|
|
1466
|
+
CreateOrder: createOrder,
|
|
1467
|
+
DeclineRequest: declineRequest,
|
|
1468
|
+
DeliverOnRequest: deliverOnRequest,
|
|
1469
|
+
ModerateRequest: moderateRequest,
|
|
1470
|
+
NewRequestId: newRequestId,
|
|
1471
|
+
OpenDispute: openDispute,
|
|
1472
|
+
ProhibitRequest: prohibitRequest,
|
|
1473
|
+
PublishRequest: publishRequest,
|
|
1474
|
+
RecieveOnRequest: recieveOnRequest,
|
|
1475
|
+
SupplyOnRequest: supplyOnRequest,
|
|
1476
|
+
UnpublishRequest: unpublishRequest,
|
|
1477
|
+
UpdateRequests: updateRequest
|
|
1488
1478
|
};
|
|
1489
1479
|
|
|
1490
1480
|
const tableName$g = "exchange";
|
|
@@ -1571,12 +1561,12 @@ const invalidateAccount = {
|
|
|
1571
1561
|
|
|
1572
1562
|
const index$7 = {
|
|
1573
1563
|
__proto__: null,
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1564
|
+
ApproveProposal: approveProposal,
|
|
1565
|
+
CancelProposal: cancelProposal,
|
|
1566
|
+
ExecProposal: execProposal,
|
|
1567
|
+
InvalidateProposal: invalidateAccount,
|
|
1568
|
+
ProposeTransaction: proposeTransaction,
|
|
1569
|
+
UnapproveProposal: unapproveProposal
|
|
1580
1570
|
};
|
|
1581
1571
|
|
|
1582
1572
|
const tableName$f = "approvals";
|
|
@@ -2002,43 +1992,43 @@ const cancelDelay = {
|
|
|
2002
1992
|
|
|
2003
1993
|
const index$2 = {
|
|
2004
1994
|
__proto__: null,
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
1995
|
+
ActivateFeature: activateFeature,
|
|
1996
|
+
BidName: bidName,
|
|
1997
|
+
BidNameRefund: bidNameRefund,
|
|
1998
|
+
BuyRAM: buyRAM,
|
|
1999
|
+
BuyRAMBytes: buyRAMBytes,
|
|
2000
|
+
CancelDelay: cancelDelay,
|
|
2001
|
+
ClaimRewards: claimRewards,
|
|
2002
|
+
DelegateBW: delegateBW,
|
|
2003
|
+
DeleteAuth: deleteAuth,
|
|
2004
|
+
ExecPowerup: execPowerup,
|
|
2005
|
+
Init: init,
|
|
2006
|
+
InitEmission: initEmission,
|
|
2007
|
+
InitPowerup: initPowerup,
|
|
2008
|
+
LinkAuth: linkAuth,
|
|
2009
|
+
NewAccount: newAccount,
|
|
2010
|
+
Powerup: powerup,
|
|
2011
|
+
Refund: refund,
|
|
2012
|
+
RegisterProducer: registerProducer,
|
|
2013
|
+
RegisterProducer2: registerProducer2,
|
|
2014
|
+
RegisterProxy: registerProxy,
|
|
2015
|
+
RemoveProducer: removeProducer,
|
|
2016
|
+
SetAbi: setAbi,
|
|
2017
|
+
SetAccountLimits: setAccountLimits,
|
|
2018
|
+
SetCPULimits: setCPULimits,
|
|
2019
|
+
SetCode: setCode,
|
|
2020
|
+
SetNETLimits: setNETLimits,
|
|
2021
|
+
SetParams: setParams,
|
|
2022
|
+
SetPrivileged: setPrivileged,
|
|
2023
|
+
SetRAMLimits: setRAMLimits,
|
|
2024
|
+
SetTotalRAM: setTotalRAM,
|
|
2025
|
+
SetTotalRAMRate: setTotalRAMRate,
|
|
2026
|
+
UndelegateBW: undelegateBW,
|
|
2027
|
+
UnregisterProducer: unregisterProducer,
|
|
2028
|
+
UpdateAuth: updateAuth,
|
|
2029
|
+
UpdateRevision: updateRevision,
|
|
2030
|
+
VoteForProducer: voteForProducer,
|
|
2031
|
+
VoteUpdate: voteUpdate
|
|
2042
2032
|
};
|
|
2043
2033
|
|
|
2044
2034
|
const tableName$b = "bidrefunds";
|