cooptypes 0.5.19 → 0.5.20
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 +98 -78
- package/dist/index.d.cts +321 -97
- package/dist/index.d.mts +321 -97
- package/dist/index.d.ts +321 -97
- package/dist/index.mjs +87 -68
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -27,14 +27,14 @@ declare const _contract = "_contract";
|
|
|
27
27
|
*/
|
|
28
28
|
declare const _system$1 = "_system";
|
|
29
29
|
|
|
30
|
-
declare const index$
|
|
31
|
-
declare const index$
|
|
32
|
-
declare const index$
|
|
33
|
-
declare const index$
|
|
34
|
-
declare const index$
|
|
35
|
-
declare const index$
|
|
36
|
-
declare namespace index$
|
|
37
|
-
export { index$
|
|
30
|
+
declare const index$G__admin: typeof _admin;
|
|
31
|
+
declare const index$G__chairman: typeof _chairman;
|
|
32
|
+
declare const index$G__contract: typeof _contract;
|
|
33
|
+
declare const index$G__coopname: typeof _coopname;
|
|
34
|
+
declare const index$G__member: typeof _member;
|
|
35
|
+
declare const index$G__username: typeof _username;
|
|
36
|
+
declare namespace index$G {
|
|
37
|
+
export { index$G__admin as _admin, index$G__chairman as _chairman, index$G__contract as _contract, index$G__coopname as _coopname, index$G__member as _member, _system$1 as _system, index$G__username as _username };
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
declare const _draft: {
|
|
@@ -78,18 +78,18 @@ declare const _wrap: {
|
|
|
78
78
|
readonly testnet: "eosio.wrap";
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
declare const index$
|
|
82
|
-
declare const index$
|
|
83
|
-
declare const index$
|
|
84
|
-
declare const index$
|
|
85
|
-
declare const index$
|
|
86
|
-
declare const index$
|
|
87
|
-
declare const index$
|
|
88
|
-
declare const index$
|
|
89
|
-
declare const index$
|
|
90
|
-
declare const index$
|
|
91
|
-
declare namespace index$
|
|
92
|
-
export { index$
|
|
81
|
+
declare const index$F__draft: typeof _draft;
|
|
82
|
+
declare const index$F__fund: typeof _fund;
|
|
83
|
+
declare const index$F__gateway: typeof _gateway;
|
|
84
|
+
declare const index$F__marketplace: typeof _marketplace;
|
|
85
|
+
declare const index$F__msig: typeof _msig;
|
|
86
|
+
declare const index$F__registrator: typeof _registrator;
|
|
87
|
+
declare const index$F__soviet: typeof _soviet;
|
|
88
|
+
declare const index$F__system: typeof _system;
|
|
89
|
+
declare const index$F__token: typeof _token;
|
|
90
|
+
declare const index$F__wrap: typeof _wrap;
|
|
91
|
+
declare namespace index$F {
|
|
92
|
+
export { index$F__draft as _draft, index$F__fund as _fund, index$F__gateway as _gateway, index$F__marketplace as _marketplace, index$F__msig as _msig, index$F__registrator as _registrator, index$F__soviet as _soviet, index$F__system as _system, index$F__token as _token, index$F__wrap as _wrap };
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
@@ -118,16 +118,16 @@ interface Authorization {
|
|
|
118
118
|
actor: typeof _username | typeof _chairman | typeof _admin | typeof _contract | typeof _system$1;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
type index$
|
|
122
|
-
declare const index$
|
|
123
|
-
declare const index$
|
|
124
|
-
declare const index$
|
|
125
|
-
declare namespace index$
|
|
126
|
-
export { type index$
|
|
121
|
+
type index$E_Authorization = Authorization;
|
|
122
|
+
declare const index$E_active: typeof active;
|
|
123
|
+
declare const index$E_owner: typeof owner;
|
|
124
|
+
declare const index$E_special: typeof special;
|
|
125
|
+
declare namespace index$E {
|
|
126
|
+
export { type index$E_Authorization as Authorization, index$E_active as active, index$E_owner as owner, index$E_special as special };
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
declare namespace index$
|
|
130
|
-
export { index$
|
|
129
|
+
declare namespace index$D {
|
|
130
|
+
export { index$G as Actors, index$F as ContractNames, index$E as Permissions };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
type IName$9 = string;
|
|
@@ -304,9 +304,9 @@ declare namespace newId {
|
|
|
304
304
|
export { type newId_INewId as INewId, actionName$27 as actionName, authorizations$27 as authorizations };
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
declare const index$
|
|
308
|
-
declare namespace index$
|
|
309
|
-
export { createDraft as CreateDraft, createTranslation as CreateTranslation, deleteDraft as DeleteDraft, editTranslation as EditTranslation, index$
|
|
307
|
+
declare const index$C_newId: typeof newId;
|
|
308
|
+
declare namespace index$C {
|
|
309
|
+
export { createDraft as CreateDraft, createTranslation as CreateTranslation, deleteDraft as DeleteDraft, editTranslation as EditTranslation, index$C_newId as newId };
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
/**
|
|
@@ -347,7 +347,7 @@ declare namespace translations {
|
|
|
347
347
|
export { type translations_ITranslation as ITranslation, scope$D as scope, tableName$D as tableName };
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
declare namespace index$
|
|
350
|
+
declare namespace index$B {
|
|
351
351
|
export { drafts as Drafts, translations as Translations };
|
|
352
352
|
}
|
|
353
353
|
|
|
@@ -356,8 +356,8 @@ declare const contractName$9: {
|
|
|
356
356
|
readonly testnet: "drafttest222";
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
declare namespace index$
|
|
360
|
-
export { index$
|
|
359
|
+
declare namespace index$A {
|
|
360
|
+
export { index$C as Actions, draft as Interfaces, index$B as Tables, contractName$9 as contractName };
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
type IAsset$6 = string;
|
|
@@ -851,7 +851,7 @@ declare namespace subCirculation {
|
|
|
851
851
|
* Вызывается контрактом автоматически по ходу выполнения логики для прозрачного добавления фонда накопления.
|
|
852
852
|
*/
|
|
853
853
|
|
|
854
|
-
declare namespace index$
|
|
854
|
+
declare namespace index$z {
|
|
855
855
|
export { addAccumulation as AddAccumulation, addCirculation as AddCirculation, addExpense as AddExpense, authorizeWithdraw as AuthorizeWithdraw, completeWithdraw$1 as CompleteWithdraw, createFund as CreateFund, createWithdraw$1 as CreateWithdraw, deleteFund as DeleteFund, editFund as EditFund, init$2 as Init, newFund as NewFund, newWithdraw as NewWithdraw, spreadAmount as SpreadAmount, subAccumulation as SubAccumulation, subCirculation as SubCirculation };
|
|
856
856
|
}
|
|
857
857
|
|
|
@@ -957,7 +957,7 @@ declare namespace fundWithdraws {
|
|
|
957
957
|
*
|
|
958
958
|
*/
|
|
959
959
|
|
|
960
|
-
declare namespace index$
|
|
960
|
+
declare namespace index$y {
|
|
961
961
|
export { accumulationFunds as AccumulatedFunds, expenseFunds as ExpensedFunds, fundWallet as FundWallet, fundWithdraws as FundWithdraws };
|
|
962
962
|
}
|
|
963
963
|
|
|
@@ -966,8 +966,8 @@ declare const contractName$8: {
|
|
|
966
966
|
readonly testnet: "fundtest2222";
|
|
967
967
|
};
|
|
968
968
|
|
|
969
|
-
declare namespace index$
|
|
970
|
-
export { index$
|
|
969
|
+
declare namespace index$x {
|
|
970
|
+
export { index$z as Actions, fund as Interfaces, index$y as Tables, contractName$8 as contractName };
|
|
971
971
|
}
|
|
972
972
|
|
|
973
973
|
type IAsset$5 = string;
|
|
@@ -1292,7 +1292,7 @@ declare namespace failWithdraw {
|
|
|
1292
1292
|
* Вызывается техническим аккаунтом кооператива для создания объекта депозита со статусом платежа.
|
|
1293
1293
|
*/
|
|
1294
1294
|
|
|
1295
|
-
declare namespace index$
|
|
1295
|
+
declare namespace index$w {
|
|
1296
1296
|
export { completeDeposit as CompleteDeposit, completeWithdraw as CompleteWithdraw, createDeposit as CreateDeposit, createWithdraw as CreateWithdraw, failDeposit as FailDeposit, failWithdraw as FailWithdraw, newDepositId as NewDepositId, newWithdrawId as NewWithdrawId };
|
|
1297
1297
|
}
|
|
1298
1298
|
|
|
@@ -1343,7 +1343,7 @@ declare namespace withdraws {
|
|
|
1343
1343
|
export { type withdraws_IWithdraws as IWithdraws, scope$x as scope, tableName$x as tableName };
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
|
-
declare namespace index$
|
|
1346
|
+
declare namespace index$v {
|
|
1347
1347
|
export { deposits as Deposits, withdraws as Withdrws };
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
@@ -1352,8 +1352,8 @@ declare const contractName$7: {
|
|
|
1352
1352
|
readonly testnet: "gateway2222";
|
|
1353
1353
|
};
|
|
1354
1354
|
|
|
1355
|
-
declare namespace index$
|
|
1356
|
-
export { index$
|
|
1355
|
+
declare namespace index$u {
|
|
1356
|
+
export { index$w as Actions, gateway as Interfaces, index$v as Tables, contractName$7 as contractName };
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
1359
|
type IAsset$4 = string;
|
|
@@ -1684,7 +1684,7 @@ declare namespace init$1 {
|
|
|
1684
1684
|
* Действие верификации аккаунта
|
|
1685
1685
|
*/
|
|
1686
1686
|
|
|
1687
|
-
declare namespace index$
|
|
1687
|
+
declare namespace index$t {
|
|
1688
1688
|
export { changeKey as ChangeKey, confirmJoin as ConfirmJoin, createAccount$1 as CreateAccount, init$1 as Init, joinCooperative as JoinCooperative, registerOrganization as RegisterOrganization, registerUser as RegisterUser, updateAccount as UpdateAccount, verificateAccount as VerificateAccount };
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
@@ -1736,7 +1736,7 @@ declare namespace organizations {
|
|
|
1736
1736
|
*
|
|
1737
1737
|
*/
|
|
1738
1738
|
|
|
1739
|
-
declare namespace index$
|
|
1739
|
+
declare namespace index$s {
|
|
1740
1740
|
export { accounts as Accounts, organizations as Organizations };
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
@@ -1745,8 +1745,8 @@ declare const contractName$6: {
|
|
|
1745
1745
|
readonly testnet: "regtest22222";
|
|
1746
1746
|
};
|
|
1747
1747
|
|
|
1748
|
-
declare namespace index$
|
|
1749
|
-
export { index$
|
|
1748
|
+
declare namespace index$r {
|
|
1749
|
+
export { index$t as Actions, registrator as Interfaces, index$s as Tables, contractName$6 as contractName };
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
1752
|
type IAsset$3 = string;
|
|
@@ -1915,7 +1915,7 @@ declare namespace retire {
|
|
|
1915
1915
|
* Действие совершения перевода токенов AXON между аккаунтами.
|
|
1916
1916
|
*/
|
|
1917
1917
|
|
|
1918
|
-
declare namespace index$
|
|
1918
|
+
declare namespace index$q {
|
|
1919
1919
|
export { close as Close, create as Create, issue as Issue, open as Open, retire as Retire, transfer as Transfer };
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
@@ -1961,7 +1961,7 @@ declare namespace currencyStats {
|
|
|
1961
1961
|
* Таблица содержит информацию о балансе токенов пользователей
|
|
1962
1962
|
*/
|
|
1963
1963
|
|
|
1964
|
-
declare namespace index$
|
|
1964
|
+
declare namespace index$p {
|
|
1965
1965
|
export { accountBalance as AccountBalance, currencyStats as CurrencyStats };
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
@@ -1970,8 +1970,8 @@ declare const contractName$5: {
|
|
|
1970
1970
|
readonly testnet: "eosio.token";
|
|
1971
1971
|
};
|
|
1972
1972
|
|
|
1973
|
-
declare namespace index$
|
|
1974
|
-
export { index$
|
|
1973
|
+
declare namespace index$o {
|
|
1974
|
+
export { index$q as Actions, token as Interfaces, index$p as Tables, contractName$5 as contractName };
|
|
1975
1975
|
}
|
|
1976
1976
|
|
|
1977
1977
|
type IAsset$2 = string;
|
|
@@ -2126,6 +2126,7 @@ interface IDecision$1 {
|
|
|
2126
2126
|
username: IName$4;
|
|
2127
2127
|
type: IName$4;
|
|
2128
2128
|
batch_id: IUint64$2;
|
|
2129
|
+
statement: IDocument$1;
|
|
2129
2130
|
votes_for: IName$4[];
|
|
2130
2131
|
votes_against: IName$4[];
|
|
2131
2132
|
validated: boolean;
|
|
@@ -2551,7 +2552,7 @@ declare namespace newprogram {
|
|
|
2551
2552
|
* @private
|
|
2552
2553
|
*/
|
|
2553
2554
|
|
|
2554
|
-
declare namespace index$
|
|
2555
|
+
declare namespace index$n {
|
|
2555
2556
|
export { newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newresolved as NewResolved, newsubmitted as NewSubmitted };
|
|
2556
2557
|
}
|
|
2557
2558
|
|
|
@@ -2625,7 +2626,7 @@ declare namespace editAddress {
|
|
|
2625
2626
|
* Действие создаёт новый адрес.
|
|
2626
2627
|
*/
|
|
2627
2628
|
|
|
2628
|
-
declare namespace index$
|
|
2629
|
+
declare namespace index$m {
|
|
2629
2630
|
export { createAddress as CreateAddress, deleteAddress as DeleteAddress, editAddress as EditAddress };
|
|
2630
2631
|
}
|
|
2631
2632
|
|
|
@@ -2850,7 +2851,7 @@ declare namespace subProgramBalance {
|
|
|
2850
2851
|
* @private
|
|
2851
2852
|
*/
|
|
2852
2853
|
|
|
2853
|
-
declare namespace index$
|
|
2854
|
+
declare namespace index$l {
|
|
2854
2855
|
export { addBalance as AddBalance, addProgramBalance as AddProgramBalance, blockBalance as BlockBalance, subBalance as SubBalance, subProgramBalance as SubProgramBalance, unblockBalance as UnblockBalance };
|
|
2855
2856
|
}
|
|
2856
2857
|
|
|
@@ -2924,7 +2925,7 @@ declare namespace disableMarketProgram {
|
|
|
2924
2925
|
* Действие создаёт целевую потребительскую программу маркетплейса.
|
|
2925
2926
|
*/
|
|
2926
2927
|
|
|
2927
|
-
declare namespace index$
|
|
2928
|
+
declare namespace index$k {
|
|
2928
2929
|
export { createMarketProgram as CreateMarketProgram, disableMarketProgram as DisableMarketProgram, editMarketProgram as EditMarketProgram };
|
|
2929
2930
|
}
|
|
2930
2931
|
|
|
@@ -3242,7 +3243,7 @@ declare namespace disautomate {
|
|
|
3242
3243
|
* Принимает голос "ПРОТИВ" от члена совета по повестке собрания.
|
|
3243
3244
|
*/
|
|
3244
3245
|
|
|
3245
|
-
declare namespace index$
|
|
3246
|
+
declare namespace index$j {
|
|
3246
3247
|
export { authorize$1 as Authorize, automate as Automate, cancelVote as CancelVote, disautomate as Disautomate, exec$1 as Exec, fundWithdrawDecision as FundWithdrawDecision, joinCoopDecision as JoinCoopDecision, marketDecision as MarketDecision, productRecieved as ProductRecieved, validate as Validate, voteAgainst as VoteAgainst, voteFor as VoteFor, withdrawDecision as WithdrawDecision };
|
|
3247
3248
|
}
|
|
3248
3249
|
|
|
@@ -3283,7 +3284,7 @@ declare namespace updateBoard {
|
|
|
3283
3284
|
export { type updateBoard_IUpdateBoard as IUpdateBoard, actionName$10 as actionName, authorizations$10 as authorizations };
|
|
3284
3285
|
}
|
|
3285
3286
|
|
|
3286
|
-
declare namespace index$
|
|
3287
|
+
declare namespace index$i {
|
|
3287
3288
|
export { createBoard as CreateBoard, updateBoard as UpdateBoard };
|
|
3288
3289
|
}
|
|
3289
3290
|
|
|
@@ -3292,8 +3293,8 @@ declare namespace index$e {
|
|
|
3292
3293
|
* @private
|
|
3293
3294
|
*/
|
|
3294
3295
|
|
|
3295
|
-
declare namespace index$
|
|
3296
|
-
export { index$
|
|
3296
|
+
declare namespace index$h {
|
|
3297
|
+
export { index$m as Addresses, index$i as Boards, index$j as Decisions, index$k as Programs, index$n as Registry, index$l as Wallet };
|
|
3297
3298
|
}
|
|
3298
3299
|
|
|
3299
3300
|
/**
|
|
@@ -3527,7 +3528,7 @@ declare namespace wallets {
|
|
|
3527
3528
|
* Таблица хранит информацию о адресах кооператива.
|
|
3528
3529
|
*/
|
|
3529
3530
|
|
|
3530
|
-
declare namespace index$
|
|
3531
|
+
declare namespace index$g {
|
|
3531
3532
|
export { addresses as Addresses, admins as Admins, automationQueue as AutomationQueue, automations as Automations, boards as Boards, changes as Changes, decisions as Decisions, joinCoops as JoinCoops, marketPrograms as MarketPrograms, participants as Participants, programWallets as ProgramWallets, wallets as Wallets };
|
|
3532
3533
|
}
|
|
3533
3534
|
|
|
@@ -3536,8 +3537,8 @@ declare const contractName$4: {
|
|
|
3536
3537
|
readonly testnet: "soviettest22";
|
|
3537
3538
|
};
|
|
3538
3539
|
|
|
3539
|
-
declare namespace index$
|
|
3540
|
-
export { index$
|
|
3540
|
+
declare namespace index$f {
|
|
3541
|
+
export { index$h as Actions, soviet as Interfaces, index$g as Tables, contractName$4 as contractName };
|
|
3541
3542
|
}
|
|
3542
3543
|
|
|
3543
3544
|
type IAsset$1 = string;
|
|
@@ -4204,7 +4205,7 @@ declare namespace updateRequest {
|
|
|
4204
4205
|
* Действие для подтверждения готовности выполнить поставку по входящей заявке.
|
|
4205
4206
|
*/
|
|
4206
4207
|
|
|
4207
|
-
declare namespace index$
|
|
4208
|
+
declare namespace index$e {
|
|
4208
4209
|
export { acceptRequest as AcceptRequest, authorize as Authorize, cancelRequest as CancelRequest, completeRequest as CompleteRequest, confirmRecieve as ConfirmRecieve, confirmSupply as ConfirmSupply, createOffer as CreateOffer, createOrder as CreateOrder, declineRequest as DeclineRequest, deliverOnRequest as DeliverOnRequest, moderateRequest as ModerateRequest, newRequestId as NewRequestId, openDispute as OpenDispute, prohibitRequest as ProhibitRequest, publishRequest as PublishRequest, recieveOnRequest as RecieveOnRequest, supplyOnRequest as SupplyOnRequest, unpublishRequest as UnpublishRequest, updateRequest as UpdateRequests };
|
|
4209
4210
|
}
|
|
4210
4211
|
|
|
@@ -4234,7 +4235,7 @@ declare namespace requests {
|
|
|
4234
4235
|
* Таблица с заявками на поставки
|
|
4235
4236
|
*/
|
|
4236
4237
|
|
|
4237
|
-
declare namespace index$
|
|
4238
|
+
declare namespace index$d {
|
|
4238
4239
|
export { requests as Requests };
|
|
4239
4240
|
}
|
|
4240
4241
|
|
|
@@ -4243,8 +4244,8 @@ declare const contractName$3: {
|
|
|
4243
4244
|
readonly testnet: "markettest22";
|
|
4244
4245
|
};
|
|
4245
4246
|
|
|
4246
|
-
declare namespace index$
|
|
4247
|
-
export { index$
|
|
4247
|
+
declare namespace index$c {
|
|
4248
|
+
export { index$e as Actions, marketplace as Interfaces, index$d as Tables, contractName$3 as contractName };
|
|
4248
4249
|
}
|
|
4249
4250
|
|
|
4250
4251
|
type IName$2 = string;
|
|
@@ -4255,7 +4256,7 @@ type IUint8$2 = number;
|
|
|
4255
4256
|
type IUint16$2 = number;
|
|
4256
4257
|
type IUint32$2 = number;
|
|
4257
4258
|
type IChecksum256$1 = string;
|
|
4258
|
-
interface IAction$
|
|
4259
|
+
interface IAction$2 {
|
|
4259
4260
|
account: IName$2;
|
|
4260
4261
|
name: IName$2;
|
|
4261
4262
|
authorization: IPermissionLevel$2[];
|
|
@@ -4319,8 +4320,8 @@ interface IPropose {
|
|
|
4319
4320
|
trx: ITransaction$1;
|
|
4320
4321
|
}
|
|
4321
4322
|
interface ITransaction$1 extends ITransactionHeader$1 {
|
|
4322
|
-
context_free_actions: IAction$
|
|
4323
|
-
actions: IAction$
|
|
4323
|
+
context_free_actions: IAction$2[];
|
|
4324
|
+
actions: IAction$2[];
|
|
4324
4325
|
transaction_extensions: IExtension$1[];
|
|
4325
4326
|
}
|
|
4326
4327
|
interface ITransactionHeader$1 {
|
|
@@ -4345,7 +4346,7 @@ type msig_IOldApprovalsInfo = IOldApprovalsInfo;
|
|
|
4345
4346
|
type msig_IPropose = IPropose;
|
|
4346
4347
|
type msig_IUnapprove = IUnapprove;
|
|
4347
4348
|
declare namespace msig {
|
|
4348
|
-
export type { IAction$
|
|
4349
|
+
export type { IAction$2 as IAction, IApproval$2 as IApproval, msig_IApprovalsInfo as IApprovalsInfo, msig_IApprove as IApprove, IBytes$2 as IBytes, msig_ICancel as ICancel, IChecksum256$1 as IChecksum256, IExec$2 as IExec, IExtension$1 as IExtension, msig_IInvalidate as IInvalidate, IInvalidation$1 as IInvalidation, IName$2 as IName, msig_IOldApprovalsInfo as IOldApprovalsInfo, IPermissionLevel$2 as IPermissionLevel, IProposal$1 as IProposal, msig_IPropose as IPropose, ITimePoint$1 as ITimePoint, ITimePointSec$2 as ITimePointSec, ITransaction$1 as ITransaction, ITransactionHeader$1 as ITransactionHeader, IUint16$2 as IUint16, IUint32$2 as IUint32, IUint8$2 as IUint8, msig_IUnapprove as IUnapprove };
|
|
4349
4350
|
}
|
|
4350
4351
|
|
|
4351
4352
|
/**
|
|
@@ -4503,7 +4504,7 @@ declare namespace invalidateAccount {
|
|
|
4503
4504
|
* Если такое предложение уже существует, оно будет заменено новым.
|
|
4504
4505
|
*/
|
|
4505
4506
|
|
|
4506
|
-
declare namespace index$
|
|
4507
|
+
declare namespace index$b {
|
|
4507
4508
|
export { approveProposal as ApproveProposal, cancelProposal as CancelProposal, execProposal as ExecProposal, invalidateAccount as InvalidateProposal, proposeTransaction as ProposeTransaction, unapproveProposal as UnapproveProposal };
|
|
4508
4509
|
}
|
|
4509
4510
|
|
|
@@ -4595,7 +4596,7 @@ declare namespace proposals {
|
|
|
4595
4596
|
* @deprecated
|
|
4596
4597
|
*/
|
|
4597
4598
|
|
|
4598
|
-
declare namespace index$
|
|
4599
|
+
declare namespace index$a {
|
|
4599
4600
|
export { approvals as Approvals, approvals2 as Approvals2, invalidations as Invalidations, proposals as Proposals };
|
|
4600
4601
|
}
|
|
4601
4602
|
|
|
@@ -4604,8 +4605,8 @@ declare const contractName$2: {
|
|
|
4604
4605
|
readonly testnet: "eosio.msig";
|
|
4605
4606
|
};
|
|
4606
4607
|
|
|
4607
|
-
declare namespace index$
|
|
4608
|
-
export { index$
|
|
4608
|
+
declare namespace index$9 {
|
|
4609
|
+
export { index$b as Actions, msig as Interfaces, index$a as Tables, contractName$2 as contractName };
|
|
4609
4610
|
}
|
|
4610
4611
|
|
|
4611
4612
|
type IName$1 = string;
|
|
@@ -4614,7 +4615,7 @@ type ITimePointSec$1 = string;
|
|
|
4614
4615
|
type IUint8$1 = number;
|
|
4615
4616
|
type IUint16$1 = number;
|
|
4616
4617
|
type IUint32$1 = number;
|
|
4617
|
-
interface IAction {
|
|
4618
|
+
interface IAction$1 {
|
|
4618
4619
|
account: IName$1;
|
|
4619
4620
|
name: IName$1;
|
|
4620
4621
|
authorization: IPermissionLevel$1[];
|
|
@@ -4633,8 +4634,8 @@ interface IPermissionLevel$1 {
|
|
|
4633
4634
|
permission: IName$1;
|
|
4634
4635
|
}
|
|
4635
4636
|
interface ITransaction extends ITransactionHeader {
|
|
4636
|
-
context_free_actions: IAction[];
|
|
4637
|
-
actions: IAction[];
|
|
4637
|
+
context_free_actions: IAction$1[];
|
|
4638
|
+
actions: IAction$1[];
|
|
4638
4639
|
transaction_extensions: IExtension[];
|
|
4639
4640
|
}
|
|
4640
4641
|
interface ITransactionHeader {
|
|
@@ -4646,12 +4647,11 @@ interface ITransactionHeader {
|
|
|
4646
4647
|
delay_sec: IUint32$1;
|
|
4647
4648
|
}
|
|
4648
4649
|
|
|
4649
|
-
type wrap_IAction = IAction;
|
|
4650
4650
|
type wrap_IExtension = IExtension;
|
|
4651
4651
|
type wrap_ITransaction = ITransaction;
|
|
4652
4652
|
type wrap_ITransactionHeader = ITransactionHeader;
|
|
4653
4653
|
declare namespace wrap {
|
|
4654
|
-
export type {
|
|
4654
|
+
export type { IAction$1 as IAction, IBytes$1 as IBytes, IExec$1 as IExec, wrap_IExtension as IExtension, IName$1 as IName, IPermissionLevel$1 as IPermissionLevel, ITimePointSec$1 as ITimePointSec, wrap_ITransaction as ITransaction, wrap_ITransactionHeader as ITransactionHeader, IUint16$1 as IUint16, IUint32$1 as IUint32, IUint8$1 as IUint8 };
|
|
4655
4655
|
}
|
|
4656
4656
|
|
|
4657
4657
|
/**
|
|
@@ -4687,7 +4687,7 @@ declare namespace exec {
|
|
|
4687
4687
|
* Использование RAM отложенной транзакции выставляется аккаунту 'executer'.
|
|
4688
4688
|
*/
|
|
4689
4689
|
|
|
4690
|
-
declare namespace index$
|
|
4690
|
+
declare namespace index$8 {
|
|
4691
4691
|
export { exec as Exec };
|
|
4692
4692
|
}
|
|
4693
4693
|
|
|
@@ -4696,8 +4696,8 @@ declare const contractName$1: {
|
|
|
4696
4696
|
readonly testnet: "eosio.wrap";
|
|
4697
4697
|
};
|
|
4698
4698
|
|
|
4699
|
-
declare namespace index$
|
|
4700
|
-
export { index$
|
|
4699
|
+
declare namespace index$7 {
|
|
4700
|
+
export { index$8 as Actions, wrap as Interfaces, contractName$1 as contractName };
|
|
4701
4701
|
}
|
|
4702
4702
|
|
|
4703
4703
|
type IAsset = string;
|
|
@@ -5945,7 +5945,7 @@ declare namespace cancelDelay {
|
|
|
5945
5945
|
* Действие инициализирует системный контракт после установки.
|
|
5946
5946
|
*/
|
|
5947
5947
|
|
|
5948
|
-
declare namespace index$
|
|
5948
|
+
declare namespace index$6 {
|
|
5949
5949
|
export { activateFeature as ActivateFeature, bidName as BidName, bidNameRefund as BidNameRefund, buyRAM as BuyRAM, buyRAMBytes as BuyRAMBytes, cancelDelay as CancelDelay, claimRewards as ClaimRewards, createAccount as CreateAccount, delegateBW as DelegateBW, deleteAuth as DeleteAuth, execPowerup as ExecPowerup, init as Init, initEmission as InitEmission, initPowerup as InitPowerup, linkAuth as LinkAuth, newAccount as NewAccount, powerup as Powerup, refund as Refund, registerProducer as RegisterProducer, registerProducer2 as RegisterProducer2, registerProxy as RegisterProxy, removeProducer as RemoveProducer, setAbi as SetAbi, setAccountLimits as SetAccountLimits, setCPULimits as SetCPULimits, setCode as SetCode, setNETLimits as SetNETLimits, setParams as SetParams, setPrivileged as SetPrivileged, setRAMLimits as SetRAMLimits, setTotalRAM as SetTotalRAM, setTotalRAMRate as SetTotalRAMRate, undelegateBW as UndelegateBW, unregisterProducer as UnregisterProducer, updateAuth as UpdateAuth, updateRevision as UpdateRevision, voteForProducer as VoteForProducer, voteUpdate as VoteUpdate };
|
|
5950
5950
|
}
|
|
5951
5951
|
|
|
@@ -6213,18 +6213,18 @@ declare namespace voters {
|
|
|
6213
6213
|
* Таблица предоставляет информацию о ходе возврата токенов из аукциона имен.
|
|
6214
6214
|
*/
|
|
6215
6215
|
|
|
6216
|
-
declare const index$
|
|
6217
|
-
declare const index$
|
|
6218
|
-
declare const index$
|
|
6219
|
-
declare const index$
|
|
6220
|
-
declare const index$
|
|
6221
|
-
declare const index$
|
|
6222
|
-
declare const index$
|
|
6223
|
-
declare const index$
|
|
6224
|
-
declare const index$
|
|
6225
|
-
declare const index$
|
|
6226
|
-
declare namespace index$
|
|
6227
|
-
export { bidRefunds as BidRefunds, nameBids as NameBids, index$
|
|
6216
|
+
declare const index$5_delegatedBandwith: typeof delegatedBandwith;
|
|
6217
|
+
declare const index$5_emissionState: typeof emissionState;
|
|
6218
|
+
declare const index$5_globalState: typeof globalState;
|
|
6219
|
+
declare const index$5_powerState: typeof powerState;
|
|
6220
|
+
declare const index$5_powerupOrders: typeof powerupOrders;
|
|
6221
|
+
declare const index$5_producers: typeof producers;
|
|
6222
|
+
declare const index$5_ramDebts: typeof ramDebts;
|
|
6223
|
+
declare const index$5_refunds: typeof refunds;
|
|
6224
|
+
declare const index$5_userResources: typeof userResources;
|
|
6225
|
+
declare const index$5_voters: typeof voters;
|
|
6226
|
+
declare namespace index$5 {
|
|
6227
|
+
export { bidRefunds as BidRefunds, nameBids as NameBids, index$5_delegatedBandwith as delegatedBandwith, index$5_emissionState as emissionState, index$5_globalState as globalState, index$5_powerState as powerState, index$5_powerupOrders as powerupOrders, index$5_producers as producers, index$5_ramDebts as ramDebts, index$5_refunds as refunds, index$5_userResources as userResources, index$5_voters as voters };
|
|
6228
6228
|
}
|
|
6229
6229
|
|
|
6230
6230
|
declare const contractName: {
|
|
@@ -6232,9 +6232,233 @@ declare const contractName: {
|
|
|
6232
6232
|
readonly testnet: "eosio";
|
|
6233
6233
|
};
|
|
6234
6234
|
|
|
6235
|
-
declare const
|
|
6235
|
+
declare const index$4_contractName: typeof contractName;
|
|
6236
|
+
declare namespace index$4 {
|
|
6237
|
+
export { index$6 as Actions, system as Interfaces, index$5 as Tables, index$4_contractName as contractName };
|
|
6238
|
+
}
|
|
6239
|
+
|
|
6240
|
+
type Country = 'Russia' | 'Other';
|
|
6241
|
+
interface Details {
|
|
6242
|
+
inn: string;
|
|
6243
|
+
ogrn: string;
|
|
6244
|
+
}
|
|
6245
|
+
type Currency = 'RUB' | 'Other';
|
|
6246
|
+
interface IBankAccount {
|
|
6247
|
+
currency: Currency;
|
|
6248
|
+
card_number?: string;
|
|
6249
|
+
bank_name: string;
|
|
6250
|
+
account_number: string;
|
|
6251
|
+
details: {
|
|
6252
|
+
bik: string;
|
|
6253
|
+
corr: string;
|
|
6254
|
+
kpp: string;
|
|
6255
|
+
};
|
|
6256
|
+
}
|
|
6257
|
+
interface IIndividualData {
|
|
6258
|
+
first_name: string;
|
|
6259
|
+
last_name: string;
|
|
6260
|
+
middle_name: string;
|
|
6261
|
+
birthdate: string;
|
|
6262
|
+
full_address: string;
|
|
6263
|
+
phone: string;
|
|
6264
|
+
email: string;
|
|
6265
|
+
}
|
|
6266
|
+
interface IOrganizationData {
|
|
6267
|
+
is_cooperative: boolean;
|
|
6268
|
+
short_name: string;
|
|
6269
|
+
full_name: string;
|
|
6270
|
+
represented_by: {
|
|
6271
|
+
first_name: string;
|
|
6272
|
+
last_name: string;
|
|
6273
|
+
middle_name: string;
|
|
6274
|
+
position: string;
|
|
6275
|
+
based_on: string;
|
|
6276
|
+
};
|
|
6277
|
+
country: Country;
|
|
6278
|
+
city: string;
|
|
6279
|
+
full_address: string;
|
|
6280
|
+
phone: string;
|
|
6281
|
+
email: string;
|
|
6282
|
+
details: Details;
|
|
6283
|
+
bank_account: IBankAccount;
|
|
6284
|
+
}
|
|
6285
|
+
interface IEntrepreneurData {
|
|
6286
|
+
first_name: string;
|
|
6287
|
+
last_name: string;
|
|
6288
|
+
middle_name: string;
|
|
6289
|
+
birthdate: string;
|
|
6290
|
+
phone: string;
|
|
6291
|
+
email: string;
|
|
6292
|
+
country: Country;
|
|
6293
|
+
city: string;
|
|
6294
|
+
full_address: string;
|
|
6295
|
+
details: Details;
|
|
6296
|
+
bank_account: IBankAccount;
|
|
6297
|
+
}
|
|
6298
|
+
type IUserData = IIndividualData | IOrganizationData | IEntrepreneurData;
|
|
6299
|
+
|
|
6300
|
+
type index$3_Country = Country;
|
|
6301
|
+
type index$3_Currency = Currency;
|
|
6302
|
+
type index$3_Details = Details;
|
|
6303
|
+
type index$3_IBankAccount = IBankAccount;
|
|
6304
|
+
type index$3_IEntrepreneurData = IEntrepreneurData;
|
|
6305
|
+
type index$3_IIndividualData = IIndividualData;
|
|
6306
|
+
type index$3_IOrganizationData = IOrganizationData;
|
|
6307
|
+
type index$3_IUserData = IUserData;
|
|
6308
|
+
declare namespace index$3 {
|
|
6309
|
+
export type { index$3_Country as Country, index$3_Currency as Currency, index$3_Details as Details, index$3_IBankAccount as IBankAccount, index$3_IEntrepreneurData as IEntrepreneurData, index$3_IIndividualData as IIndividualData, index$3_IOrganizationData as IOrganizationData, index$3_IUserData as IUserData };
|
|
6310
|
+
}
|
|
6311
|
+
|
|
6312
|
+
interface ITable {
|
|
6313
|
+
chain_id: string;
|
|
6314
|
+
block_num: number;
|
|
6315
|
+
block_id: string;
|
|
6316
|
+
present: string;
|
|
6317
|
+
code: string;
|
|
6318
|
+
scope: string;
|
|
6319
|
+
table: string;
|
|
6320
|
+
primary_key: string;
|
|
6321
|
+
value?: any;
|
|
6322
|
+
}
|
|
6323
|
+
interface IAction {
|
|
6324
|
+
transaction_id: string;
|
|
6325
|
+
account: string;
|
|
6326
|
+
block_num: number;
|
|
6327
|
+
block_id: string;
|
|
6328
|
+
chain_id: string;
|
|
6329
|
+
name: string;
|
|
6330
|
+
receiver: string;
|
|
6331
|
+
authorization: Array<{
|
|
6332
|
+
actor: string;
|
|
6333
|
+
permission: string;
|
|
6334
|
+
}>;
|
|
6335
|
+
data: any;
|
|
6336
|
+
action_ordinal: number;
|
|
6337
|
+
global_sequence: string;
|
|
6338
|
+
account_ram_deltas: Array<{
|
|
6339
|
+
account: string;
|
|
6340
|
+
delta: number;
|
|
6341
|
+
}>;
|
|
6342
|
+
console: string;
|
|
6343
|
+
receipt: {
|
|
6344
|
+
receiver: string;
|
|
6345
|
+
act_digest: string;
|
|
6346
|
+
global_sequence: string;
|
|
6347
|
+
recv_sequence: string;
|
|
6348
|
+
auth_sequence: Array<{
|
|
6349
|
+
account: string;
|
|
6350
|
+
sequence: string;
|
|
6351
|
+
}>;
|
|
6352
|
+
code_sequence: number;
|
|
6353
|
+
abi_sequence: number;
|
|
6354
|
+
};
|
|
6355
|
+
creator_action_ordinal: number;
|
|
6356
|
+
context_free: boolean;
|
|
6357
|
+
elapsed: number;
|
|
6358
|
+
}
|
|
6359
|
+
interface IExtendedTable extends ITable {
|
|
6360
|
+
}
|
|
6361
|
+
interface IExtendedAction extends IAction {
|
|
6362
|
+
user: IIndividualData | IEntrepreneurData | IOrganizationData | null;
|
|
6363
|
+
}
|
|
6364
|
+
interface IGetActions {
|
|
6365
|
+
results: IAction[];
|
|
6366
|
+
page: number;
|
|
6367
|
+
limit: number;
|
|
6368
|
+
}
|
|
6369
|
+
interface IGetTables {
|
|
6370
|
+
results: ITable[];
|
|
6371
|
+
page: number;
|
|
6372
|
+
limit: number;
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
type index$2_IAction = IAction;
|
|
6376
|
+
type index$2_IExtendedAction = IExtendedAction;
|
|
6377
|
+
type index$2_IExtendedTable = IExtendedTable;
|
|
6378
|
+
type index$2_IGetActions = IGetActions;
|
|
6379
|
+
type index$2_IGetTables = IGetTables;
|
|
6380
|
+
type index$2_ITable = ITable;
|
|
6381
|
+
declare namespace index$2 {
|
|
6382
|
+
export type { index$2_IAction as IAction, index$2_IExtendedAction as IExtendedAction, index$2_IExtendedTable as IExtendedTable, index$2_IGetActions as IGetActions, index$2_IGetTables as IGetTables, index$2_ITable as ITable };
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
type LangType = 'ru';
|
|
6386
|
+
interface IChainDocument {
|
|
6387
|
+
hash: string;
|
|
6388
|
+
public_key: string;
|
|
6389
|
+
signature: string;
|
|
6390
|
+
meta: string;
|
|
6391
|
+
}
|
|
6392
|
+
interface IMetaDocument {
|
|
6393
|
+
code: string;
|
|
6394
|
+
action: string;
|
|
6395
|
+
title: string;
|
|
6396
|
+
registry_id: number;
|
|
6397
|
+
lang: LangType;
|
|
6398
|
+
generator: string;
|
|
6399
|
+
version: string;
|
|
6400
|
+
coopname: string;
|
|
6401
|
+
username: string;
|
|
6402
|
+
created_at: string;
|
|
6403
|
+
block_num: number;
|
|
6404
|
+
timezone: string;
|
|
6405
|
+
}
|
|
6406
|
+
interface IGeneratedDocument {
|
|
6407
|
+
full_title?: string;
|
|
6408
|
+
html: string;
|
|
6409
|
+
hash: string;
|
|
6410
|
+
meta: IMetaDocument;
|
|
6411
|
+
binary: Uint8Array;
|
|
6412
|
+
}
|
|
6413
|
+
interface IComplexStatement {
|
|
6414
|
+
action: IExtendedAction;
|
|
6415
|
+
document: IGeneratedDocument;
|
|
6416
|
+
}
|
|
6417
|
+
interface IComplexDecision {
|
|
6418
|
+
action: IExtendedAction;
|
|
6419
|
+
document: IGeneratedDocument;
|
|
6420
|
+
votes_for: IExtendedAction[];
|
|
6421
|
+
votes_against: IExtendedAction[];
|
|
6422
|
+
}
|
|
6423
|
+
interface IComplexAct {
|
|
6424
|
+
action?: IExtendedAction;
|
|
6425
|
+
document?: IGeneratedDocument;
|
|
6426
|
+
}
|
|
6427
|
+
interface IComplexDocument {
|
|
6428
|
+
statement: IComplexStatement;
|
|
6429
|
+
decision: IComplexDecision;
|
|
6430
|
+
acts: IComplexAct[];
|
|
6431
|
+
}
|
|
6432
|
+
interface IGetComplexDocuments {
|
|
6433
|
+
results: IComplexDocument[];
|
|
6434
|
+
page: number;
|
|
6435
|
+
limit: number;
|
|
6436
|
+
}
|
|
6437
|
+
interface IAgenda {
|
|
6438
|
+
table: IDecision;
|
|
6439
|
+
action: IAction;
|
|
6440
|
+
}
|
|
6441
|
+
interface IComplexAgenda extends IAgenda {
|
|
6442
|
+
documents: IComplexDocument;
|
|
6443
|
+
}
|
|
6444
|
+
|
|
6445
|
+
type index$1_IAgenda = IAgenda;
|
|
6446
|
+
type index$1_IChainDocument = IChainDocument;
|
|
6447
|
+
type index$1_IComplexAct = IComplexAct;
|
|
6448
|
+
type index$1_IComplexAgenda = IComplexAgenda;
|
|
6449
|
+
type index$1_IComplexDecision = IComplexDecision;
|
|
6450
|
+
type index$1_IComplexDocument = IComplexDocument;
|
|
6451
|
+
type index$1_IComplexStatement = IComplexStatement;
|
|
6452
|
+
type index$1_IGeneratedDocument = IGeneratedDocument;
|
|
6453
|
+
type index$1_IGetComplexDocuments = IGetComplexDocuments;
|
|
6454
|
+
type index$1_IMetaDocument = IMetaDocument;
|
|
6455
|
+
type index$1_LangType = LangType;
|
|
6456
|
+
declare namespace index$1 {
|
|
6457
|
+
export type { index$1_IAgenda as IAgenda, index$1_IChainDocument as IChainDocument, index$1_IComplexAct as IComplexAct, index$1_IComplexAgenda as IComplexAgenda, index$1_IComplexDecision as IComplexDecision, index$1_IComplexDocument as IComplexDocument, index$1_IComplexStatement as IComplexStatement, index$1_IGeneratedDocument as IGeneratedDocument, index$1_IGetComplexDocuments as IGetComplexDocuments, index$1_IMetaDocument as IMetaDocument, index$1_LangType as LangType };
|
|
6458
|
+
}
|
|
6459
|
+
|
|
6236
6460
|
declare namespace index {
|
|
6237
|
-
export { index$2 as
|
|
6461
|
+
export { index$2 as Blockchain, index$1 as Documents, index$3 as Users };
|
|
6238
6462
|
}
|
|
6239
6463
|
|
|
6240
|
-
export { index$
|
|
6464
|
+
export { index as Cooperative, index$A as DraftContract, index$x as FundContract, index$u as GatewayContract, index$c as MarketContract, index$9 as MsigContract, index$r as RegistratorContract, index$f as SovietContract, index$4 as SystemContract, index$o as TokenContract, index$7 as WrapContract, index$D as _Common };
|