cooptypes 0.5.5 → 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.d.cts CHANGED
@@ -311,11 +311,11 @@ declare namespace index$y {
311
311
  /**
312
312
  * Имя таблицы
313
313
  */
314
- declare const tableName$F = "drafts";
314
+ declare const tableName$E = "drafts";
315
315
  /**
316
316
  * Таблица хранится в {@link Actors._contract | области памяти контракта}.
317
317
  */
318
- declare const scope$F = "_contract";
318
+ declare const scope$E = "_contract";
319
319
  /**
320
320
  * @interface
321
321
  * Таблица содержит переводы черновиков документов.
@@ -324,17 +324,17 @@ type IDrafts = IDrafts$1;
324
324
 
325
325
  type drafts_IDrafts = IDrafts;
326
326
  declare namespace drafts {
327
- export { type drafts_IDrafts as IDrafts, scope$F as scope, tableName$F as tableName };
327
+ export { type drafts_IDrafts as IDrafts, scope$E as scope, tableName$E as tableName };
328
328
  }
329
329
 
330
330
  /**
331
331
  * Имя таблицы
332
332
  */
333
- declare const tableName$E = "translations";
333
+ declare const tableName$D = "translations";
334
334
  /**
335
335
  * Область хранения в памяти
336
336
  */
337
- declare const scope$E = "_contract";
337
+ declare const scope$D = "_contract";
338
338
  /**
339
339
  * @interface
340
340
  * Таблица содержит переводы черновиков документов.
@@ -343,7 +343,7 @@ type ITranslations = ITranslations$1;
343
343
 
344
344
  type translations_ITranslations = ITranslations;
345
345
  declare namespace translations {
346
- export { type translations_ITranslations as ITranslations, scope$E as scope, tableName$E as tableName };
346
+ export { type translations_ITranslations as ITranslations, scope$D as scope, tableName$D as tableName };
347
347
  }
348
348
 
349
349
  declare namespace index$x {
@@ -361,6 +361,9 @@ declare namespace index$w {
361
361
 
362
362
  type IAsset$6 = string;
363
363
  type IName$8 = string;
364
+ type IChecksum256$6 = string;
365
+ type IPublicKey$5 = string;
366
+ type ISignature$4 = string;
364
367
  type ITimePointSec$7 = string;
365
368
  type IUint64$5 = number | string;
366
369
  interface IAccfunds {
@@ -420,9 +423,9 @@ interface IDelfund {
420
423
  fund_id: IUint64$5;
421
424
  }
422
425
  interface IDocument$4 {
423
- hash: string;
424
- pkey: string;
425
- sign: string;
426
+ hash: IChecksum256$6;
427
+ public_key: IPublicKey$5;
428
+ signature: ISignature$4;
426
429
  meta: string;
427
430
  }
428
431
  interface IEditfund {
@@ -517,7 +520,7 @@ type fund_ISpreadamount = ISpreadamount;
517
520
  type fund_ISubaccum = ISubaccum;
518
521
  type fund_ISubcirculate = ISubcirculate;
519
522
  declare namespace fund {
520
- export type { fund_IAccfunds as IAccfunds, fund_IAddaccum as IAddaccum, fund_IAddcirculate as IAddcirculate, fund_IAddexpense as IAddexpense, IAsset$6 as IAsset, IAuthorize$5 as IAuthorize, IComplete$1 as IComplete, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, fund_ICreatefund as ICreatefund, fund_IDelfund as IDelfund, IDocument$4 as IDocument, fund_IEditfund as IEditfund, fund_IExpfunds as IExpfunds, fund_IFundwallet as IFundwallet, IFundwithdraw$1 as IFundwithdraw, fund_IFwithdraws as IFwithdraws, IInit$3 as IInit, IName$8 as IName, INewfund$1 as INewfund, fund_INewwithdraw as INewwithdraw, fund_ISpreadamount as ISpreadamount, fund_ISubaccum as ISubaccum, fund_ISubcirculate as ISubcirculate, ITimePointSec$7 as ITimePointSec, IUint64$5 as IUint64 };
523
+ export type { fund_IAccfunds as IAccfunds, fund_IAddaccum as IAddaccum, fund_IAddcirculate as IAddcirculate, fund_IAddexpense as IAddexpense, IAsset$6 as IAsset, IAuthorize$5 as IAuthorize, IChecksum256$6 as IChecksum256, IComplete$1 as IComplete, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, fund_ICreatefund as ICreatefund, fund_IDelfund as IDelfund, IDocument$4 as IDocument, fund_IEditfund as IEditfund, fund_IExpfunds as IExpfunds, fund_IFundwallet as IFundwallet, IFundwithdraw$1 as IFundwithdraw, fund_IFwithdraws as IFwithdraws, IInit$3 as IInit, IName$8 as IName, INewfund$1 as INewfund, fund_INewwithdraw as INewwithdraw, IPublicKey$5 as IPublicKey, ISignature$4 as ISignature, fund_ISpreadamount as ISpreadamount, fund_ISubaccum as ISubaccum, fund_ISubcirculate as ISubcirculate, ITimePointSec$7 as ITimePointSec, IUint64$5 as IUint64 };
521
524
  }
522
525
 
523
526
  declare const authorizations$22: readonly [{
@@ -854,11 +857,11 @@ declare namespace index$v {
854
857
  /**
855
858
  * Имя таблицы
856
859
  */
857
- declare const tableName$D = "accfunds";
860
+ declare const tableName$C = "accfunds";
858
861
  /**
859
862
  * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
860
863
  */
861
- declare const scope$D: {
864
+ declare const scope$C: {
862
865
  /**
863
866
  * Имя таблицы
864
867
  */
@@ -873,17 +876,17 @@ type IAccumulatedFunds = IAccfunds;
873
876
 
874
877
  type accumulationFunds_IAccumulatedFunds = IAccumulatedFunds;
875
878
  declare namespace accumulationFunds {
876
- export { type accumulationFunds_IAccumulatedFunds as IAccumulatedFunds, scope$D as scope, tableName$D as tableName };
879
+ export { type accumulationFunds_IAccumulatedFunds as IAccumulatedFunds, scope$C as scope, tableName$C as tableName };
877
880
  }
878
881
 
879
882
  /**
880
883
  * Имя таблицы
881
884
  */
882
- declare const tableName$C = "expfunds";
885
+ declare const tableName$B = "expfunds";
883
886
  /**
884
887
  * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
885
888
  */
886
- declare const scope$C: {
889
+ declare const scope$B: {
887
890
  /**
888
891
  * Имя таблицы
889
892
  */
@@ -897,17 +900,17 @@ type IExpensedFunds = IExpfunds;
897
900
 
898
901
  type expenseFunds_IExpensedFunds = IExpensedFunds;
899
902
  declare namespace expenseFunds {
900
- export { type expenseFunds_IExpensedFunds as IExpensedFunds, scope$C as scope, tableName$C as tableName };
903
+ export { type expenseFunds_IExpensedFunds as IExpensedFunds, scope$B as scope, tableName$B as tableName };
901
904
  }
902
905
 
903
906
  /**
904
907
  * Имя таблицы
905
908
  */
906
- declare const tableName$B = "fundwallet";
909
+ declare const tableName$A = "fundwallet";
907
910
  /**
908
911
  * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
909
912
  */
910
- declare const scope$B: {
913
+ declare const scope$A: {
911
914
  /**
912
915
  * Имя таблицы
913
916
  */
@@ -921,17 +924,17 @@ type IFundWallet = IFundwallet;
921
924
 
922
925
  type fundWallet_IFundWallet = IFundWallet;
923
926
  declare namespace fundWallet {
924
- export { type fundWallet_IFundWallet as IFundWallet, scope$B as scope, tableName$B as tableName };
927
+ export { type fundWallet_IFundWallet as IFundWallet, scope$A as scope, tableName$A as tableName };
925
928
  }
926
929
 
927
930
  /**
928
931
  * Имя таблицы
929
932
  */
930
- declare const tableName$A = "fwithdraws";
933
+ declare const tableName$z = "fwithdraws";
931
934
  /**
932
935
  * Таблица хранится в {@link ContractNames._fund | области памяти контракта}.
933
936
  */
934
- declare const scope$A: {
937
+ declare const scope$z: {
935
938
  /**
936
939
  * Имя таблицы
937
940
  */
@@ -945,7 +948,7 @@ type IFundWithdraws = IFwithdraws;
945
948
 
946
949
  type fundWithdraws_IFundWithdraws = IFundWithdraws;
947
950
  declare namespace fundWithdraws {
948
- export { type fundWithdraws_IFundWithdraws as IFundWithdraws, scope$A as scope, tableName$A as tableName };
951
+ export { type fundWithdraws_IFundWithdraws as IFundWithdraws, scope$z as scope, tableName$z as tableName };
949
952
  }
950
953
 
951
954
  /**
@@ -968,6 +971,9 @@ declare namespace index$t {
968
971
 
969
972
  type IAsset$5 = string;
970
973
  type IName$7 = string;
974
+ type IChecksum256$5 = string;
975
+ type IPublicKey$4 = string;
976
+ type ISignature$3 = string;
971
977
  type ITimePointSec$6 = string;
972
978
  type IUint64$4 = number | string;
973
979
  interface IBalances$1 extends IBalancesBase$1 {
@@ -1003,9 +1009,9 @@ interface IDeposits$1 {
1003
1009
  expired_at: ITimePointSec$6;
1004
1010
  }
1005
1011
  interface IDocument$3 {
1006
- hash: string;
1007
- pkey: string;
1008
- sign: string;
1012
+ hash: IChecksum256$5;
1013
+ public_key: IPublicKey$4;
1014
+ signature: ISignature$3;
1009
1015
  meta: string;
1010
1016
  }
1011
1017
  interface IDpcomplete {
@@ -1074,7 +1080,7 @@ type gateway_IWithdrawauth = IWithdrawauth;
1074
1080
  type gateway_IWthdcomplete = IWthdcomplete;
1075
1081
  type gateway_IWthdfail = IWthdfail;
1076
1082
  declare namespace gateway {
1077
- export type { IAsset$5 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, gateway_IDeposit as IDeposit, IDeposits$1 as IDeposits, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, IWithdraws$1 as IWithdraws, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1083
+ export type { IAsset$5 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, gateway_IDeposit as IDeposit, IDeposits$1 as IDeposits, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, IWithdraws$1 as IWithdraws, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1078
1084
  }
1079
1085
 
1080
1086
  /**
@@ -1292,14 +1298,14 @@ declare namespace index$s {
1292
1298
  /**
1293
1299
  * Имя таблицы
1294
1300
  */
1295
- declare const tableName$z = "deposits";
1301
+ declare const tableName$y = "deposits";
1296
1302
  /**
1297
1303
  * Таблица хранится в {@link ContractNames._gateway | области памяти контракта}.
1298
1304
  */
1299
1305
  /**
1300
1306
  * Этот файл содержит интерфейс для таблицы "deposits".
1301
1307
  */
1302
- declare const scope$z: {
1308
+ declare const scope$y: {
1303
1309
  readonly production: "gateway";
1304
1310
  readonly testnet: "gateway2222";
1305
1311
  };
@@ -1311,17 +1317,17 @@ type IDeposits = IDeposits$1;
1311
1317
 
1312
1318
  type deposits_IDeposits = IDeposits;
1313
1319
  declare namespace deposits {
1314
- export { type deposits_IDeposits as IDeposits, scope$z as scope, tableName$z as tableName };
1320
+ export { type deposits_IDeposits as IDeposits, scope$y as scope, tableName$y as tableName };
1315
1321
  }
1316
1322
 
1317
1323
  /**
1318
1324
  * Имя таблицы
1319
1325
  */
1320
- declare const tableName$y = "withdraws";
1326
+ declare const tableName$x = "withdraws";
1321
1327
  /**
1322
1328
  * Таблица хранится в {@link ContractNames._gateway | области памяти контракта}.
1323
1329
  */
1324
- declare const scope$y: {
1330
+ declare const scope$x: {
1325
1331
  readonly production: "gateway";
1326
1332
  readonly testnet: "gateway2222";
1327
1333
  };
@@ -1333,7 +1339,7 @@ type IWithdraws = IWithdraws$1;
1333
1339
 
1334
1340
  type withdraws_IWithdraws = IWithdraws;
1335
1341
  declare namespace withdraws {
1336
- export { type withdraws_IWithdraws as IWithdraws, scope$y as scope, tableName$y as tableName };
1342
+ export { type withdraws_IWithdraws as IWithdraws, scope$x as scope, tableName$x as tableName };
1337
1343
  }
1338
1344
 
1339
1345
  declare namespace index$r {
@@ -1351,7 +1357,9 @@ declare namespace index$q {
1351
1357
 
1352
1358
  type IAsset$4 = string;
1353
1359
  type IName$6 = string;
1354
- type IPublicKey$1 = string;
1360
+ type IChecksum256$4 = string;
1361
+ type IPublicKey$3 = string;
1362
+ type ISignature$2 = string;
1355
1363
  type ITimePointSec$5 = string;
1356
1364
  type IUint64$3 = number | string;
1357
1365
  interface IAccounts$1 {
@@ -1361,8 +1369,9 @@ interface IAccounts$1 {
1361
1369
  type: IName$6;
1362
1370
  status: IName$6;
1363
1371
  meta: string;
1364
- reputation: IUint64$3;
1365
- registration_amount: IAsset$4;
1372
+ is_active: boolean;
1373
+ storages: IName$6[];
1374
+ verifications: IVerification[];
1366
1375
  registered_at: ITimePointSec$5;
1367
1376
  signature_expires_at: ITimePointSec$5;
1368
1377
  }
@@ -1375,36 +1384,36 @@ interface IBalancesBase {
1375
1384
  }
1376
1385
  interface IChangekey {
1377
1386
  username: IName$6;
1378
- public_key: IPublicKey$1;
1387
+ public_key: IPublicKey$3;
1379
1388
  }
1380
1389
  interface IConfirmreg {
1381
1390
  coopname: IName$6;
1382
1391
  member: IName$6;
1383
1392
  }
1384
1393
  interface IDocument$2 {
1385
- hash: string;
1386
- pkey: string;
1387
- sign: string;
1394
+ hash: IChecksum256$4;
1395
+ public_key: IPublicKey$3;
1396
+ signature: ISignature$2;
1388
1397
  meta: string;
1389
1398
  }
1390
1399
  interface IJoincoop$1 {
1400
+ registrator: IName$6;
1391
1401
  coopname: IName$6;
1392
1402
  username: IName$6;
1393
1403
  document: IDocument$2;
1394
1404
  }
1395
1405
  interface INewaccount$1 {
1396
1406
  registrator: IName$6;
1407
+ coopname: IName$6;
1397
1408
  referer: IName$6;
1398
1409
  username: IName$6;
1399
- public_key: IPublicKey$1;
1410
+ public_key: IPublicKey$3;
1400
1411
  signature_hash: string;
1401
1412
  meta: string;
1402
1413
  }
1403
1414
  interface IOrgData {
1404
- storage: IStorage;
1405
1415
  is_cooperative: boolean;
1406
1416
  coop_type: IName$6;
1407
- token_contract: IName$6;
1408
1417
  announce: string;
1409
1418
  description: string;
1410
1419
  initial: IAsset$4;
@@ -1413,51 +1422,39 @@ interface IOrgData {
1413
1422
  interface IOrgs {
1414
1423
  username: IName$6;
1415
1424
  parent_username: IName$6;
1416
- verifications: IVerification[];
1417
- storages: IStorage[];
1418
- is_cooperative: boolean;
1419
- is_active: boolean;
1420
- coop_type: IName$6;
1421
- token_contract: IName$6;
1422
1425
  announce: string;
1423
1426
  description: string;
1427
+ is_cooperative: boolean;
1428
+ coop_type: IName$6;
1424
1429
  registration: IAsset$4;
1425
1430
  initial: IAsset$4;
1426
1431
  minimum: IAsset$4;
1427
1432
  }
1428
1433
  interface IPlotData {
1429
- storage: IStorage;
1430
1434
  announce: string;
1431
1435
  description: string;
1432
1436
  }
1433
- interface IRegorg {
1437
+ interface IRegdepartmnt {
1438
+ registrator: IName$6;
1434
1439
  coopname: IName$6;
1435
1440
  username: IName$6;
1436
- params: IOrgData;
1441
+ params: IPlotData;
1437
1442
  }
1438
- interface IRegplot {
1443
+ interface IRegorg {
1444
+ registrator: IName$6;
1439
1445
  coopname: IName$6;
1440
1446
  username: IName$6;
1441
- params: IPlotData;
1447
+ params: IOrgData;
1442
1448
  }
1443
1449
  interface IReguser {
1450
+ registrator: IName$6;
1444
1451
  coopname: IName$6;
1445
1452
  username: IName$6;
1446
- storage: IStorage;
1447
- }
1448
- interface IStorage {
1449
- storage_username: IName$6;
1450
1453
  }
1451
1454
  interface IUpdate$1 {
1452
1455
  username: IName$6;
1453
1456
  meta: string;
1454
1457
  }
1455
- interface IUsers$2 {
1456
- username: IName$6;
1457
- is_active: boolean;
1458
- storages: IStorage[];
1459
- verifications: IVerification[];
1460
- }
1461
1458
  interface IVerificate {
1462
1459
  username: IName$6;
1463
1460
  procedure: IName$6;
@@ -1478,14 +1475,13 @@ type registrator_IConfirmreg = IConfirmreg;
1478
1475
  type registrator_IOrgData = IOrgData;
1479
1476
  type registrator_IOrgs = IOrgs;
1480
1477
  type registrator_IPlotData = IPlotData;
1478
+ type registrator_IRegdepartmnt = IRegdepartmnt;
1481
1479
  type registrator_IRegorg = IRegorg;
1482
- type registrator_IRegplot = IRegplot;
1483
1480
  type registrator_IReguser = IReguser;
1484
- type registrator_IStorage = IStorage;
1485
1481
  type registrator_IVerificate = IVerificate;
1486
1482
  type registrator_IVerification = IVerification;
1487
1483
  declare namespace registrator {
1488
- export type { IAccounts$1 as IAccounts, IAsset$4 as IAsset, registrator_IBalances as IBalances, registrator_IBalancesBase as IBalancesBase, registrator_IChangekey as IChangekey, registrator_IConfirmreg as IConfirmreg, IDocument$2 as IDocument, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, registrator_IOrgs as IOrgs, registrator_IPlotData as IPlotData, IPublicKey$1 as IPublicKey, registrator_IRegorg as IRegorg, registrator_IRegplot as IRegplot, registrator_IReguser as IReguser, registrator_IStorage as IStorage, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, IUsers$2 as IUsers, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1484
+ export type { IAccounts$1 as IAccounts, IAsset$4 as IAsset, registrator_IBalances as IBalances, registrator_IBalancesBase as IBalancesBase, registrator_IChangekey as IChangekey, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, IDocument$2 as IDocument, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, registrator_IOrgs as IOrgs, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1489
1485
  }
1490
1486
 
1491
1487
  declare const authorizations$1H: readonly [{
@@ -1655,11 +1651,11 @@ declare namespace index$p {
1655
1651
  /**
1656
1652
  * Имя таблицы
1657
1653
  */
1658
- declare const tableName$x = "accounts";
1654
+ declare const tableName$w = "accounts";
1659
1655
  /**
1660
1656
  * Таблица хранится в {@link ContractNames._registrator | области памяти контракта}.
1661
1657
  */
1662
- declare const scope$x: {
1658
+ declare const scope$w: {
1663
1659
  readonly production: "registrator";
1664
1660
  readonly testnet: "regtest22222";
1665
1661
  };
@@ -1671,17 +1667,17 @@ type IAccounts = IAccounts$1;
1671
1667
 
1672
1668
  type accounts_IAccounts = IAccounts;
1673
1669
  declare namespace accounts {
1674
- export { type accounts_IAccounts as IAccounts, scope$x as scope, tableName$x as tableName };
1670
+ export { type accounts_IAccounts as IAccounts, scope$w as scope, tableName$w as tableName };
1675
1671
  }
1676
1672
 
1677
1673
  /**
1678
1674
  * Имя таблицы
1679
1675
  */
1680
- declare const tableName$w = "orgs";
1676
+ declare const tableName$v = "orgs";
1681
1677
  /**
1682
1678
  * Таблица хранится в {@link ContractNames._registrator | области памяти контракта}.
1683
1679
  */
1684
- declare const scope$w: {
1680
+ declare const scope$v: {
1685
1681
  readonly production: "registrator";
1686
1682
  readonly testnet: "regtest22222";
1687
1683
  };
@@ -1689,29 +1685,11 @@ declare const scope$w: {
1689
1685
  * @interface
1690
1686
  * Таблица содержит реестр организаций-пайщиков кооператива.
1691
1687
  */
1692
- type IUsers$1 = IOrgs;
1688
+ type IUsers = IOrgs;
1693
1689
 
1690
+ type organizations_IUsers = IUsers;
1694
1691
  declare namespace organizations {
1695
- export { type IUsers$1 as IUsers, scope$w as scope, tableName$w as tableName };
1696
- }
1697
-
1698
- /**
1699
- * Имя таблицы
1700
- */
1701
- declare const tableName$v = "users";
1702
- /**
1703
- * Таблица хранится в {@link Actors._coopname | области памяти кооператива}.
1704
- */
1705
- declare const scope$v = "_coopname";
1706
- /**
1707
- * @interface
1708
- * Таблица содержит реестр пользователей-пайщиков кооператива.
1709
- */
1710
- type IUsers = IUsers$2;
1711
-
1712
- type users_IUsers = IUsers;
1713
- declare namespace users {
1714
- export { type users_IUsers as IUsers, scope$v as scope, tableName$v as tableName };
1692
+ export { type organizations_IUsers as IUsers, scope$v as scope, tableName$v as tableName };
1715
1693
  }
1716
1694
 
1717
1695
  /**
@@ -1720,7 +1698,7 @@ declare namespace users {
1720
1698
  */
1721
1699
 
1722
1700
  declare namespace index$o {
1723
- export { accounts as Accounts, organizations as Organizations, users as Users };
1701
+ export { accounts as Accounts, organizations as Organizations };
1724
1702
  }
1725
1703
 
1726
1704
  declare const contractName$6: {
@@ -1959,6 +1937,9 @@ declare namespace index$k {
1959
1937
 
1960
1938
  type IAsset$2 = string;
1961
1939
  type IName$4 = string;
1940
+ type IChecksum256$3 = string;
1941
+ type IPublicKey$2 = string;
1942
+ type ISignature$1 = string;
1962
1943
  type ITimePointSec$4 = string;
1963
1944
  type IUint64$2 = number | string;
1964
1945
  interface IAct$1 {
@@ -2059,11 +2040,6 @@ interface IBoards$1 {
2059
2040
  created_at: ITimePointSec$4;
2060
2041
  last_update: ITimePointSec$4;
2061
2042
  }
2062
- interface ICancelorder {
2063
- coopname: IName$4;
2064
- username: IName$4;
2065
- exchange_id: IUint64$2;
2066
- }
2067
2043
  interface ICancelvote {
2068
2044
  coopname: IName$4;
2069
2045
  member: IName$4;
@@ -2083,10 +2059,6 @@ interface IChanges$1 {
2083
2059
  contribution_product_decision_id: IUint64$2;
2084
2060
  return_product_decision_id: IUint64$2;
2085
2061
  }
2086
- interface ICompleted {
2087
- coopname: IName$4;
2088
- exchange_id: IUint64$2;
2089
- }
2090
2062
  interface ICounts extends ICountsBase {
2091
2063
  }
2092
2064
  interface ICountsBase {
@@ -2158,9 +2130,9 @@ interface IDisautomate$1 {
2158
2130
  automation_id: IUint64$2;
2159
2131
  }
2160
2132
  interface IDocument$1 {
2161
- hash: string;
2162
- pkey: string;
2163
- sign: string;
2133
+ hash: IChecksum256$3;
2134
+ public_key: IPublicKey$2;
2135
+ signature: ISignature$1;
2164
2136
  meta: string;
2165
2137
  }
2166
2138
  interface IDraft$1 {
@@ -2209,13 +2181,6 @@ interface IJoincoops {
2209
2181
  statement: IDocument$1;
2210
2182
  notice: string;
2211
2183
  }
2212
- interface IMcontribute {
2213
- coopname: IName$4;
2214
- username: IName$4;
2215
- program_id: IUint64$2;
2216
- type: IName$4;
2217
- secondary_id: IUint64$2;
2218
- }
2219
2184
  interface IParticipants$1 {
2220
2185
  username: IName$4;
2221
2186
  created_at: ITimePointSec$4;
@@ -2226,13 +2191,6 @@ interface IParticipants$1 {
2226
2191
  is_minimum: boolean;
2227
2192
  has_vote: boolean;
2228
2193
  }
2229
- interface IPcontribute {
2230
- coopname: IName$4;
2231
- username: IName$4;
2232
- program_id: IUint64$2;
2233
- type: IName$4;
2234
- secondary_id: IUint64$2;
2235
- }
2236
2194
  interface IProgcomarket {
2237
2195
  id: IUint64$2;
2238
2196
  coopname: IName$4;
@@ -2356,10 +2314,8 @@ type soviet_IAutomator = IAutomator;
2356
2314
  type soviet_IAutosigner = IAutosigner;
2357
2315
  type soviet_IBlockbal = IBlockbal;
2358
2316
  type soviet_IBoardMember = IBoardMember;
2359
- type soviet_ICancelorder = ICancelorder;
2360
2317
  type soviet_ICancelvote = ICancelvote;
2361
2318
  type soviet_IChange = IChange;
2362
- type soviet_ICompleted = ICompleted;
2363
2319
  type soviet_ICounts = ICounts;
2364
2320
  type soviet_ICountsBase = ICountsBase;
2365
2321
  type soviet_ICreaddress = ICreaddress;
@@ -2371,8 +2327,6 @@ type soviet_IEditprog = IEditprog;
2371
2327
  type soviet_IFundwithdraw = IFundwithdraw;
2372
2328
  type soviet_IJoincoop = IJoincoop;
2373
2329
  type soviet_IJoincoops = IJoincoops;
2374
- type soviet_IMcontribute = IMcontribute;
2375
- type soviet_IPcontribute = IPcontribute;
2376
2330
  type soviet_IProgcomarket = IProgcomarket;
2377
2331
  type soviet_IProgram = IProgram;
2378
2332
  type soviet_IProgwallets = IProgwallets;
@@ -2390,7 +2344,7 @@ type soviet_IVoteagainst = IVoteagainst;
2390
2344
  type soviet_IVotefor = IVotefor;
2391
2345
  type soviet_IWithdraw = IWithdraw;
2392
2346
  declare namespace soviet {
2393
- export type { IAct$1 as IAct, soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, soviet_IAddress as IAddress, IAddresses$1 as IAddresses, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, IBatch$1 as IBatch, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelorder as ICancelorder, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, soviet_ICompleted as ICompleted, soviet_ICounts as ICounts, soviet_ICountsBase as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, IDecisions$1 as IDecisions, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, IDraft$1 as IDraft, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, soviet_IMcontribute as IMcontribute, IName$4 as IName, IParticipants$1 as IParticipants, soviet_IPcontribute as IPcontribute, soviet_IProgcomarket as IProgcomarket, soviet_IProgram as IProgram, soviet_IProgwallets as IProgwallets, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, soviet_IStaff as IStaff, IStatement$1 as IStatement, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, IWallets$1 as IWallets, soviet_IWithdraw as IWithdraw };
2347
+ export type { IAct$1 as IAct, soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, soviet_IAddress as IAddress, IAddresses$1 as IAddresses, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, IBatch$1 as IBatch, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, soviet_ICounts as ICounts, soviet_ICountsBase as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, IDecisions$1 as IDecisions, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, IDraft$1 as IDraft, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgram as IProgram, soviet_IProgwallets as IProgwallets, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, IStatement$1 as IStatement, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, IWallets$1 as IWallets, soviet_IWithdraw as IWithdraw };
2394
2348
  }
2395
2349
 
2396
2350
  /**
@@ -3515,6 +3469,9 @@ declare namespace index$b {
3515
3469
 
3516
3470
  type IAsset$1 = string;
3517
3471
  type IName$3 = string;
3472
+ type IChecksum256$2 = string;
3473
+ type IPublicKey$1 = string;
3474
+ type ISignature = string;
3518
3475
  type ITimePointSec$3 = string;
3519
3476
  type IUint64$1 = number | string;
3520
3477
  interface IAccept {
@@ -3565,9 +3522,9 @@ interface IDispute {
3565
3522
  document: IDocument;
3566
3523
  }
3567
3524
  interface IDocument {
3568
- hash: string;
3569
- pkey: string;
3570
- sign: string;
3525
+ hash: IChecksum256$2;
3526
+ public_key: IPublicKey$1;
3527
+ signature: ISignature;
3571
3528
  meta: string;
3572
3529
  }
3573
3530
  interface IExchange {
@@ -3626,7 +3583,7 @@ interface IExchangeParams {
3626
3583
  pieces: IUint64$1;
3627
3584
  unit_cost: IAsset$1;
3628
3585
  product_lifecycle_secs: IUint64$1;
3629
- document: IDocument;
3586
+ document?: IDocument;
3630
3587
  data: string;
3631
3588
  meta: string;
3632
3589
  }
@@ -3713,12 +3670,13 @@ type marketplace_IProhibit = IProhibit;
3713
3670
  type marketplace_IPublish = IPublish;
3714
3671
  type marketplace_IRecieve = IRecieve;
3715
3672
  type marketplace_IRecievecnfrm = IRecievecnfrm;
3673
+ type marketplace_ISignature = ISignature;
3716
3674
  type marketplace_ISupply = ISupply;
3717
3675
  type marketplace_ISupplycnfrm = ISupplycnfrm;
3718
3676
  type marketplace_IUnpublish = IUnpublish;
3719
3677
  type marketplace_IUpdate = IUpdate;
3720
3678
  declare namespace marketplace {
3721
- export type { marketplace_IAccept as IAccept, marketplace_IAddpieces as IAddpieces, IAsset$1 as IAsset, IAuthorize$1 as IAuthorize, ICancel$1 as ICancel, marketplace_IComplete as IComplete, marketplace_IDecline as IDecline, marketplace_IDelivered as IDelivered, marketplace_IDispute as IDispute, marketplace_IDocument as IDocument, marketplace_IExchange as IExchange, marketplace_IExchangeParams as IExchangeParams, marketplace_IModerate as IModerate, IName$3 as IName, marketplace_INewid as INewid, marketplace_IOffer as IOffer, marketplace_IOrder as IOrder, marketplace_IProhibit as IProhibit, marketplace_IPublish as IPublish, marketplace_IRecieve as IRecieve, marketplace_IRecievecnfrm as IRecievecnfrm, marketplace_ISupply as ISupply, marketplace_ISupplycnfrm as ISupplycnfrm, ITimePointSec$3 as ITimePointSec, IUint64$1 as IUint64, marketplace_IUnpublish as IUnpublish, marketplace_IUpdate as IUpdate };
3679
+ export type { marketplace_IAccept as IAccept, marketplace_IAddpieces as IAddpieces, IAsset$1 as IAsset, IAuthorize$1 as IAuthorize, ICancel$1 as ICancel, IChecksum256$2 as IChecksum256, marketplace_IComplete as IComplete, marketplace_IDecline as IDecline, marketplace_IDelivered as IDelivered, marketplace_IDispute as IDispute, marketplace_IDocument as IDocument, marketplace_IExchange as IExchange, marketplace_IExchangeParams as IExchangeParams, marketplace_IModerate as IModerate, IName$3 as IName, marketplace_INewid as INewid, marketplace_IOffer as IOffer, marketplace_IOrder as IOrder, marketplace_IProhibit as IProhibit, IPublicKey$1 as IPublicKey, marketplace_IPublish as IPublish, marketplace_IRecieve as IRecieve, marketplace_IRecievecnfrm as IRecievecnfrm, marketplace_ISignature as ISignature, marketplace_ISupply as ISupply, marketplace_ISupplycnfrm as ISupplycnfrm, ITimePointSec$3 as ITimePointSec, IUint64$1 as IUint64, marketplace_IUnpublish as IUnpublish, marketplace_IUpdate as IUpdate };
3722
3680
  }
3723
3681
 
3724
3682
  /**