@functionland/react-native-fula 1.55.15 → 1.55.16
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/LICENSE +20 -20
- package/android/build.gradle +114 -114
- package/android/gradle.properties +8 -8
- package/android/src/main/AndroidManifest.xml +3 -3
- package/android/src/main/AndroidManifestNew.xml +2 -2
- package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
- package/android/src/main/java/land/fx/fula/Cryptography.java +62 -62
- package/android/src/main/java/land/fx/fula/FulaModule.java +0 -0
- package/android/src/main/java/land/fx/fula/FulaPackage.java +32 -32
- package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
- package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
- package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
- package/ios/Cryptography.swift +59 -59
- package/ios/Fula-Bridging-Header.h +3 -3
- package/ios/Fula.mm +272 -272
- package/ios/Fula.swift +18 -15
- package/ios/UserDataHelper.swift +143 -143
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-consts.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-errors.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-events.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-query.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-rpc.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-runtime.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-tx.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api.js.map +1 -1
- package/lib/commonjs/interfaces/augment-types.js.map +1 -1
- package/lib/commonjs/interfaces/definitions.js.map +1 -1
- package/lib/commonjs/interfaces/defintions.js.map +1 -1
- package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/commonjs/interfaces/index.js.map +1 -1
- package/lib/commonjs/interfaces/lookup.js +300 -300
- package/lib/commonjs/interfaces/lookup.js.map +1 -1
- package/lib/commonjs/interfaces/registry.js.map +1 -1
- package/lib/commonjs/interfaces/types-lookup.js.map +1 -1
- package/lib/commonjs/interfaces/types.js.map +1 -1
- package/lib/commonjs/protocols/blockchain.js +70 -70
- package/lib/commonjs/protocols/blockchain.js.map +1 -1
- package/lib/commonjs/protocols/chain-api.js.map +1 -1
- package/lib/commonjs/protocols/fula.js.map +1 -1
- package/lib/commonjs/protocols/fx-ai.js.map +1 -1
- package/lib/commonjs/protocols/fxblox.js +3 -3
- package/lib/commonjs/protocols/fxblox.js.map +1 -1
- package/lib/commonjs/types/blockchain.js.map +1 -1
- package/lib/commonjs/types/fxblox.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/augment-api-consts.js.map +1 -1
- package/lib/module/interfaces/augment-api-errors.js.map +1 -1
- package/lib/module/interfaces/augment-api-events.js.map +1 -1
- package/lib/module/interfaces/augment-api-query.js.map +1 -1
- package/lib/module/interfaces/augment-api-rpc.js.map +1 -1
- package/lib/module/interfaces/augment-api-runtime.js.map +1 -1
- package/lib/module/interfaces/augment-api-tx.js.map +1 -1
- package/lib/module/interfaces/augment-api.js.map +1 -1
- package/lib/module/interfaces/augment-types.js.map +1 -1
- package/lib/module/interfaces/definitions.js.map +1 -1
- package/lib/module/interfaces/defintions.js.map +1 -1
- package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/module/interfaces/index.js.map +1 -1
- package/lib/module/interfaces/lookup.js +300 -300
- package/lib/module/interfaces/lookup.js.map +1 -1
- package/lib/module/interfaces/registry.js.map +1 -1
- package/lib/module/interfaces/types-lookup.js.map +1 -1
- package/lib/module/interfaces/types.js.map +1 -1
- package/lib/module/protocols/blockchain.js +70 -70
- package/lib/module/protocols/blockchain.js.map +1 -1
- package/lib/module/protocols/chain-api.js.map +1 -1
- package/lib/module/protocols/fula.js.map +1 -1
- package/lib/module/protocols/fx-ai.js.map +1 -1
- package/lib/module/protocols/fxblox.js +3 -3
- package/lib/module/protocols/fxblox.js.map +1 -1
- package/lib/module/types/blockchain.js.map +1 -1
- package/lib/module/types/fxblox.js.map +1 -1
- package/package.json +177 -176
- package/src/index.tsx +4 -4
- package/src/interfaces/augment-api-consts.ts +273 -273
- package/src/interfaces/augment-api-errors.ts +474 -474
- package/src/interfaces/augment-api-events.ts +448 -448
- package/src/interfaces/augment-api-query.ts +466 -466
- package/src/interfaces/augment-api-rpc.ts +617 -617
- package/src/interfaces/augment-api-runtime.ts +223 -223
- package/src/interfaces/augment-api-tx.ts +709 -709
- package/src/interfaces/augment-api.ts +9 -9
- package/src/interfaces/augment-types.ts +1322 -1322
- package/src/interfaces/definitions.ts +1 -1
- package/src/interfaces/defintions.ts +1 -1
- package/src/interfaces/index.ts +3 -3
- package/src/interfaces/lookup.ts +2011 -2011
- package/src/interfaces/registry.ts +163 -163
- package/src/interfaces/types-lookup.ts +2165 -2165
- package/src/interfaces/types.ts +2 -2
- package/src/protocols/blockchain.ts +716 -716
- package/src/protocols/fxblox.ts +442 -442
|
@@ -1,474 +1,474 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/errors';
|
|
7
|
-
|
|
8
|
-
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
9
|
-
|
|
10
|
-
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
11
|
-
|
|
12
|
-
declare module '@polkadot/api-base/types/errors' {
|
|
13
|
-
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
14
|
-
asset: {
|
|
15
|
-
AssetNotFound: AugmentedError<ApiType>;
|
|
16
|
-
ClassNotFound: AugmentedError<ApiType>;
|
|
17
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
18
|
-
InUse: AugmentedError<ApiType>;
|
|
19
|
-
InvalidArrayLength: AugmentedError<ApiType>;
|
|
20
|
-
InvalidAssetId: AugmentedError<ApiType>;
|
|
21
|
-
InvalidClassId: AugmentedError<ApiType>;
|
|
22
|
-
NoPermission: AugmentedError<ApiType>;
|
|
23
|
-
NumOverflow: AugmentedError<ApiType>;
|
|
24
|
-
Overflow: AugmentedError<ApiType>;
|
|
25
|
-
Unknown: AugmentedError<ApiType>;
|
|
26
|
-
/**
|
|
27
|
-
* Generic error
|
|
28
|
-
**/
|
|
29
|
-
[key: string]: AugmentedError<ApiType>;
|
|
30
|
-
};
|
|
31
|
-
bag: {
|
|
32
|
-
BagClassExists: AugmentedError<ApiType>;
|
|
33
|
-
BagExists: AugmentedError<ApiType>;
|
|
34
|
-
InsufficientShares: AugmentedError<ApiType>;
|
|
35
|
-
InvalidArrayLength: AugmentedError<ApiType>;
|
|
36
|
-
InvalidBag: AugmentedError<ApiType>;
|
|
37
|
-
InvalidBagClass: AugmentedError<ApiType>;
|
|
38
|
-
InvalidBagOperator: AugmentedError<ApiType>;
|
|
39
|
-
InvalidBagOwner: AugmentedError<ApiType>;
|
|
40
|
-
/**
|
|
41
|
-
* Generic error
|
|
42
|
-
**/
|
|
43
|
-
[key: string]: AugmentedError<ApiType>;
|
|
44
|
-
};
|
|
45
|
-
balances: {
|
|
46
|
-
/**
|
|
47
|
-
* Beneficiary account must pre-exist.
|
|
48
|
-
**/
|
|
49
|
-
DeadAccount: AugmentedError<ApiType>;
|
|
50
|
-
/**
|
|
51
|
-
* Value too low to create account due to existential deposit.
|
|
52
|
-
**/
|
|
53
|
-
ExistentialDeposit: AugmentedError<ApiType>;
|
|
54
|
-
/**
|
|
55
|
-
* A vesting schedule already exists for this account.
|
|
56
|
-
**/
|
|
57
|
-
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
58
|
-
/**
|
|
59
|
-
* Transfer/payment would kill account.
|
|
60
|
-
**/
|
|
61
|
-
Expendability: AugmentedError<ApiType>;
|
|
62
|
-
/**
|
|
63
|
-
* Balance too low to send value.
|
|
64
|
-
**/
|
|
65
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
66
|
-
/**
|
|
67
|
-
* Account liquidity restrictions prevent withdrawal.
|
|
68
|
-
**/
|
|
69
|
-
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
70
|
-
/**
|
|
71
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
72
|
-
**/
|
|
73
|
-
TooManyFreezes: AugmentedError<ApiType>;
|
|
74
|
-
/**
|
|
75
|
-
* Number of holds exceed `MaxHolds`.
|
|
76
|
-
**/
|
|
77
|
-
TooManyHolds: AugmentedError<ApiType>;
|
|
78
|
-
/**
|
|
79
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
80
|
-
**/
|
|
81
|
-
TooManyReserves: AugmentedError<ApiType>;
|
|
82
|
-
/**
|
|
83
|
-
* Vesting balance too high to send value.
|
|
84
|
-
**/
|
|
85
|
-
VestingBalance: AugmentedError<ApiType>;
|
|
86
|
-
/**
|
|
87
|
-
* Generic error
|
|
88
|
-
**/
|
|
89
|
-
[key: string]: AugmentedError<ApiType>;
|
|
90
|
-
};
|
|
91
|
-
bundle: {
|
|
92
|
-
AccountNotOwner: AugmentedError<ApiType>;
|
|
93
|
-
AssetExists: AugmentedError<ApiType>;
|
|
94
|
-
/**
|
|
95
|
-
* Bundle already exists
|
|
96
|
-
**/
|
|
97
|
-
BundleExists: AugmentedError<ApiType>;
|
|
98
|
-
/**
|
|
99
|
-
* Bundle does not exists
|
|
100
|
-
**/
|
|
101
|
-
BundleNotFound: AugmentedError<ApiType>;
|
|
102
|
-
/**
|
|
103
|
-
* Insufficient asset balance
|
|
104
|
-
**/
|
|
105
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
106
|
-
/**
|
|
107
|
-
* Array is of wrong length
|
|
108
|
-
**/
|
|
109
|
-
InvalidArrayLength: AugmentedError<ApiType>;
|
|
110
|
-
/**
|
|
111
|
-
* Bundle hash does not match bundle id
|
|
112
|
-
**/
|
|
113
|
-
InvalidBundleIdForBundle: AugmentedError<ApiType>;
|
|
114
|
-
/**
|
|
115
|
-
* Number Overflow
|
|
116
|
-
**/
|
|
117
|
-
NumOverflow: AugmentedError<ApiType>;
|
|
118
|
-
/**
|
|
119
|
-
* Generic error
|
|
120
|
-
**/
|
|
121
|
-
[key: string]: AugmentedError<ApiType>;
|
|
122
|
-
};
|
|
123
|
-
council: {
|
|
124
|
-
/**
|
|
125
|
-
* Members are already initialized!
|
|
126
|
-
**/
|
|
127
|
-
AlreadyInitialized: AugmentedError<ApiType>;
|
|
128
|
-
/**
|
|
129
|
-
* Duplicate proposals not allowed
|
|
130
|
-
**/
|
|
131
|
-
DuplicateProposal: AugmentedError<ApiType>;
|
|
132
|
-
/**
|
|
133
|
-
* Duplicate vote ignored
|
|
134
|
-
**/
|
|
135
|
-
DuplicateVote: AugmentedError<ApiType>;
|
|
136
|
-
/**
|
|
137
|
-
* Account is not a member
|
|
138
|
-
**/
|
|
139
|
-
NotMember: AugmentedError<ApiType>;
|
|
140
|
-
/**
|
|
141
|
-
* Proposal must exist
|
|
142
|
-
**/
|
|
143
|
-
ProposalMissing: AugmentedError<ApiType>;
|
|
144
|
-
/**
|
|
145
|
-
* The close call was made too early, before the end of the voting.
|
|
146
|
-
**/
|
|
147
|
-
TooEarly: AugmentedError<ApiType>;
|
|
148
|
-
/**
|
|
149
|
-
* There can only be a maximum of `MaxProposals` active proposals.
|
|
150
|
-
**/
|
|
151
|
-
TooManyProposals: AugmentedError<ApiType>;
|
|
152
|
-
/**
|
|
153
|
-
* Mismatched index
|
|
154
|
-
**/
|
|
155
|
-
WrongIndex: AugmentedError<ApiType>;
|
|
156
|
-
/**
|
|
157
|
-
* The given length bound for the proposal was too low.
|
|
158
|
-
**/
|
|
159
|
-
WrongProposalLength: AugmentedError<ApiType>;
|
|
160
|
-
/**
|
|
161
|
-
* The given weight bound for the proposal was too low.
|
|
162
|
-
**/
|
|
163
|
-
WrongProposalWeight: AugmentedError<ApiType>;
|
|
164
|
-
/**
|
|
165
|
-
* Generic error
|
|
166
|
-
**/
|
|
167
|
-
[key: string]: AugmentedError<ApiType>;
|
|
168
|
-
};
|
|
169
|
-
dao: {
|
|
170
|
-
/**
|
|
171
|
-
* Error names should be descriptive.
|
|
172
|
-
**/
|
|
173
|
-
NoneValue: AugmentedError<ApiType>;
|
|
174
|
-
/**
|
|
175
|
-
* Errors should have helpful documentation associated with them.
|
|
176
|
-
**/
|
|
177
|
-
StorageOverflow: AugmentedError<ApiType>;
|
|
178
|
-
/**
|
|
179
|
-
* Generic error
|
|
180
|
-
**/
|
|
181
|
-
[key: string]: AugmentedError<ApiType>;
|
|
182
|
-
};
|
|
183
|
-
exgine: {
|
|
184
|
-
/**
|
|
185
|
-
* Error names should be descriptive.
|
|
186
|
-
**/
|
|
187
|
-
NoneValue: AugmentedError<ApiType>;
|
|
188
|
-
/**
|
|
189
|
-
* Errors should have helpful documentation associated with them.
|
|
190
|
-
**/
|
|
191
|
-
StorageOverflow: AugmentedError<ApiType>;
|
|
192
|
-
/**
|
|
193
|
-
* Generic error
|
|
194
|
-
**/
|
|
195
|
-
[key: string]: AugmentedError<ApiType>;
|
|
196
|
-
};
|
|
197
|
-
fula: {
|
|
198
|
-
AccountAlreadyStorer: AugmentedError<ApiType>;
|
|
199
|
-
AccountNotFound: AugmentedError<ApiType>;
|
|
200
|
-
AccountNotInPool: AugmentedError<ApiType>;
|
|
201
|
-
AccountNotStorer: AugmentedError<ApiType>;
|
|
202
|
-
AccountNotUploader: AugmentedError<ApiType>;
|
|
203
|
-
ErrorPickingAccountToChallenge: AugmentedError<ApiType>;
|
|
204
|
-
ErrorPickingCIDToChallenge: AugmentedError<ApiType>;
|
|
205
|
-
FileAlreadyUploadedbyUser: AugmentedError<ApiType>;
|
|
206
|
-
InvalidArrayLength: AugmentedError<ApiType>;
|
|
207
|
-
ManifestAlreadyExist: AugmentedError<ApiType>;
|
|
208
|
-
ManifestNotFound: AugmentedError<ApiType>;
|
|
209
|
-
ManifestNotStored: AugmentedError<ApiType>;
|
|
210
|
-
ManifestStorerDataNotFound: AugmentedError<ApiType>;
|
|
211
|
-
NoAccountsToChallenge: AugmentedError<ApiType>;
|
|
212
|
-
NoFileSizeProvided: AugmentedError<ApiType>;
|
|
213
|
-
NoneValue: AugmentedError<ApiType>;
|
|
214
|
-
ReplicationFactorInvalid: AugmentedError<ApiType>;
|
|
215
|
-
ReplicationFactorLimitReached: AugmentedError<ApiType>;
|
|
216
|
-
StorageOverflow: AugmentedError<ApiType>;
|
|
217
|
-
/**
|
|
218
|
-
* Generic error
|
|
219
|
-
**/
|
|
220
|
-
[key: string]: AugmentedError<ApiType>;
|
|
221
|
-
};
|
|
222
|
-
grandpa: {
|
|
223
|
-
/**
|
|
224
|
-
* Attempt to signal GRANDPA change with one already pending.
|
|
225
|
-
**/
|
|
226
|
-
ChangePending: AugmentedError<ApiType>;
|
|
227
|
-
/**
|
|
228
|
-
* A given equivocation report is valid but already previously reported.
|
|
229
|
-
**/
|
|
230
|
-
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
231
|
-
/**
|
|
232
|
-
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
233
|
-
**/
|
|
234
|
-
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
235
|
-
/**
|
|
236
|
-
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
237
|
-
**/
|
|
238
|
-
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
239
|
-
/**
|
|
240
|
-
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
241
|
-
* (either paused or already pending pause).
|
|
242
|
-
**/
|
|
243
|
-
PauseFailed: AugmentedError<ApiType>;
|
|
244
|
-
/**
|
|
245
|
-
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
246
|
-
* (either live or already pending resume).
|
|
247
|
-
**/
|
|
248
|
-
ResumeFailed: AugmentedError<ApiType>;
|
|
249
|
-
/**
|
|
250
|
-
* Cannot signal forced change so soon after last.
|
|
251
|
-
**/
|
|
252
|
-
TooSoon: AugmentedError<ApiType>;
|
|
253
|
-
/**
|
|
254
|
-
* Generic error
|
|
255
|
-
**/
|
|
256
|
-
[key: string]: AugmentedError<ApiType>;
|
|
257
|
-
};
|
|
258
|
-
imOnline: {
|
|
259
|
-
/**
|
|
260
|
-
* Duplicated heartbeat.
|
|
261
|
-
**/
|
|
262
|
-
DuplicatedHeartbeat: AugmentedError<ApiType>;
|
|
263
|
-
/**
|
|
264
|
-
* Non existent public key.
|
|
265
|
-
**/
|
|
266
|
-
InvalidKey: AugmentedError<ApiType>;
|
|
267
|
-
/**
|
|
268
|
-
* Generic error
|
|
269
|
-
**/
|
|
270
|
-
[key: string]: AugmentedError<ApiType>;
|
|
271
|
-
};
|
|
272
|
-
market: {
|
|
273
|
-
InsufficientAmount: AugmentedError<ApiType>;
|
|
274
|
-
InsufficientLiquidity: AugmentedError<ApiType>;
|
|
275
|
-
InvalidArrayLength: AugmentedError<ApiType>;
|
|
276
|
-
InvalidAsset: AugmentedError<ApiType>;
|
|
277
|
-
InvalidAssetRate: AugmentedError<ApiType>;
|
|
278
|
-
InvalidBurnBalance: AugmentedError<ApiType>;
|
|
279
|
-
InvalidBurnPrice: AugmentedError<ApiType>;
|
|
280
|
-
InvalidBuyer: AugmentedError<ApiType>;
|
|
281
|
-
InvalidMarket: AugmentedError<ApiType>;
|
|
282
|
-
InvalidMarketOwner: AugmentedError<ApiType>;
|
|
283
|
-
InvalidMarketRate: AugmentedError<ApiType>;
|
|
284
|
-
InvalidRateAccount: AugmentedError<ApiType>;
|
|
285
|
-
InvalidRateAmount: AugmentedError<ApiType>;
|
|
286
|
-
InvalidTransferBalance: AugmentedError<ApiType>;
|
|
287
|
-
InvalidTransferPrice: AugmentedError<ApiType>;
|
|
288
|
-
MarketExists: AugmentedError<ApiType>;
|
|
289
|
-
MarketRateExists: AugmentedError<ApiType>;
|
|
290
|
-
NotAuthorizedToMintAsset: AugmentedError<ApiType>;
|
|
291
|
-
Overflow: AugmentedError<ApiType>;
|
|
292
|
-
/**
|
|
293
|
-
* Generic error
|
|
294
|
-
**/
|
|
295
|
-
[key: string]: AugmentedError<ApiType>;
|
|
296
|
-
};
|
|
297
|
-
pool: {
|
|
298
|
-
/**
|
|
299
|
-
* Access denied due to invalid data, e.g. user is trying to leave the pool that it does
|
|
300
|
-
* not belong to or vote without rights.
|
|
301
|
-
**/
|
|
302
|
-
AccessDenied: AugmentedError<ApiType>;
|
|
303
|
-
/**
|
|
304
|
-
* The user has already voted.
|
|
305
|
-
* TODO: might be considered slashable behaviour as it wastes resources.
|
|
306
|
-
**/
|
|
307
|
-
AlreadyVoted: AugmentedError<ApiType>;
|
|
308
|
-
/**
|
|
309
|
-
* The pool is at max capacity.
|
|
310
|
-
**/
|
|
311
|
-
CapacityReached: AugmentedError<ApiType>;
|
|
312
|
-
/**
|
|
313
|
-
* Internal error.
|
|
314
|
-
**/
|
|
315
|
-
InternalError: AugmentedError<ApiType>;
|
|
316
|
-
/**
|
|
317
|
-
* Maximum pool number has been reached.
|
|
318
|
-
**/
|
|
319
|
-
MaxPools: AugmentedError<ApiType>;
|
|
320
|
-
/**
|
|
321
|
-
* The pool name supplied was too long.
|
|
322
|
-
**/
|
|
323
|
-
NameTooLong: AugmentedError<ApiType>;
|
|
324
|
-
/**
|
|
325
|
-
* The pool does not exist.
|
|
326
|
-
**/
|
|
327
|
-
PoolDoesNotExist: AugmentedError<ApiType>;
|
|
328
|
-
/**
|
|
329
|
-
* The pool join request does not exist.
|
|
330
|
-
**/
|
|
331
|
-
RequestDoesNotExist: AugmentedError<ApiType>;
|
|
332
|
-
/**
|
|
333
|
-
* User is already attached to a pool or has a pending join request.
|
|
334
|
-
**/
|
|
335
|
-
UserBusy: AugmentedError<ApiType>;
|
|
336
|
-
/**
|
|
337
|
-
* The user does not exist.
|
|
338
|
-
**/
|
|
339
|
-
UserDoesNotExist: AugmentedError<ApiType>;
|
|
340
|
-
/**
|
|
341
|
-
* Generic error
|
|
342
|
-
**/
|
|
343
|
-
[key: string]: AugmentedError<ApiType>;
|
|
344
|
-
};
|
|
345
|
-
scheduler: {
|
|
346
|
-
/**
|
|
347
|
-
* Failed to schedule a call
|
|
348
|
-
**/
|
|
349
|
-
FailedToSchedule: AugmentedError<ApiType>;
|
|
350
|
-
/**
|
|
351
|
-
* Attempt to use a non-named function on a named task.
|
|
352
|
-
**/
|
|
353
|
-
Named: AugmentedError<ApiType>;
|
|
354
|
-
/**
|
|
355
|
-
* Cannot find the scheduled call.
|
|
356
|
-
**/
|
|
357
|
-
NotFound: AugmentedError<ApiType>;
|
|
358
|
-
/**
|
|
359
|
-
* Reschedule failed because it does not change scheduled time.
|
|
360
|
-
**/
|
|
361
|
-
RescheduleNoChange: AugmentedError<ApiType>;
|
|
362
|
-
/**
|
|
363
|
-
* Given target block number is in the past.
|
|
364
|
-
**/
|
|
365
|
-
TargetBlockNumberInPast: AugmentedError<ApiType>;
|
|
366
|
-
/**
|
|
367
|
-
* Generic error
|
|
368
|
-
**/
|
|
369
|
-
[key: string]: AugmentedError<ApiType>;
|
|
370
|
-
};
|
|
371
|
-
session: {
|
|
372
|
-
/**
|
|
373
|
-
* Registered duplicate key.
|
|
374
|
-
**/
|
|
375
|
-
DuplicatedKey: AugmentedError<ApiType>;
|
|
376
|
-
/**
|
|
377
|
-
* Invalid ownership proof.
|
|
378
|
-
**/
|
|
379
|
-
InvalidProof: AugmentedError<ApiType>;
|
|
380
|
-
/**
|
|
381
|
-
* Key setting account is not live, so it's impossible to associate keys.
|
|
382
|
-
**/
|
|
383
|
-
NoAccount: AugmentedError<ApiType>;
|
|
384
|
-
/**
|
|
385
|
-
* No associated validator ID for account.
|
|
386
|
-
**/
|
|
387
|
-
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
388
|
-
/**
|
|
389
|
-
* No keys are associated with this account.
|
|
390
|
-
**/
|
|
391
|
-
NoKeys: AugmentedError<ApiType>;
|
|
392
|
-
/**
|
|
393
|
-
* Generic error
|
|
394
|
-
**/
|
|
395
|
-
[key: string]: AugmentedError<ApiType>;
|
|
396
|
-
};
|
|
397
|
-
sudo: {
|
|
398
|
-
/**
|
|
399
|
-
* Sender must be the Sudo account
|
|
400
|
-
**/
|
|
401
|
-
RequireSudo: AugmentedError<ApiType>;
|
|
402
|
-
/**
|
|
403
|
-
* Generic error
|
|
404
|
-
**/
|
|
405
|
-
[key: string]: AugmentedError<ApiType>;
|
|
406
|
-
};
|
|
407
|
-
system: {
|
|
408
|
-
/**
|
|
409
|
-
* The origin filter prevent the call to be dispatched.
|
|
410
|
-
**/
|
|
411
|
-
CallFiltered: AugmentedError<ApiType>;
|
|
412
|
-
/**
|
|
413
|
-
* Failed to extract the runtime version from the new runtime.
|
|
414
|
-
*
|
|
415
|
-
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
416
|
-
**/
|
|
417
|
-
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
418
|
-
/**
|
|
419
|
-
* The name of specification does not match between the current runtime
|
|
420
|
-
* and the new runtime.
|
|
421
|
-
**/
|
|
422
|
-
InvalidSpecName: AugmentedError<ApiType>;
|
|
423
|
-
/**
|
|
424
|
-
* Suicide called when the account has non-default composite data.
|
|
425
|
-
**/
|
|
426
|
-
NonDefaultComposite: AugmentedError<ApiType>;
|
|
427
|
-
/**
|
|
428
|
-
* There is a non-zero reference count preventing the account from being purged.
|
|
429
|
-
**/
|
|
430
|
-
NonZeroRefCount: AugmentedError<ApiType>;
|
|
431
|
-
/**
|
|
432
|
-
* The specification version is not allowed to decrease between the current runtime
|
|
433
|
-
* and the new runtime.
|
|
434
|
-
**/
|
|
435
|
-
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
436
|
-
/**
|
|
437
|
-
* Generic error
|
|
438
|
-
**/
|
|
439
|
-
[key: string]: AugmentedError<ApiType>;
|
|
440
|
-
};
|
|
441
|
-
utility: {
|
|
442
|
-
/**
|
|
443
|
-
* Too many calls batched.
|
|
444
|
-
**/
|
|
445
|
-
TooManyCalls: AugmentedError<ApiType>;
|
|
446
|
-
/**
|
|
447
|
-
* Generic error
|
|
448
|
-
**/
|
|
449
|
-
[key: string]: AugmentedError<ApiType>;
|
|
450
|
-
};
|
|
451
|
-
validatorSet: {
|
|
452
|
-
/**
|
|
453
|
-
* Only the validator can add itself back after coming online.
|
|
454
|
-
**/
|
|
455
|
-
BadOrigin: AugmentedError<ApiType>;
|
|
456
|
-
/**
|
|
457
|
-
* Validator is already in the validator set.
|
|
458
|
-
**/
|
|
459
|
-
Duplicate: AugmentedError<ApiType>;
|
|
460
|
-
/**
|
|
461
|
-
* Target (post-removal) validator count is below the minimum.
|
|
462
|
-
**/
|
|
463
|
-
TooLowValidatorCount: AugmentedError<ApiType>;
|
|
464
|
-
/**
|
|
465
|
-
* Validator is not approved for re-addition.
|
|
466
|
-
**/
|
|
467
|
-
ValidatorNotApproved: AugmentedError<ApiType>;
|
|
468
|
-
/**
|
|
469
|
-
* Generic error
|
|
470
|
-
**/
|
|
471
|
-
[key: string]: AugmentedError<ApiType>;
|
|
472
|
-
};
|
|
473
|
-
} // AugmentedErrors
|
|
474
|
-
} // declare module
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/errors';
|
|
7
|
+
|
|
8
|
+
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
9
|
+
|
|
10
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
11
|
+
|
|
12
|
+
declare module '@polkadot/api-base/types/errors' {
|
|
13
|
+
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
14
|
+
asset: {
|
|
15
|
+
AssetNotFound: AugmentedError<ApiType>;
|
|
16
|
+
ClassNotFound: AugmentedError<ApiType>;
|
|
17
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
18
|
+
InUse: AugmentedError<ApiType>;
|
|
19
|
+
InvalidArrayLength: AugmentedError<ApiType>;
|
|
20
|
+
InvalidAssetId: AugmentedError<ApiType>;
|
|
21
|
+
InvalidClassId: AugmentedError<ApiType>;
|
|
22
|
+
NoPermission: AugmentedError<ApiType>;
|
|
23
|
+
NumOverflow: AugmentedError<ApiType>;
|
|
24
|
+
Overflow: AugmentedError<ApiType>;
|
|
25
|
+
Unknown: AugmentedError<ApiType>;
|
|
26
|
+
/**
|
|
27
|
+
* Generic error
|
|
28
|
+
**/
|
|
29
|
+
[key: string]: AugmentedError<ApiType>;
|
|
30
|
+
};
|
|
31
|
+
bag: {
|
|
32
|
+
BagClassExists: AugmentedError<ApiType>;
|
|
33
|
+
BagExists: AugmentedError<ApiType>;
|
|
34
|
+
InsufficientShares: AugmentedError<ApiType>;
|
|
35
|
+
InvalidArrayLength: AugmentedError<ApiType>;
|
|
36
|
+
InvalidBag: AugmentedError<ApiType>;
|
|
37
|
+
InvalidBagClass: AugmentedError<ApiType>;
|
|
38
|
+
InvalidBagOperator: AugmentedError<ApiType>;
|
|
39
|
+
InvalidBagOwner: AugmentedError<ApiType>;
|
|
40
|
+
/**
|
|
41
|
+
* Generic error
|
|
42
|
+
**/
|
|
43
|
+
[key: string]: AugmentedError<ApiType>;
|
|
44
|
+
};
|
|
45
|
+
balances: {
|
|
46
|
+
/**
|
|
47
|
+
* Beneficiary account must pre-exist.
|
|
48
|
+
**/
|
|
49
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
50
|
+
/**
|
|
51
|
+
* Value too low to create account due to existential deposit.
|
|
52
|
+
**/
|
|
53
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
54
|
+
/**
|
|
55
|
+
* A vesting schedule already exists for this account.
|
|
56
|
+
**/
|
|
57
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
58
|
+
/**
|
|
59
|
+
* Transfer/payment would kill account.
|
|
60
|
+
**/
|
|
61
|
+
Expendability: AugmentedError<ApiType>;
|
|
62
|
+
/**
|
|
63
|
+
* Balance too low to send value.
|
|
64
|
+
**/
|
|
65
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
66
|
+
/**
|
|
67
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
68
|
+
**/
|
|
69
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
70
|
+
/**
|
|
71
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
72
|
+
**/
|
|
73
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
74
|
+
/**
|
|
75
|
+
* Number of holds exceed `MaxHolds`.
|
|
76
|
+
**/
|
|
77
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
78
|
+
/**
|
|
79
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
80
|
+
**/
|
|
81
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
82
|
+
/**
|
|
83
|
+
* Vesting balance too high to send value.
|
|
84
|
+
**/
|
|
85
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
86
|
+
/**
|
|
87
|
+
* Generic error
|
|
88
|
+
**/
|
|
89
|
+
[key: string]: AugmentedError<ApiType>;
|
|
90
|
+
};
|
|
91
|
+
bundle: {
|
|
92
|
+
AccountNotOwner: AugmentedError<ApiType>;
|
|
93
|
+
AssetExists: AugmentedError<ApiType>;
|
|
94
|
+
/**
|
|
95
|
+
* Bundle already exists
|
|
96
|
+
**/
|
|
97
|
+
BundleExists: AugmentedError<ApiType>;
|
|
98
|
+
/**
|
|
99
|
+
* Bundle does not exists
|
|
100
|
+
**/
|
|
101
|
+
BundleNotFound: AugmentedError<ApiType>;
|
|
102
|
+
/**
|
|
103
|
+
* Insufficient asset balance
|
|
104
|
+
**/
|
|
105
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
106
|
+
/**
|
|
107
|
+
* Array is of wrong length
|
|
108
|
+
**/
|
|
109
|
+
InvalidArrayLength: AugmentedError<ApiType>;
|
|
110
|
+
/**
|
|
111
|
+
* Bundle hash does not match bundle id
|
|
112
|
+
**/
|
|
113
|
+
InvalidBundleIdForBundle: AugmentedError<ApiType>;
|
|
114
|
+
/**
|
|
115
|
+
* Number Overflow
|
|
116
|
+
**/
|
|
117
|
+
NumOverflow: AugmentedError<ApiType>;
|
|
118
|
+
/**
|
|
119
|
+
* Generic error
|
|
120
|
+
**/
|
|
121
|
+
[key: string]: AugmentedError<ApiType>;
|
|
122
|
+
};
|
|
123
|
+
council: {
|
|
124
|
+
/**
|
|
125
|
+
* Members are already initialized!
|
|
126
|
+
**/
|
|
127
|
+
AlreadyInitialized: AugmentedError<ApiType>;
|
|
128
|
+
/**
|
|
129
|
+
* Duplicate proposals not allowed
|
|
130
|
+
**/
|
|
131
|
+
DuplicateProposal: AugmentedError<ApiType>;
|
|
132
|
+
/**
|
|
133
|
+
* Duplicate vote ignored
|
|
134
|
+
**/
|
|
135
|
+
DuplicateVote: AugmentedError<ApiType>;
|
|
136
|
+
/**
|
|
137
|
+
* Account is not a member
|
|
138
|
+
**/
|
|
139
|
+
NotMember: AugmentedError<ApiType>;
|
|
140
|
+
/**
|
|
141
|
+
* Proposal must exist
|
|
142
|
+
**/
|
|
143
|
+
ProposalMissing: AugmentedError<ApiType>;
|
|
144
|
+
/**
|
|
145
|
+
* The close call was made too early, before the end of the voting.
|
|
146
|
+
**/
|
|
147
|
+
TooEarly: AugmentedError<ApiType>;
|
|
148
|
+
/**
|
|
149
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
150
|
+
**/
|
|
151
|
+
TooManyProposals: AugmentedError<ApiType>;
|
|
152
|
+
/**
|
|
153
|
+
* Mismatched index
|
|
154
|
+
**/
|
|
155
|
+
WrongIndex: AugmentedError<ApiType>;
|
|
156
|
+
/**
|
|
157
|
+
* The given length bound for the proposal was too low.
|
|
158
|
+
**/
|
|
159
|
+
WrongProposalLength: AugmentedError<ApiType>;
|
|
160
|
+
/**
|
|
161
|
+
* The given weight bound for the proposal was too low.
|
|
162
|
+
**/
|
|
163
|
+
WrongProposalWeight: AugmentedError<ApiType>;
|
|
164
|
+
/**
|
|
165
|
+
* Generic error
|
|
166
|
+
**/
|
|
167
|
+
[key: string]: AugmentedError<ApiType>;
|
|
168
|
+
};
|
|
169
|
+
dao: {
|
|
170
|
+
/**
|
|
171
|
+
* Error names should be descriptive.
|
|
172
|
+
**/
|
|
173
|
+
NoneValue: AugmentedError<ApiType>;
|
|
174
|
+
/**
|
|
175
|
+
* Errors should have helpful documentation associated with them.
|
|
176
|
+
**/
|
|
177
|
+
StorageOverflow: AugmentedError<ApiType>;
|
|
178
|
+
/**
|
|
179
|
+
* Generic error
|
|
180
|
+
**/
|
|
181
|
+
[key: string]: AugmentedError<ApiType>;
|
|
182
|
+
};
|
|
183
|
+
exgine: {
|
|
184
|
+
/**
|
|
185
|
+
* Error names should be descriptive.
|
|
186
|
+
**/
|
|
187
|
+
NoneValue: AugmentedError<ApiType>;
|
|
188
|
+
/**
|
|
189
|
+
* Errors should have helpful documentation associated with them.
|
|
190
|
+
**/
|
|
191
|
+
StorageOverflow: AugmentedError<ApiType>;
|
|
192
|
+
/**
|
|
193
|
+
* Generic error
|
|
194
|
+
**/
|
|
195
|
+
[key: string]: AugmentedError<ApiType>;
|
|
196
|
+
};
|
|
197
|
+
fula: {
|
|
198
|
+
AccountAlreadyStorer: AugmentedError<ApiType>;
|
|
199
|
+
AccountNotFound: AugmentedError<ApiType>;
|
|
200
|
+
AccountNotInPool: AugmentedError<ApiType>;
|
|
201
|
+
AccountNotStorer: AugmentedError<ApiType>;
|
|
202
|
+
AccountNotUploader: AugmentedError<ApiType>;
|
|
203
|
+
ErrorPickingAccountToChallenge: AugmentedError<ApiType>;
|
|
204
|
+
ErrorPickingCIDToChallenge: AugmentedError<ApiType>;
|
|
205
|
+
FileAlreadyUploadedbyUser: AugmentedError<ApiType>;
|
|
206
|
+
InvalidArrayLength: AugmentedError<ApiType>;
|
|
207
|
+
ManifestAlreadyExist: AugmentedError<ApiType>;
|
|
208
|
+
ManifestNotFound: AugmentedError<ApiType>;
|
|
209
|
+
ManifestNotStored: AugmentedError<ApiType>;
|
|
210
|
+
ManifestStorerDataNotFound: AugmentedError<ApiType>;
|
|
211
|
+
NoAccountsToChallenge: AugmentedError<ApiType>;
|
|
212
|
+
NoFileSizeProvided: AugmentedError<ApiType>;
|
|
213
|
+
NoneValue: AugmentedError<ApiType>;
|
|
214
|
+
ReplicationFactorInvalid: AugmentedError<ApiType>;
|
|
215
|
+
ReplicationFactorLimitReached: AugmentedError<ApiType>;
|
|
216
|
+
StorageOverflow: AugmentedError<ApiType>;
|
|
217
|
+
/**
|
|
218
|
+
* Generic error
|
|
219
|
+
**/
|
|
220
|
+
[key: string]: AugmentedError<ApiType>;
|
|
221
|
+
};
|
|
222
|
+
grandpa: {
|
|
223
|
+
/**
|
|
224
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
225
|
+
**/
|
|
226
|
+
ChangePending: AugmentedError<ApiType>;
|
|
227
|
+
/**
|
|
228
|
+
* A given equivocation report is valid but already previously reported.
|
|
229
|
+
**/
|
|
230
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
231
|
+
/**
|
|
232
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
233
|
+
**/
|
|
234
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
235
|
+
/**
|
|
236
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
237
|
+
**/
|
|
238
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
239
|
+
/**
|
|
240
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
241
|
+
* (either paused or already pending pause).
|
|
242
|
+
**/
|
|
243
|
+
PauseFailed: AugmentedError<ApiType>;
|
|
244
|
+
/**
|
|
245
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
246
|
+
* (either live or already pending resume).
|
|
247
|
+
**/
|
|
248
|
+
ResumeFailed: AugmentedError<ApiType>;
|
|
249
|
+
/**
|
|
250
|
+
* Cannot signal forced change so soon after last.
|
|
251
|
+
**/
|
|
252
|
+
TooSoon: AugmentedError<ApiType>;
|
|
253
|
+
/**
|
|
254
|
+
* Generic error
|
|
255
|
+
**/
|
|
256
|
+
[key: string]: AugmentedError<ApiType>;
|
|
257
|
+
};
|
|
258
|
+
imOnline: {
|
|
259
|
+
/**
|
|
260
|
+
* Duplicated heartbeat.
|
|
261
|
+
**/
|
|
262
|
+
DuplicatedHeartbeat: AugmentedError<ApiType>;
|
|
263
|
+
/**
|
|
264
|
+
* Non existent public key.
|
|
265
|
+
**/
|
|
266
|
+
InvalidKey: AugmentedError<ApiType>;
|
|
267
|
+
/**
|
|
268
|
+
* Generic error
|
|
269
|
+
**/
|
|
270
|
+
[key: string]: AugmentedError<ApiType>;
|
|
271
|
+
};
|
|
272
|
+
market: {
|
|
273
|
+
InsufficientAmount: AugmentedError<ApiType>;
|
|
274
|
+
InsufficientLiquidity: AugmentedError<ApiType>;
|
|
275
|
+
InvalidArrayLength: AugmentedError<ApiType>;
|
|
276
|
+
InvalidAsset: AugmentedError<ApiType>;
|
|
277
|
+
InvalidAssetRate: AugmentedError<ApiType>;
|
|
278
|
+
InvalidBurnBalance: AugmentedError<ApiType>;
|
|
279
|
+
InvalidBurnPrice: AugmentedError<ApiType>;
|
|
280
|
+
InvalidBuyer: AugmentedError<ApiType>;
|
|
281
|
+
InvalidMarket: AugmentedError<ApiType>;
|
|
282
|
+
InvalidMarketOwner: AugmentedError<ApiType>;
|
|
283
|
+
InvalidMarketRate: AugmentedError<ApiType>;
|
|
284
|
+
InvalidRateAccount: AugmentedError<ApiType>;
|
|
285
|
+
InvalidRateAmount: AugmentedError<ApiType>;
|
|
286
|
+
InvalidTransferBalance: AugmentedError<ApiType>;
|
|
287
|
+
InvalidTransferPrice: AugmentedError<ApiType>;
|
|
288
|
+
MarketExists: AugmentedError<ApiType>;
|
|
289
|
+
MarketRateExists: AugmentedError<ApiType>;
|
|
290
|
+
NotAuthorizedToMintAsset: AugmentedError<ApiType>;
|
|
291
|
+
Overflow: AugmentedError<ApiType>;
|
|
292
|
+
/**
|
|
293
|
+
* Generic error
|
|
294
|
+
**/
|
|
295
|
+
[key: string]: AugmentedError<ApiType>;
|
|
296
|
+
};
|
|
297
|
+
pool: {
|
|
298
|
+
/**
|
|
299
|
+
* Access denied due to invalid data, e.g. user is trying to leave the pool that it does
|
|
300
|
+
* not belong to or vote without rights.
|
|
301
|
+
**/
|
|
302
|
+
AccessDenied: AugmentedError<ApiType>;
|
|
303
|
+
/**
|
|
304
|
+
* The user has already voted.
|
|
305
|
+
* TODO: might be considered slashable behaviour as it wastes resources.
|
|
306
|
+
**/
|
|
307
|
+
AlreadyVoted: AugmentedError<ApiType>;
|
|
308
|
+
/**
|
|
309
|
+
* The pool is at max capacity.
|
|
310
|
+
**/
|
|
311
|
+
CapacityReached: AugmentedError<ApiType>;
|
|
312
|
+
/**
|
|
313
|
+
* Internal error.
|
|
314
|
+
**/
|
|
315
|
+
InternalError: AugmentedError<ApiType>;
|
|
316
|
+
/**
|
|
317
|
+
* Maximum pool number has been reached.
|
|
318
|
+
**/
|
|
319
|
+
MaxPools: AugmentedError<ApiType>;
|
|
320
|
+
/**
|
|
321
|
+
* The pool name supplied was too long.
|
|
322
|
+
**/
|
|
323
|
+
NameTooLong: AugmentedError<ApiType>;
|
|
324
|
+
/**
|
|
325
|
+
* The pool does not exist.
|
|
326
|
+
**/
|
|
327
|
+
PoolDoesNotExist: AugmentedError<ApiType>;
|
|
328
|
+
/**
|
|
329
|
+
* The pool join request does not exist.
|
|
330
|
+
**/
|
|
331
|
+
RequestDoesNotExist: AugmentedError<ApiType>;
|
|
332
|
+
/**
|
|
333
|
+
* User is already attached to a pool or has a pending join request.
|
|
334
|
+
**/
|
|
335
|
+
UserBusy: AugmentedError<ApiType>;
|
|
336
|
+
/**
|
|
337
|
+
* The user does not exist.
|
|
338
|
+
**/
|
|
339
|
+
UserDoesNotExist: AugmentedError<ApiType>;
|
|
340
|
+
/**
|
|
341
|
+
* Generic error
|
|
342
|
+
**/
|
|
343
|
+
[key: string]: AugmentedError<ApiType>;
|
|
344
|
+
};
|
|
345
|
+
scheduler: {
|
|
346
|
+
/**
|
|
347
|
+
* Failed to schedule a call
|
|
348
|
+
**/
|
|
349
|
+
FailedToSchedule: AugmentedError<ApiType>;
|
|
350
|
+
/**
|
|
351
|
+
* Attempt to use a non-named function on a named task.
|
|
352
|
+
**/
|
|
353
|
+
Named: AugmentedError<ApiType>;
|
|
354
|
+
/**
|
|
355
|
+
* Cannot find the scheduled call.
|
|
356
|
+
**/
|
|
357
|
+
NotFound: AugmentedError<ApiType>;
|
|
358
|
+
/**
|
|
359
|
+
* Reschedule failed because it does not change scheduled time.
|
|
360
|
+
**/
|
|
361
|
+
RescheduleNoChange: AugmentedError<ApiType>;
|
|
362
|
+
/**
|
|
363
|
+
* Given target block number is in the past.
|
|
364
|
+
**/
|
|
365
|
+
TargetBlockNumberInPast: AugmentedError<ApiType>;
|
|
366
|
+
/**
|
|
367
|
+
* Generic error
|
|
368
|
+
**/
|
|
369
|
+
[key: string]: AugmentedError<ApiType>;
|
|
370
|
+
};
|
|
371
|
+
session: {
|
|
372
|
+
/**
|
|
373
|
+
* Registered duplicate key.
|
|
374
|
+
**/
|
|
375
|
+
DuplicatedKey: AugmentedError<ApiType>;
|
|
376
|
+
/**
|
|
377
|
+
* Invalid ownership proof.
|
|
378
|
+
**/
|
|
379
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
380
|
+
/**
|
|
381
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
382
|
+
**/
|
|
383
|
+
NoAccount: AugmentedError<ApiType>;
|
|
384
|
+
/**
|
|
385
|
+
* No associated validator ID for account.
|
|
386
|
+
**/
|
|
387
|
+
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
388
|
+
/**
|
|
389
|
+
* No keys are associated with this account.
|
|
390
|
+
**/
|
|
391
|
+
NoKeys: AugmentedError<ApiType>;
|
|
392
|
+
/**
|
|
393
|
+
* Generic error
|
|
394
|
+
**/
|
|
395
|
+
[key: string]: AugmentedError<ApiType>;
|
|
396
|
+
};
|
|
397
|
+
sudo: {
|
|
398
|
+
/**
|
|
399
|
+
* Sender must be the Sudo account
|
|
400
|
+
**/
|
|
401
|
+
RequireSudo: AugmentedError<ApiType>;
|
|
402
|
+
/**
|
|
403
|
+
* Generic error
|
|
404
|
+
**/
|
|
405
|
+
[key: string]: AugmentedError<ApiType>;
|
|
406
|
+
};
|
|
407
|
+
system: {
|
|
408
|
+
/**
|
|
409
|
+
* The origin filter prevent the call to be dispatched.
|
|
410
|
+
**/
|
|
411
|
+
CallFiltered: AugmentedError<ApiType>;
|
|
412
|
+
/**
|
|
413
|
+
* Failed to extract the runtime version from the new runtime.
|
|
414
|
+
*
|
|
415
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
416
|
+
**/
|
|
417
|
+
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
418
|
+
/**
|
|
419
|
+
* The name of specification does not match between the current runtime
|
|
420
|
+
* and the new runtime.
|
|
421
|
+
**/
|
|
422
|
+
InvalidSpecName: AugmentedError<ApiType>;
|
|
423
|
+
/**
|
|
424
|
+
* Suicide called when the account has non-default composite data.
|
|
425
|
+
**/
|
|
426
|
+
NonDefaultComposite: AugmentedError<ApiType>;
|
|
427
|
+
/**
|
|
428
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
429
|
+
**/
|
|
430
|
+
NonZeroRefCount: AugmentedError<ApiType>;
|
|
431
|
+
/**
|
|
432
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
433
|
+
* and the new runtime.
|
|
434
|
+
**/
|
|
435
|
+
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
436
|
+
/**
|
|
437
|
+
* Generic error
|
|
438
|
+
**/
|
|
439
|
+
[key: string]: AugmentedError<ApiType>;
|
|
440
|
+
};
|
|
441
|
+
utility: {
|
|
442
|
+
/**
|
|
443
|
+
* Too many calls batched.
|
|
444
|
+
**/
|
|
445
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
446
|
+
/**
|
|
447
|
+
* Generic error
|
|
448
|
+
**/
|
|
449
|
+
[key: string]: AugmentedError<ApiType>;
|
|
450
|
+
};
|
|
451
|
+
validatorSet: {
|
|
452
|
+
/**
|
|
453
|
+
* Only the validator can add itself back after coming online.
|
|
454
|
+
**/
|
|
455
|
+
BadOrigin: AugmentedError<ApiType>;
|
|
456
|
+
/**
|
|
457
|
+
* Validator is already in the validator set.
|
|
458
|
+
**/
|
|
459
|
+
Duplicate: AugmentedError<ApiType>;
|
|
460
|
+
/**
|
|
461
|
+
* Target (post-removal) validator count is below the minimum.
|
|
462
|
+
**/
|
|
463
|
+
TooLowValidatorCount: AugmentedError<ApiType>;
|
|
464
|
+
/**
|
|
465
|
+
* Validator is not approved for re-addition.
|
|
466
|
+
**/
|
|
467
|
+
ValidatorNotApproved: AugmentedError<ApiType>;
|
|
468
|
+
/**
|
|
469
|
+
* Generic error
|
|
470
|
+
**/
|
|
471
|
+
[key: string]: AugmentedError<ApiType>;
|
|
472
|
+
};
|
|
473
|
+
} // AugmentedErrors
|
|
474
|
+
} // declare module
|