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