@dedot/chaintypes 0.0.1-alpha.22
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 +201 -0
- package/README.md +3 -0
- package/aleph/consts.d.ts +533 -0
- package/aleph/consts.js +2 -0
- package/aleph/errors.d.ts +822 -0
- package/aleph/errors.js +2 -0
- package/aleph/events.d.ts +997 -0
- package/aleph/events.js +2 -0
- package/aleph/index.d.ts +19 -0
- package/aleph/index.js +3 -0
- package/aleph/query.d.ts +1271 -0
- package/aleph/query.js +2 -0
- package/aleph/rpc.d.ts +575 -0
- package/aleph/rpc.js +2 -0
- package/aleph/runtime.d.ts +410 -0
- package/aleph/runtime.js +2 -0
- package/aleph/tx.d.ts +2206 -0
- package/aleph/tx.js +2 -0
- package/aleph/types.d.ts +5560 -0
- package/aleph/types.js +2 -0
- package/astar/consts.d.ts +679 -0
- package/astar/consts.js +2 -0
- package/astar/errors.d.ts +1317 -0
- package/astar/errors.js +2 -0
- package/astar/events.d.ts +1707 -0
- package/astar/events.js +2 -0
- package/astar/index.d.ts +19 -0
- package/astar/index.js +3 -0
- package/astar/query.d.ts +1474 -0
- package/astar/query.js +2 -0
- package/astar/rpc.d.ts +775 -0
- package/astar/rpc.js +2 -0
- package/astar/runtime.d.ts +262 -0
- package/astar/runtime.js +2 -0
- package/astar/tx.d.ts +4810 -0
- package/astar/tx.js +2 -0
- package/astar/types.d.ts +12338 -0
- package/astar/types.js +2 -0
- package/cjs/aleph/consts.js +3 -0
- package/cjs/aleph/errors.js +3 -0
- package/cjs/aleph/events.js +3 -0
- package/cjs/aleph/index.js +19 -0
- package/cjs/aleph/query.js +3 -0
- package/cjs/aleph/rpc.js +3 -0
- package/cjs/aleph/runtime.js +3 -0
- package/cjs/aleph/tx.js +3 -0
- package/cjs/aleph/types.js +3 -0
- package/cjs/astar/consts.js +3 -0
- package/cjs/astar/errors.js +3 -0
- package/cjs/astar/events.js +3 -0
- package/cjs/astar/index.js +19 -0
- package/cjs/astar/query.js +3 -0
- package/cjs/astar/rpc.js +3 -0
- package/cjs/astar/runtime.js +3 -0
- package/cjs/astar/tx.js +3 -0
- package/cjs/astar/types.js +3 -0
- package/cjs/index.js +2 -0
- package/cjs/kusama/consts.js +3 -0
- package/cjs/kusama/errors.js +3 -0
- package/cjs/kusama/events.js +3 -0
- package/cjs/kusama/index.js +19 -0
- package/cjs/kusama/query.js +3 -0
- package/cjs/kusama/rpc.js +3 -0
- package/cjs/kusama/runtime.js +3 -0
- package/cjs/kusama/tx.js +3 -0
- package/cjs/kusama/types.js +3 -0
- package/cjs/kusamaAssetHub/consts.js +3 -0
- package/cjs/kusamaAssetHub/errors.js +3 -0
- package/cjs/kusamaAssetHub/events.js +3 -0
- package/cjs/kusamaAssetHub/index.js +19 -0
- package/cjs/kusamaAssetHub/query.js +3 -0
- package/cjs/kusamaAssetHub/rpc.js +3 -0
- package/cjs/kusamaAssetHub/runtime.js +3 -0
- package/cjs/kusamaAssetHub/tx.js +3 -0
- package/cjs/kusamaAssetHub/types.js +3 -0
- package/cjs/moonbeam/consts.js +3 -0
- package/cjs/moonbeam/errors.js +3 -0
- package/cjs/moonbeam/events.js +3 -0
- package/cjs/moonbeam/index.js +19 -0
- package/cjs/moonbeam/query.js +3 -0
- package/cjs/moonbeam/rpc.js +3 -0
- package/cjs/moonbeam/runtime.js +3 -0
- package/cjs/moonbeam/tx.js +3 -0
- package/cjs/moonbeam/types.js +3 -0
- package/cjs/package.json +1 -0
- package/cjs/packageInfo.js +5 -0
- package/cjs/polkadot/consts.js +3 -0
- package/cjs/polkadot/errors.js +3 -0
- package/cjs/polkadot/events.js +3 -0
- package/cjs/polkadot/index.js +19 -0
- package/cjs/polkadot/query.js +3 -0
- package/cjs/polkadot/rpc.js +3 -0
- package/cjs/polkadot/runtime.js +3 -0
- package/cjs/polkadot/tx.js +3 -0
- package/cjs/polkadot/types.js +3 -0
- package/cjs/polkadotAssetHub/consts.js +3 -0
- package/cjs/polkadotAssetHub/errors.js +3 -0
- package/cjs/polkadotAssetHub/events.js +3 -0
- package/cjs/polkadotAssetHub/index.js +19 -0
- package/cjs/polkadotAssetHub/query.js +3 -0
- package/cjs/polkadotAssetHub/rpc.js +3 -0
- package/cjs/polkadotAssetHub/runtime.js +3 -0
- package/cjs/polkadotAssetHub/tx.js +3 -0
- package/cjs/polkadotAssetHub/types.js +3 -0
- package/cjs/rococoAssetHub/consts.js +3 -0
- package/cjs/rococoAssetHub/errors.js +3 -0
- package/cjs/rococoAssetHub/events.js +3 -0
- package/cjs/rococoAssetHub/index.js +19 -0
- package/cjs/rococoAssetHub/query.js +3 -0
- package/cjs/rococoAssetHub/rpc.js +3 -0
- package/cjs/rococoAssetHub/runtime.js +3 -0
- package/cjs/rococoAssetHub/tx.js +3 -0
- package/cjs/rococoAssetHub/types.js +3 -0
- package/cjs/substrate/consts.js +3 -0
- package/cjs/substrate/errors.js +3 -0
- package/cjs/substrate/events.js +3 -0
- package/cjs/substrate/index.js +19 -0
- package/cjs/substrate/query.js +3 -0
- package/cjs/substrate/rpc.js +3 -0
- package/cjs/substrate/runtime.js +3 -0
- package/cjs/substrate/tx.js +3 -0
- package/cjs/substrate/types.js +3 -0
- package/cjs/westendAssetHub/consts.js +3 -0
- package/cjs/westendAssetHub/errors.js +3 -0
- package/cjs/westendAssetHub/events.js +3 -0
- package/cjs/westendAssetHub/index.js +19 -0
- package/cjs/westendAssetHub/query.js +3 -0
- package/cjs/westendAssetHub/rpc.js +3 -0
- package/cjs/westendAssetHub/runtime.js +3 -0
- package/cjs/westendAssetHub/tx.js +3 -0
- package/cjs/westendAssetHub/types.js +3 -0
- package/index.d.ts +5 -0
- package/index.js +1 -0
- package/kusama/consts.d.ts +1427 -0
- package/kusama/consts.js +2 -0
- package/kusama/errors.d.ts +2494 -0
- package/kusama/errors.js +2 -0
- package/kusama/events.d.ts +2960 -0
- package/kusama/events.js +2 -0
- package/kusama/index.d.ts +19 -0
- package/kusama/index.js +3 -0
- package/kusama/query.d.ts +3251 -0
- package/kusama/query.js +2 -0
- package/kusama/rpc.d.ts +726 -0
- package/kusama/rpc.js +2 -0
- package/kusama/runtime.d.ts +844 -0
- package/kusama/runtime.js +2 -0
- package/kusama/tx.d.ts +6014 -0
- package/kusama/tx.js +2 -0
- package/kusama/types.d.ts +15903 -0
- package/kusama/types.js +2 -0
- package/kusamaAssetHub/consts.d.ts +632 -0
- package/kusamaAssetHub/consts.js +2 -0
- package/kusamaAssetHub/errors.d.ts +1164 -0
- package/kusamaAssetHub/errors.js +2 -0
- package/kusamaAssetHub/events.d.ts +2162 -0
- package/kusamaAssetHub/events.js +2 -0
- package/kusamaAssetHub/index.d.ts +19 -0
- package/kusamaAssetHub/index.js +3 -0
- package/kusamaAssetHub/query.d.ts +1301 -0
- package/kusamaAssetHub/query.js +2 -0
- package/kusamaAssetHub/rpc.d.ts +590 -0
- package/kusamaAssetHub/rpc.js +2 -0
- package/kusamaAssetHub/runtime.d.ts +402 -0
- package/kusamaAssetHub/runtime.js +2 -0
- package/kusamaAssetHub/tx.d.ts +4217 -0
- package/kusamaAssetHub/tx.js +2 -0
- package/kusamaAssetHub/types.d.ts +10418 -0
- package/kusamaAssetHub/types.js +2 -0
- package/moonbeam/consts.d.ts +961 -0
- package/moonbeam/consts.js +2 -0
- package/moonbeam/errors.d.ts +1797 -0
- package/moonbeam/errors.js +2 -0
- package/moonbeam/events.d.ts +2840 -0
- package/moonbeam/events.js +2 -0
- package/moonbeam/index.d.ts +19 -0
- package/moonbeam/index.js +3 -0
- package/moonbeam/query.d.ts +2027 -0
- package/moonbeam/query.js +2 -0
- package/moonbeam/rpc.d.ts +809 -0
- package/moonbeam/rpc.js +2 -0
- package/moonbeam/runtime.d.ts +506 -0
- package/moonbeam/runtime.js +2 -0
- package/moonbeam/tx.d.ts +5205 -0
- package/moonbeam/tx.js +2 -0
- package/moonbeam/types.d.ts +12349 -0
- package/moonbeam/types.js +2 -0
- package/package.json +33 -0
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +3 -0
- package/polkadot/consts.d.ts +1160 -0
- package/polkadot/consts.js +2 -0
- package/polkadot/errors.d.ts +2020 -0
- package/polkadot/errors.js +2 -0
- package/polkadot/events.d.ts +2235 -0
- package/polkadot/events.js +2 -0
- package/polkadot/index.d.ts +19 -0
- package/polkadot/index.js +3 -0
- package/polkadot/query.d.ts +2811 -0
- package/polkadot/query.js +2 -0
- package/polkadot/rpc.d.ts +726 -0
- package/polkadot/rpc.js +2 -0
- package/polkadot/runtime.d.ts +844 -0
- package/polkadot/runtime.js +2 -0
- package/polkadot/tx.d.ts +5009 -0
- package/polkadot/tx.js +2 -0
- package/polkadot/types.d.ts +13729 -0
- package/polkadot/types.js +2 -0
- package/polkadotAssetHub/consts.d.ts +524 -0
- package/polkadotAssetHub/consts.js +2 -0
- package/polkadotAssetHub/errors.d.ts +925 -0
- package/polkadotAssetHub/errors.js +2 -0
- package/polkadotAssetHub/events.d.ts +1787 -0
- package/polkadotAssetHub/events.js +2 -0
- package/polkadotAssetHub/index.d.ts +19 -0
- package/polkadotAssetHub/index.js +3 -0
- package/polkadotAssetHub/query.d.ts +1222 -0
- package/polkadotAssetHub/query.js +2 -0
- package/polkadotAssetHub/rpc.d.ts +590 -0
- package/polkadotAssetHub/rpc.js +2 -0
- package/polkadotAssetHub/runtime.d.ts +359 -0
- package/polkadotAssetHub/runtime.js +2 -0
- package/polkadotAssetHub/tx.d.ts +3492 -0
- package/polkadotAssetHub/tx.js +2 -0
- package/polkadotAssetHub/types.d.ts +9164 -0
- package/polkadotAssetHub/types.js +2 -0
- package/rococoAssetHub/consts.d.ts +658 -0
- package/rococoAssetHub/consts.js +2 -0
- package/rococoAssetHub/errors.d.ts +1231 -0
- package/rococoAssetHub/errors.js +2 -0
- package/rococoAssetHub/events.d.ts +2172 -0
- package/rococoAssetHub/events.js +2 -0
- package/rococoAssetHub/index.d.ts +19 -0
- package/rococoAssetHub/index.js +3 -0
- package/rococoAssetHub/query.d.ts +1269 -0
- package/rococoAssetHub/query.js +2 -0
- package/rococoAssetHub/rpc.d.ts +590 -0
- package/rococoAssetHub/rpc.js +2 -0
- package/rococoAssetHub/runtime.d.ts +428 -0
- package/rococoAssetHub/runtime.js +2 -0
- package/rococoAssetHub/tx.d.ts +4307 -0
- package/rococoAssetHub/tx.js +2 -0
- package/rococoAssetHub/types.d.ts +11066 -0
- package/rococoAssetHub/types.js +2 -0
- package/substrate/consts.d.ts +1971 -0
- package/substrate/consts.js +2 -0
- package/substrate/errors.d.ts +3337 -0
- package/substrate/errors.js +2 -0
- package/substrate/events.d.ts +4777 -0
- package/substrate/events.js +2 -0
- package/substrate/index.d.ts +19 -0
- package/substrate/index.js +3 -0
- package/substrate/query.d.ts +3350 -0
- package/substrate/query.js +2 -0
- package/substrate/rpc.d.ts +718 -0
- package/substrate/rpc.js +2 -0
- package/substrate/runtime.d.ts +708 -0
- package/substrate/runtime.js +2 -0
- package/substrate/tx.d.ts +8800 -0
- package/substrate/tx.js +2 -0
- package/substrate/types.d.ts +20332 -0
- package/substrate/types.js +2 -0
- package/westendAssetHub/consts.d.ts +658 -0
- package/westendAssetHub/consts.js +2 -0
- package/westendAssetHub/errors.d.ts +1231 -0
- package/westendAssetHub/errors.js +2 -0
- package/westendAssetHub/events.d.ts +2172 -0
- package/westendAssetHub/events.js +2 -0
- package/westendAssetHub/index.d.ts +19 -0
- package/westendAssetHub/index.js +3 -0
- package/westendAssetHub/query.d.ts +1269 -0
- package/westendAssetHub/query.js +2 -0
- package/westendAssetHub/rpc.d.ts +590 -0
- package/westendAssetHub/rpc.js +2 -0
- package/westendAssetHub/runtime.d.ts +456 -0
- package/westendAssetHub/runtime.js +2 -0
- package/westendAssetHub/tx.d.ts +4307 -0
- package/westendAssetHub/tx.js +2 -0
- package/westendAssetHub/types.d.ts +11062 -0
- package/westendAssetHub/types.js +2 -0
|
@@ -0,0 +1,2020 @@
|
|
|
1
|
+
import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
|
|
2
|
+
export interface ChainErrors extends GenericChainErrors {
|
|
3
|
+
/**
|
|
4
|
+
* Pallet `System`'s errors
|
|
5
|
+
**/
|
|
6
|
+
system: {
|
|
7
|
+
/**
|
|
8
|
+
* The name of specification does not match between the current runtime
|
|
9
|
+
* and the new runtime.
|
|
10
|
+
**/
|
|
11
|
+
InvalidSpecName: GenericPalletError;
|
|
12
|
+
/**
|
|
13
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
14
|
+
* and the new runtime.
|
|
15
|
+
**/
|
|
16
|
+
SpecVersionNeedsToIncrease: GenericPalletError;
|
|
17
|
+
/**
|
|
18
|
+
* Failed to extract the runtime version from the new runtime.
|
|
19
|
+
*
|
|
20
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
21
|
+
**/
|
|
22
|
+
FailedToExtractRuntimeVersion: GenericPalletError;
|
|
23
|
+
/**
|
|
24
|
+
* Suicide called when the account has non-default composite data.
|
|
25
|
+
**/
|
|
26
|
+
NonDefaultComposite: GenericPalletError;
|
|
27
|
+
/**
|
|
28
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
29
|
+
**/
|
|
30
|
+
NonZeroRefCount: GenericPalletError;
|
|
31
|
+
/**
|
|
32
|
+
* The origin filter prevent the call to be dispatched.
|
|
33
|
+
**/
|
|
34
|
+
CallFiltered: GenericPalletError;
|
|
35
|
+
/**
|
|
36
|
+
* Generic pallet error
|
|
37
|
+
**/
|
|
38
|
+
[error: string]: GenericPalletError;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Pallet `Scheduler`'s errors
|
|
42
|
+
**/
|
|
43
|
+
scheduler: {
|
|
44
|
+
/**
|
|
45
|
+
* Failed to schedule a call
|
|
46
|
+
**/
|
|
47
|
+
FailedToSchedule: GenericPalletError;
|
|
48
|
+
/**
|
|
49
|
+
* Cannot find the scheduled call.
|
|
50
|
+
**/
|
|
51
|
+
NotFound: GenericPalletError;
|
|
52
|
+
/**
|
|
53
|
+
* Given target block number is in the past.
|
|
54
|
+
**/
|
|
55
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
56
|
+
/**
|
|
57
|
+
* Reschedule failed because it does not change scheduled time.
|
|
58
|
+
**/
|
|
59
|
+
RescheduleNoChange: GenericPalletError;
|
|
60
|
+
/**
|
|
61
|
+
* Attempt to use a non-named function on a named task.
|
|
62
|
+
**/
|
|
63
|
+
Named: GenericPalletError;
|
|
64
|
+
/**
|
|
65
|
+
* Generic pallet error
|
|
66
|
+
**/
|
|
67
|
+
[error: string]: GenericPalletError;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Pallet `Preimage`'s errors
|
|
71
|
+
**/
|
|
72
|
+
preimage: {
|
|
73
|
+
/**
|
|
74
|
+
* Preimage is too large to store on-chain.
|
|
75
|
+
**/
|
|
76
|
+
TooBig: GenericPalletError;
|
|
77
|
+
/**
|
|
78
|
+
* Preimage has already been noted on-chain.
|
|
79
|
+
**/
|
|
80
|
+
AlreadyNoted: GenericPalletError;
|
|
81
|
+
/**
|
|
82
|
+
* The user is not authorized to perform this action.
|
|
83
|
+
**/
|
|
84
|
+
NotAuthorized: GenericPalletError;
|
|
85
|
+
/**
|
|
86
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
87
|
+
**/
|
|
88
|
+
NotNoted: GenericPalletError;
|
|
89
|
+
/**
|
|
90
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
91
|
+
**/
|
|
92
|
+
Requested: GenericPalletError;
|
|
93
|
+
/**
|
|
94
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
95
|
+
**/
|
|
96
|
+
NotRequested: GenericPalletError;
|
|
97
|
+
/**
|
|
98
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
99
|
+
**/
|
|
100
|
+
TooMany: GenericPalletError;
|
|
101
|
+
/**
|
|
102
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
103
|
+
**/
|
|
104
|
+
TooFew: GenericPalletError;
|
|
105
|
+
/**
|
|
106
|
+
* Generic pallet error
|
|
107
|
+
**/
|
|
108
|
+
[error: string]: GenericPalletError;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Pallet `Babe`'s errors
|
|
112
|
+
**/
|
|
113
|
+
babe: {
|
|
114
|
+
/**
|
|
115
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
116
|
+
**/
|
|
117
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
118
|
+
/**
|
|
119
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
120
|
+
**/
|
|
121
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
122
|
+
/**
|
|
123
|
+
* A given equivocation report is valid but already previously reported.
|
|
124
|
+
**/
|
|
125
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
126
|
+
/**
|
|
127
|
+
* Submitted configuration is invalid.
|
|
128
|
+
**/
|
|
129
|
+
InvalidConfiguration: GenericPalletError;
|
|
130
|
+
/**
|
|
131
|
+
* Generic pallet error
|
|
132
|
+
**/
|
|
133
|
+
[error: string]: GenericPalletError;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Pallet `Indices`'s errors
|
|
137
|
+
**/
|
|
138
|
+
indices: {
|
|
139
|
+
/**
|
|
140
|
+
* The index was not already assigned.
|
|
141
|
+
**/
|
|
142
|
+
NotAssigned: GenericPalletError;
|
|
143
|
+
/**
|
|
144
|
+
* The index is assigned to another account.
|
|
145
|
+
**/
|
|
146
|
+
NotOwner: GenericPalletError;
|
|
147
|
+
/**
|
|
148
|
+
* The index was not available.
|
|
149
|
+
**/
|
|
150
|
+
InUse: GenericPalletError;
|
|
151
|
+
/**
|
|
152
|
+
* The source and destination accounts are identical.
|
|
153
|
+
**/
|
|
154
|
+
NotTransfer: GenericPalletError;
|
|
155
|
+
/**
|
|
156
|
+
* The index is permanent and may not be freed/changed.
|
|
157
|
+
**/
|
|
158
|
+
Permanent: GenericPalletError;
|
|
159
|
+
/**
|
|
160
|
+
* Generic pallet error
|
|
161
|
+
**/
|
|
162
|
+
[error: string]: GenericPalletError;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Pallet `Balances`'s errors
|
|
166
|
+
**/
|
|
167
|
+
balances: {
|
|
168
|
+
/**
|
|
169
|
+
* Vesting balance too high to send value.
|
|
170
|
+
**/
|
|
171
|
+
VestingBalance: GenericPalletError;
|
|
172
|
+
/**
|
|
173
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
174
|
+
**/
|
|
175
|
+
LiquidityRestrictions: GenericPalletError;
|
|
176
|
+
/**
|
|
177
|
+
* Balance too low to send value.
|
|
178
|
+
**/
|
|
179
|
+
InsufficientBalance: GenericPalletError;
|
|
180
|
+
/**
|
|
181
|
+
* Value too low to create account due to existential deposit.
|
|
182
|
+
**/
|
|
183
|
+
ExistentialDeposit: GenericPalletError;
|
|
184
|
+
/**
|
|
185
|
+
* Transfer/payment would kill account.
|
|
186
|
+
**/
|
|
187
|
+
Expendability: GenericPalletError;
|
|
188
|
+
/**
|
|
189
|
+
* A vesting schedule already exists for this account.
|
|
190
|
+
**/
|
|
191
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
192
|
+
/**
|
|
193
|
+
* Beneficiary account must pre-exist.
|
|
194
|
+
**/
|
|
195
|
+
DeadAccount: GenericPalletError;
|
|
196
|
+
/**
|
|
197
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
198
|
+
**/
|
|
199
|
+
TooManyReserves: GenericPalletError;
|
|
200
|
+
/**
|
|
201
|
+
* Number of holds exceed `MaxHolds`.
|
|
202
|
+
**/
|
|
203
|
+
TooManyHolds: GenericPalletError;
|
|
204
|
+
/**
|
|
205
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
206
|
+
**/
|
|
207
|
+
TooManyFreezes: GenericPalletError;
|
|
208
|
+
/**
|
|
209
|
+
* Generic pallet error
|
|
210
|
+
**/
|
|
211
|
+
[error: string]: GenericPalletError;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Pallet `Staking`'s errors
|
|
215
|
+
**/
|
|
216
|
+
staking: {
|
|
217
|
+
/**
|
|
218
|
+
* Not a controller account.
|
|
219
|
+
**/
|
|
220
|
+
NotController: GenericPalletError;
|
|
221
|
+
/**
|
|
222
|
+
* Not a stash account.
|
|
223
|
+
**/
|
|
224
|
+
NotStash: GenericPalletError;
|
|
225
|
+
/**
|
|
226
|
+
* Stash is already bonded.
|
|
227
|
+
**/
|
|
228
|
+
AlreadyBonded: GenericPalletError;
|
|
229
|
+
/**
|
|
230
|
+
* Controller is already paired.
|
|
231
|
+
**/
|
|
232
|
+
AlreadyPaired: GenericPalletError;
|
|
233
|
+
/**
|
|
234
|
+
* Targets cannot be empty.
|
|
235
|
+
**/
|
|
236
|
+
EmptyTargets: GenericPalletError;
|
|
237
|
+
/**
|
|
238
|
+
* Duplicate index.
|
|
239
|
+
**/
|
|
240
|
+
DuplicateIndex: GenericPalletError;
|
|
241
|
+
/**
|
|
242
|
+
* Slash record index out of bounds.
|
|
243
|
+
**/
|
|
244
|
+
InvalidSlashIndex: GenericPalletError;
|
|
245
|
+
/**
|
|
246
|
+
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
247
|
+
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
248
|
+
* intention, `chill` first to remove one's role as validator/nominator.
|
|
249
|
+
**/
|
|
250
|
+
InsufficientBond: GenericPalletError;
|
|
251
|
+
/**
|
|
252
|
+
* Can not schedule more unlock chunks.
|
|
253
|
+
**/
|
|
254
|
+
NoMoreChunks: GenericPalletError;
|
|
255
|
+
/**
|
|
256
|
+
* Can not rebond without unlocking chunks.
|
|
257
|
+
**/
|
|
258
|
+
NoUnlockChunk: GenericPalletError;
|
|
259
|
+
/**
|
|
260
|
+
* Attempting to target a stash that still has funds.
|
|
261
|
+
**/
|
|
262
|
+
FundedTarget: GenericPalletError;
|
|
263
|
+
/**
|
|
264
|
+
* Invalid era to reward.
|
|
265
|
+
**/
|
|
266
|
+
InvalidEraToReward: GenericPalletError;
|
|
267
|
+
/**
|
|
268
|
+
* Invalid number of nominations.
|
|
269
|
+
**/
|
|
270
|
+
InvalidNumberOfNominations: GenericPalletError;
|
|
271
|
+
/**
|
|
272
|
+
* Items are not sorted and unique.
|
|
273
|
+
**/
|
|
274
|
+
NotSortedAndUnique: GenericPalletError;
|
|
275
|
+
/**
|
|
276
|
+
* Rewards for this era have already been claimed for this validator.
|
|
277
|
+
**/
|
|
278
|
+
AlreadyClaimed: GenericPalletError;
|
|
279
|
+
/**
|
|
280
|
+
* Incorrect previous history depth input provided.
|
|
281
|
+
**/
|
|
282
|
+
IncorrectHistoryDepth: GenericPalletError;
|
|
283
|
+
/**
|
|
284
|
+
* Incorrect number of slashing spans provided.
|
|
285
|
+
**/
|
|
286
|
+
IncorrectSlashingSpans: GenericPalletError;
|
|
287
|
+
/**
|
|
288
|
+
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
289
|
+
**/
|
|
290
|
+
BadState: GenericPalletError;
|
|
291
|
+
/**
|
|
292
|
+
* Too many nomination targets supplied.
|
|
293
|
+
**/
|
|
294
|
+
TooManyTargets: GenericPalletError;
|
|
295
|
+
/**
|
|
296
|
+
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
297
|
+
**/
|
|
298
|
+
BadTarget: GenericPalletError;
|
|
299
|
+
/**
|
|
300
|
+
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
301
|
+
**/
|
|
302
|
+
CannotChillOther: GenericPalletError;
|
|
303
|
+
/**
|
|
304
|
+
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
305
|
+
* settings to keep things safe for the runtime.
|
|
306
|
+
**/
|
|
307
|
+
TooManyNominators: GenericPalletError;
|
|
308
|
+
/**
|
|
309
|
+
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
310
|
+
* staking settings to keep things safe for the runtime.
|
|
311
|
+
**/
|
|
312
|
+
TooManyValidators: GenericPalletError;
|
|
313
|
+
/**
|
|
314
|
+
* Commission is too low. Must be at least `MinCommission`.
|
|
315
|
+
**/
|
|
316
|
+
CommissionTooLow: GenericPalletError;
|
|
317
|
+
/**
|
|
318
|
+
* Some bound is not met.
|
|
319
|
+
**/
|
|
320
|
+
BoundNotMet: GenericPalletError;
|
|
321
|
+
/**
|
|
322
|
+
* Generic pallet error
|
|
323
|
+
**/
|
|
324
|
+
[error: string]: GenericPalletError;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Pallet `Session`'s errors
|
|
328
|
+
**/
|
|
329
|
+
session: {
|
|
330
|
+
/**
|
|
331
|
+
* Invalid ownership proof.
|
|
332
|
+
**/
|
|
333
|
+
InvalidProof: GenericPalletError;
|
|
334
|
+
/**
|
|
335
|
+
* No associated validator ID for account.
|
|
336
|
+
**/
|
|
337
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
338
|
+
/**
|
|
339
|
+
* Registered duplicate key.
|
|
340
|
+
**/
|
|
341
|
+
DuplicatedKey: GenericPalletError;
|
|
342
|
+
/**
|
|
343
|
+
* No keys are associated with this account.
|
|
344
|
+
**/
|
|
345
|
+
NoKeys: GenericPalletError;
|
|
346
|
+
/**
|
|
347
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
348
|
+
**/
|
|
349
|
+
NoAccount: GenericPalletError;
|
|
350
|
+
/**
|
|
351
|
+
* Generic pallet error
|
|
352
|
+
**/
|
|
353
|
+
[error: string]: GenericPalletError;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Pallet `Grandpa`'s errors
|
|
357
|
+
**/
|
|
358
|
+
grandpa: {
|
|
359
|
+
/**
|
|
360
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
361
|
+
* (either paused or already pending pause).
|
|
362
|
+
**/
|
|
363
|
+
PauseFailed: GenericPalletError;
|
|
364
|
+
/**
|
|
365
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
366
|
+
* (either live or already pending resume).
|
|
367
|
+
**/
|
|
368
|
+
ResumeFailed: GenericPalletError;
|
|
369
|
+
/**
|
|
370
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
371
|
+
**/
|
|
372
|
+
ChangePending: GenericPalletError;
|
|
373
|
+
/**
|
|
374
|
+
* Cannot signal forced change so soon after last.
|
|
375
|
+
**/
|
|
376
|
+
TooSoon: GenericPalletError;
|
|
377
|
+
/**
|
|
378
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
379
|
+
**/
|
|
380
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
381
|
+
/**
|
|
382
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
383
|
+
**/
|
|
384
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
385
|
+
/**
|
|
386
|
+
* A given equivocation report is valid but already previously reported.
|
|
387
|
+
**/
|
|
388
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
389
|
+
/**
|
|
390
|
+
* Generic pallet error
|
|
391
|
+
**/
|
|
392
|
+
[error: string]: GenericPalletError;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Pallet `ImOnline`'s errors
|
|
396
|
+
**/
|
|
397
|
+
imOnline: {
|
|
398
|
+
/**
|
|
399
|
+
* Non existent public key.
|
|
400
|
+
**/
|
|
401
|
+
InvalidKey: GenericPalletError;
|
|
402
|
+
/**
|
|
403
|
+
* Duplicated heartbeat.
|
|
404
|
+
**/
|
|
405
|
+
DuplicatedHeartbeat: GenericPalletError;
|
|
406
|
+
/**
|
|
407
|
+
* Generic pallet error
|
|
408
|
+
**/
|
|
409
|
+
[error: string]: GenericPalletError;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Pallet `Treasury`'s errors
|
|
413
|
+
**/
|
|
414
|
+
treasury: {
|
|
415
|
+
/**
|
|
416
|
+
* Proposer's balance is too low.
|
|
417
|
+
**/
|
|
418
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
419
|
+
/**
|
|
420
|
+
* No proposal, bounty or spend at that index.
|
|
421
|
+
**/
|
|
422
|
+
InvalidIndex: GenericPalletError;
|
|
423
|
+
/**
|
|
424
|
+
* Too many approvals in the queue.
|
|
425
|
+
**/
|
|
426
|
+
TooManyApprovals: GenericPalletError;
|
|
427
|
+
/**
|
|
428
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
429
|
+
* amount to be spent.
|
|
430
|
+
**/
|
|
431
|
+
InsufficientPermission: GenericPalletError;
|
|
432
|
+
/**
|
|
433
|
+
* Proposal has not been approved.
|
|
434
|
+
**/
|
|
435
|
+
ProposalNotApproved: GenericPalletError;
|
|
436
|
+
/**
|
|
437
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
438
|
+
**/
|
|
439
|
+
FailedToConvertBalance: GenericPalletError;
|
|
440
|
+
/**
|
|
441
|
+
* The spend has expired and cannot be claimed.
|
|
442
|
+
**/
|
|
443
|
+
SpendExpired: GenericPalletError;
|
|
444
|
+
/**
|
|
445
|
+
* The spend is not yet eligible for payout.
|
|
446
|
+
**/
|
|
447
|
+
EarlyPayout: GenericPalletError;
|
|
448
|
+
/**
|
|
449
|
+
* The payment has already been attempted.
|
|
450
|
+
**/
|
|
451
|
+
AlreadyAttempted: GenericPalletError;
|
|
452
|
+
/**
|
|
453
|
+
* There was some issue with the mechanism of payment.
|
|
454
|
+
**/
|
|
455
|
+
PayoutError: GenericPalletError;
|
|
456
|
+
/**
|
|
457
|
+
* The payout was not yet attempted/claimed.
|
|
458
|
+
**/
|
|
459
|
+
NotAttempted: GenericPalletError;
|
|
460
|
+
/**
|
|
461
|
+
* The payment has neither failed nor succeeded yet.
|
|
462
|
+
**/
|
|
463
|
+
Inconclusive: GenericPalletError;
|
|
464
|
+
/**
|
|
465
|
+
* Generic pallet error
|
|
466
|
+
**/
|
|
467
|
+
[error: string]: GenericPalletError;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Pallet `ConvictionVoting`'s errors
|
|
471
|
+
**/
|
|
472
|
+
convictionVoting: {
|
|
473
|
+
/**
|
|
474
|
+
* Poll is not ongoing.
|
|
475
|
+
**/
|
|
476
|
+
NotOngoing: GenericPalletError;
|
|
477
|
+
/**
|
|
478
|
+
* The given account did not vote on the poll.
|
|
479
|
+
**/
|
|
480
|
+
NotVoter: GenericPalletError;
|
|
481
|
+
/**
|
|
482
|
+
* The actor has no permission to conduct the action.
|
|
483
|
+
**/
|
|
484
|
+
NoPermission: GenericPalletError;
|
|
485
|
+
/**
|
|
486
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
487
|
+
**/
|
|
488
|
+
NoPermissionYet: GenericPalletError;
|
|
489
|
+
/**
|
|
490
|
+
* The account is already delegating.
|
|
491
|
+
**/
|
|
492
|
+
AlreadyDelegating: GenericPalletError;
|
|
493
|
+
/**
|
|
494
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
495
|
+
* these are removed, either through `unvote` or `reap_vote`.
|
|
496
|
+
**/
|
|
497
|
+
AlreadyVoting: GenericPalletError;
|
|
498
|
+
/**
|
|
499
|
+
* Too high a balance was provided that the account cannot afford.
|
|
500
|
+
**/
|
|
501
|
+
InsufficientFunds: GenericPalletError;
|
|
502
|
+
/**
|
|
503
|
+
* The account is not currently delegating.
|
|
504
|
+
**/
|
|
505
|
+
NotDelegating: GenericPalletError;
|
|
506
|
+
/**
|
|
507
|
+
* Delegation to oneself makes no sense.
|
|
508
|
+
**/
|
|
509
|
+
Nonsense: GenericPalletError;
|
|
510
|
+
/**
|
|
511
|
+
* Maximum number of votes reached.
|
|
512
|
+
**/
|
|
513
|
+
MaxVotesReached: GenericPalletError;
|
|
514
|
+
/**
|
|
515
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
516
|
+
**/
|
|
517
|
+
ClassNeeded: GenericPalletError;
|
|
518
|
+
/**
|
|
519
|
+
* The class ID supplied is invalid.
|
|
520
|
+
**/
|
|
521
|
+
BadClass: GenericPalletError;
|
|
522
|
+
/**
|
|
523
|
+
* Generic pallet error
|
|
524
|
+
**/
|
|
525
|
+
[error: string]: GenericPalletError;
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* Pallet `Referenda`'s errors
|
|
529
|
+
**/
|
|
530
|
+
referenda: {
|
|
531
|
+
/**
|
|
532
|
+
* Referendum is not ongoing.
|
|
533
|
+
**/
|
|
534
|
+
NotOngoing: GenericPalletError;
|
|
535
|
+
/**
|
|
536
|
+
* Referendum's decision deposit is already paid.
|
|
537
|
+
**/
|
|
538
|
+
HasDeposit: GenericPalletError;
|
|
539
|
+
/**
|
|
540
|
+
* The track identifier given was invalid.
|
|
541
|
+
**/
|
|
542
|
+
BadTrack: GenericPalletError;
|
|
543
|
+
/**
|
|
544
|
+
* There are already a full complement of referenda in progress for this track.
|
|
545
|
+
**/
|
|
546
|
+
Full: GenericPalletError;
|
|
547
|
+
/**
|
|
548
|
+
* The queue of the track is empty.
|
|
549
|
+
**/
|
|
550
|
+
QueueEmpty: GenericPalletError;
|
|
551
|
+
/**
|
|
552
|
+
* The referendum index provided is invalid in this context.
|
|
553
|
+
**/
|
|
554
|
+
BadReferendum: GenericPalletError;
|
|
555
|
+
/**
|
|
556
|
+
* There was nothing to do in the advancement.
|
|
557
|
+
**/
|
|
558
|
+
NothingToDo: GenericPalletError;
|
|
559
|
+
/**
|
|
560
|
+
* No track exists for the proposal origin.
|
|
561
|
+
**/
|
|
562
|
+
NoTrack: GenericPalletError;
|
|
563
|
+
/**
|
|
564
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
565
|
+
**/
|
|
566
|
+
Unfinished: GenericPalletError;
|
|
567
|
+
/**
|
|
568
|
+
* The deposit refunder is not the depositor.
|
|
569
|
+
**/
|
|
570
|
+
NoPermission: GenericPalletError;
|
|
571
|
+
/**
|
|
572
|
+
* The deposit cannot be refunded since none was made.
|
|
573
|
+
**/
|
|
574
|
+
NoDeposit: GenericPalletError;
|
|
575
|
+
/**
|
|
576
|
+
* The referendum status is invalid for this operation.
|
|
577
|
+
**/
|
|
578
|
+
BadStatus: GenericPalletError;
|
|
579
|
+
/**
|
|
580
|
+
* The preimage does not exist.
|
|
581
|
+
**/
|
|
582
|
+
PreimageNotExist: GenericPalletError;
|
|
583
|
+
/**
|
|
584
|
+
* Generic pallet error
|
|
585
|
+
**/
|
|
586
|
+
[error: string]: GenericPalletError;
|
|
587
|
+
};
|
|
588
|
+
/**
|
|
589
|
+
* Pallet `Whitelist`'s errors
|
|
590
|
+
**/
|
|
591
|
+
whitelist: {
|
|
592
|
+
/**
|
|
593
|
+
* The preimage of the call hash could not be loaded.
|
|
594
|
+
**/
|
|
595
|
+
UnavailablePreImage: GenericPalletError;
|
|
596
|
+
/**
|
|
597
|
+
* The call could not be decoded.
|
|
598
|
+
**/
|
|
599
|
+
UndecodableCall: GenericPalletError;
|
|
600
|
+
/**
|
|
601
|
+
* The weight of the decoded call was higher than the witness.
|
|
602
|
+
**/
|
|
603
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
604
|
+
/**
|
|
605
|
+
* The call was not whitelisted.
|
|
606
|
+
**/
|
|
607
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
608
|
+
/**
|
|
609
|
+
* The call was already whitelisted; No-Op.
|
|
610
|
+
**/
|
|
611
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
612
|
+
/**
|
|
613
|
+
* Generic pallet error
|
|
614
|
+
**/
|
|
615
|
+
[error: string]: GenericPalletError;
|
|
616
|
+
};
|
|
617
|
+
/**
|
|
618
|
+
* Pallet `Claims`'s errors
|
|
619
|
+
**/
|
|
620
|
+
claims: {
|
|
621
|
+
/**
|
|
622
|
+
* Invalid Ethereum signature.
|
|
623
|
+
**/
|
|
624
|
+
InvalidEthereumSignature: GenericPalletError;
|
|
625
|
+
/**
|
|
626
|
+
* Ethereum address has no claim.
|
|
627
|
+
**/
|
|
628
|
+
SignerHasNoClaim: GenericPalletError;
|
|
629
|
+
/**
|
|
630
|
+
* Account ID sending transaction has no claim.
|
|
631
|
+
**/
|
|
632
|
+
SenderHasNoClaim: GenericPalletError;
|
|
633
|
+
/**
|
|
634
|
+
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
635
|
+
* logic error.
|
|
636
|
+
**/
|
|
637
|
+
PotUnderflow: GenericPalletError;
|
|
638
|
+
/**
|
|
639
|
+
* A needed statement was not included.
|
|
640
|
+
**/
|
|
641
|
+
InvalidStatement: GenericPalletError;
|
|
642
|
+
/**
|
|
643
|
+
* The account already has a vested balance.
|
|
644
|
+
**/
|
|
645
|
+
VestedBalanceExists: GenericPalletError;
|
|
646
|
+
/**
|
|
647
|
+
* Generic pallet error
|
|
648
|
+
**/
|
|
649
|
+
[error: string]: GenericPalletError;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* Pallet `Vesting`'s errors
|
|
653
|
+
**/
|
|
654
|
+
vesting: {
|
|
655
|
+
/**
|
|
656
|
+
* The account given is not vesting.
|
|
657
|
+
**/
|
|
658
|
+
NotVesting: GenericPalletError;
|
|
659
|
+
/**
|
|
660
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
661
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
662
|
+
**/
|
|
663
|
+
AtMaxVestingSchedules: GenericPalletError;
|
|
664
|
+
/**
|
|
665
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
666
|
+
**/
|
|
667
|
+
AmountLow: GenericPalletError;
|
|
668
|
+
/**
|
|
669
|
+
* An index was out of bounds of the vesting schedules.
|
|
670
|
+
**/
|
|
671
|
+
ScheduleIndexOutOfBounds: GenericPalletError;
|
|
672
|
+
/**
|
|
673
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
674
|
+
**/
|
|
675
|
+
InvalidScheduleParams: GenericPalletError;
|
|
676
|
+
/**
|
|
677
|
+
* Generic pallet error
|
|
678
|
+
**/
|
|
679
|
+
[error: string]: GenericPalletError;
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* Pallet `Utility`'s errors
|
|
683
|
+
**/
|
|
684
|
+
utility: {
|
|
685
|
+
/**
|
|
686
|
+
* Too many calls batched.
|
|
687
|
+
**/
|
|
688
|
+
TooManyCalls: GenericPalletError;
|
|
689
|
+
/**
|
|
690
|
+
* Generic pallet error
|
|
691
|
+
**/
|
|
692
|
+
[error: string]: GenericPalletError;
|
|
693
|
+
};
|
|
694
|
+
/**
|
|
695
|
+
* Pallet `Identity`'s errors
|
|
696
|
+
**/
|
|
697
|
+
identity: {
|
|
698
|
+
/**
|
|
699
|
+
* Too many subs-accounts.
|
|
700
|
+
**/
|
|
701
|
+
TooManySubAccounts: GenericPalletError;
|
|
702
|
+
/**
|
|
703
|
+
* Account isn't found.
|
|
704
|
+
**/
|
|
705
|
+
NotFound: GenericPalletError;
|
|
706
|
+
/**
|
|
707
|
+
* Account isn't named.
|
|
708
|
+
**/
|
|
709
|
+
NotNamed: GenericPalletError;
|
|
710
|
+
/**
|
|
711
|
+
* Empty index.
|
|
712
|
+
**/
|
|
713
|
+
EmptyIndex: GenericPalletError;
|
|
714
|
+
/**
|
|
715
|
+
* Fee is changed.
|
|
716
|
+
**/
|
|
717
|
+
FeeChanged: GenericPalletError;
|
|
718
|
+
/**
|
|
719
|
+
* No identity found.
|
|
720
|
+
**/
|
|
721
|
+
NoIdentity: GenericPalletError;
|
|
722
|
+
/**
|
|
723
|
+
* Sticky judgement.
|
|
724
|
+
**/
|
|
725
|
+
StickyJudgement: GenericPalletError;
|
|
726
|
+
/**
|
|
727
|
+
* Judgement given.
|
|
728
|
+
**/
|
|
729
|
+
JudgementGiven: GenericPalletError;
|
|
730
|
+
/**
|
|
731
|
+
* Invalid judgement.
|
|
732
|
+
**/
|
|
733
|
+
InvalidJudgement: GenericPalletError;
|
|
734
|
+
/**
|
|
735
|
+
* The index is invalid.
|
|
736
|
+
**/
|
|
737
|
+
InvalidIndex: GenericPalletError;
|
|
738
|
+
/**
|
|
739
|
+
* The target is invalid.
|
|
740
|
+
**/
|
|
741
|
+
InvalidTarget: GenericPalletError;
|
|
742
|
+
/**
|
|
743
|
+
* Too many additional fields.
|
|
744
|
+
**/
|
|
745
|
+
TooManyFields: GenericPalletError;
|
|
746
|
+
/**
|
|
747
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
748
|
+
**/
|
|
749
|
+
TooManyRegistrars: GenericPalletError;
|
|
750
|
+
/**
|
|
751
|
+
* Account ID is already named.
|
|
752
|
+
**/
|
|
753
|
+
AlreadyClaimed: GenericPalletError;
|
|
754
|
+
/**
|
|
755
|
+
* Sender is not a sub-account.
|
|
756
|
+
**/
|
|
757
|
+
NotSub: GenericPalletError;
|
|
758
|
+
/**
|
|
759
|
+
* Sub-account isn't owned by sender.
|
|
760
|
+
**/
|
|
761
|
+
NotOwned: GenericPalletError;
|
|
762
|
+
/**
|
|
763
|
+
* The provided judgement was for a different identity.
|
|
764
|
+
**/
|
|
765
|
+
JudgementForDifferentIdentity: GenericPalletError;
|
|
766
|
+
/**
|
|
767
|
+
* Error that occurs when there is an issue paying for judgement.
|
|
768
|
+
**/
|
|
769
|
+
JudgementPaymentFailed: GenericPalletError;
|
|
770
|
+
/**
|
|
771
|
+
* Generic pallet error
|
|
772
|
+
**/
|
|
773
|
+
[error: string]: GenericPalletError;
|
|
774
|
+
};
|
|
775
|
+
/**
|
|
776
|
+
* Pallet `Proxy`'s errors
|
|
777
|
+
**/
|
|
778
|
+
proxy: {
|
|
779
|
+
/**
|
|
780
|
+
* There are too many proxies registered or too many announcements pending.
|
|
781
|
+
**/
|
|
782
|
+
TooMany: GenericPalletError;
|
|
783
|
+
/**
|
|
784
|
+
* Proxy registration not found.
|
|
785
|
+
**/
|
|
786
|
+
NotFound: GenericPalletError;
|
|
787
|
+
/**
|
|
788
|
+
* Sender is not a proxy of the account to be proxied.
|
|
789
|
+
**/
|
|
790
|
+
NotProxy: GenericPalletError;
|
|
791
|
+
/**
|
|
792
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
793
|
+
**/
|
|
794
|
+
Unproxyable: GenericPalletError;
|
|
795
|
+
/**
|
|
796
|
+
* Account is already a proxy.
|
|
797
|
+
**/
|
|
798
|
+
Duplicate: GenericPalletError;
|
|
799
|
+
/**
|
|
800
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
801
|
+
**/
|
|
802
|
+
NoPermission: GenericPalletError;
|
|
803
|
+
/**
|
|
804
|
+
* Announcement, if made at all, was made too recently.
|
|
805
|
+
**/
|
|
806
|
+
Unannounced: GenericPalletError;
|
|
807
|
+
/**
|
|
808
|
+
* Cannot add self as proxy.
|
|
809
|
+
**/
|
|
810
|
+
NoSelfProxy: GenericPalletError;
|
|
811
|
+
/**
|
|
812
|
+
* Generic pallet error
|
|
813
|
+
**/
|
|
814
|
+
[error: string]: GenericPalletError;
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* Pallet `Multisig`'s errors
|
|
818
|
+
**/
|
|
819
|
+
multisig: {
|
|
820
|
+
/**
|
|
821
|
+
* Threshold must be 2 or greater.
|
|
822
|
+
**/
|
|
823
|
+
MinimumThreshold: GenericPalletError;
|
|
824
|
+
/**
|
|
825
|
+
* Call is already approved by this signatory.
|
|
826
|
+
**/
|
|
827
|
+
AlreadyApproved: GenericPalletError;
|
|
828
|
+
/**
|
|
829
|
+
* Call doesn't need any (more) approvals.
|
|
830
|
+
**/
|
|
831
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
832
|
+
/**
|
|
833
|
+
* There are too few signatories in the list.
|
|
834
|
+
**/
|
|
835
|
+
TooFewSignatories: GenericPalletError;
|
|
836
|
+
/**
|
|
837
|
+
* There are too many signatories in the list.
|
|
838
|
+
**/
|
|
839
|
+
TooManySignatories: GenericPalletError;
|
|
840
|
+
/**
|
|
841
|
+
* The signatories were provided out of order; they should be ordered.
|
|
842
|
+
**/
|
|
843
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
844
|
+
/**
|
|
845
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
846
|
+
**/
|
|
847
|
+
SenderInSignatories: GenericPalletError;
|
|
848
|
+
/**
|
|
849
|
+
* Multisig operation not found when attempting to cancel.
|
|
850
|
+
**/
|
|
851
|
+
NotFound: GenericPalletError;
|
|
852
|
+
/**
|
|
853
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
854
|
+
**/
|
|
855
|
+
NotOwner: GenericPalletError;
|
|
856
|
+
/**
|
|
857
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
858
|
+
**/
|
|
859
|
+
NoTimepoint: GenericPalletError;
|
|
860
|
+
/**
|
|
861
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
862
|
+
**/
|
|
863
|
+
WrongTimepoint: GenericPalletError;
|
|
864
|
+
/**
|
|
865
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
866
|
+
**/
|
|
867
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
868
|
+
/**
|
|
869
|
+
* The maximum weight information provided was too low.
|
|
870
|
+
**/
|
|
871
|
+
MaxWeightTooLow: GenericPalletError;
|
|
872
|
+
/**
|
|
873
|
+
* The data to be stored is already stored.
|
|
874
|
+
**/
|
|
875
|
+
AlreadyStored: GenericPalletError;
|
|
876
|
+
/**
|
|
877
|
+
* Generic pallet error
|
|
878
|
+
**/
|
|
879
|
+
[error: string]: GenericPalletError;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* Pallet `Bounties`'s errors
|
|
883
|
+
**/
|
|
884
|
+
bounties: {
|
|
885
|
+
/**
|
|
886
|
+
* Proposer's balance is too low.
|
|
887
|
+
**/
|
|
888
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
889
|
+
/**
|
|
890
|
+
* No proposal or bounty at that index.
|
|
891
|
+
**/
|
|
892
|
+
InvalidIndex: GenericPalletError;
|
|
893
|
+
/**
|
|
894
|
+
* The reason given is just too big.
|
|
895
|
+
**/
|
|
896
|
+
ReasonTooBig: GenericPalletError;
|
|
897
|
+
/**
|
|
898
|
+
* The bounty status is unexpected.
|
|
899
|
+
**/
|
|
900
|
+
UnexpectedStatus: GenericPalletError;
|
|
901
|
+
/**
|
|
902
|
+
* Require bounty curator.
|
|
903
|
+
**/
|
|
904
|
+
RequireCurator: GenericPalletError;
|
|
905
|
+
/**
|
|
906
|
+
* Invalid bounty value.
|
|
907
|
+
**/
|
|
908
|
+
InvalidValue: GenericPalletError;
|
|
909
|
+
/**
|
|
910
|
+
* Invalid bounty fee.
|
|
911
|
+
**/
|
|
912
|
+
InvalidFee: GenericPalletError;
|
|
913
|
+
/**
|
|
914
|
+
* A bounty payout is pending.
|
|
915
|
+
* To cancel the bounty, you must unassign and slash the curator.
|
|
916
|
+
**/
|
|
917
|
+
PendingPayout: GenericPalletError;
|
|
918
|
+
/**
|
|
919
|
+
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
920
|
+
**/
|
|
921
|
+
Premature: GenericPalletError;
|
|
922
|
+
/**
|
|
923
|
+
* The bounty cannot be closed because it has active child bounties.
|
|
924
|
+
**/
|
|
925
|
+
HasActiveChildBounty: GenericPalletError;
|
|
926
|
+
/**
|
|
927
|
+
* Too many approvals are already queued.
|
|
928
|
+
**/
|
|
929
|
+
TooManyQueued: GenericPalletError;
|
|
930
|
+
/**
|
|
931
|
+
* Generic pallet error
|
|
932
|
+
**/
|
|
933
|
+
[error: string]: GenericPalletError;
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* Pallet `ChildBounties`'s errors
|
|
937
|
+
**/
|
|
938
|
+
childBounties: {
|
|
939
|
+
/**
|
|
940
|
+
* The parent bounty is not in active state.
|
|
941
|
+
**/
|
|
942
|
+
ParentBountyNotActive: GenericPalletError;
|
|
943
|
+
/**
|
|
944
|
+
* The bounty balance is not enough to add new child-bounty.
|
|
945
|
+
**/
|
|
946
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
947
|
+
/**
|
|
948
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
949
|
+
**/
|
|
950
|
+
TooManyChildBounties: GenericPalletError;
|
|
951
|
+
/**
|
|
952
|
+
* Generic pallet error
|
|
953
|
+
**/
|
|
954
|
+
[error: string]: GenericPalletError;
|
|
955
|
+
};
|
|
956
|
+
/**
|
|
957
|
+
* Pallet `ElectionProviderMultiPhase`'s errors
|
|
958
|
+
**/
|
|
959
|
+
electionProviderMultiPhase: {
|
|
960
|
+
/**
|
|
961
|
+
* Submission was too early.
|
|
962
|
+
**/
|
|
963
|
+
PreDispatchEarlySubmission: GenericPalletError;
|
|
964
|
+
/**
|
|
965
|
+
* Wrong number of winners presented.
|
|
966
|
+
**/
|
|
967
|
+
PreDispatchWrongWinnerCount: GenericPalletError;
|
|
968
|
+
/**
|
|
969
|
+
* Submission was too weak, score-wise.
|
|
970
|
+
**/
|
|
971
|
+
PreDispatchWeakSubmission: GenericPalletError;
|
|
972
|
+
/**
|
|
973
|
+
* The queue was full, and the solution was not better than any of the existing ones.
|
|
974
|
+
**/
|
|
975
|
+
SignedQueueFull: GenericPalletError;
|
|
976
|
+
/**
|
|
977
|
+
* The origin failed to pay the deposit.
|
|
978
|
+
**/
|
|
979
|
+
SignedCannotPayDeposit: GenericPalletError;
|
|
980
|
+
/**
|
|
981
|
+
* Witness data to dispatchable is invalid.
|
|
982
|
+
**/
|
|
983
|
+
SignedInvalidWitness: GenericPalletError;
|
|
984
|
+
/**
|
|
985
|
+
* The signed submission consumes too much weight
|
|
986
|
+
**/
|
|
987
|
+
SignedTooMuchWeight: GenericPalletError;
|
|
988
|
+
/**
|
|
989
|
+
* OCW submitted solution for wrong round
|
|
990
|
+
**/
|
|
991
|
+
OcwCallWrongEra: GenericPalletError;
|
|
992
|
+
/**
|
|
993
|
+
* Snapshot metadata should exist but didn't.
|
|
994
|
+
**/
|
|
995
|
+
MissingSnapshotMetadata: GenericPalletError;
|
|
996
|
+
/**
|
|
997
|
+
* `Self::insert_submission` returned an invalid index.
|
|
998
|
+
**/
|
|
999
|
+
InvalidSubmissionIndex: GenericPalletError;
|
|
1000
|
+
/**
|
|
1001
|
+
* The call is not allowed at this point.
|
|
1002
|
+
**/
|
|
1003
|
+
CallNotAllowed: GenericPalletError;
|
|
1004
|
+
/**
|
|
1005
|
+
* The fallback failed
|
|
1006
|
+
**/
|
|
1007
|
+
FallbackFailed: GenericPalletError;
|
|
1008
|
+
/**
|
|
1009
|
+
* Some bound not met
|
|
1010
|
+
**/
|
|
1011
|
+
BoundNotMet: GenericPalletError;
|
|
1012
|
+
/**
|
|
1013
|
+
* Submitted solution has too many winners
|
|
1014
|
+
**/
|
|
1015
|
+
TooManyWinners: GenericPalletError;
|
|
1016
|
+
/**
|
|
1017
|
+
* Generic pallet error
|
|
1018
|
+
**/
|
|
1019
|
+
[error: string]: GenericPalletError;
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* Pallet `VoterList`'s errors
|
|
1023
|
+
**/
|
|
1024
|
+
voterList: {
|
|
1025
|
+
/**
|
|
1026
|
+
* A error in the list interface implementation.
|
|
1027
|
+
**/
|
|
1028
|
+
List: GenericPalletError;
|
|
1029
|
+
/**
|
|
1030
|
+
* Generic pallet error
|
|
1031
|
+
**/
|
|
1032
|
+
[error: string]: GenericPalletError;
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* Pallet `NominationPools`'s errors
|
|
1036
|
+
**/
|
|
1037
|
+
nominationPools: {
|
|
1038
|
+
/**
|
|
1039
|
+
* A (bonded) pool id does not exist.
|
|
1040
|
+
**/
|
|
1041
|
+
PoolNotFound: GenericPalletError;
|
|
1042
|
+
/**
|
|
1043
|
+
* An account is not a member.
|
|
1044
|
+
**/
|
|
1045
|
+
PoolMemberNotFound: GenericPalletError;
|
|
1046
|
+
/**
|
|
1047
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1048
|
+
**/
|
|
1049
|
+
RewardPoolNotFound: GenericPalletError;
|
|
1050
|
+
/**
|
|
1051
|
+
* A sub pool does not exist.
|
|
1052
|
+
**/
|
|
1053
|
+
SubPoolsNotFound: GenericPalletError;
|
|
1054
|
+
/**
|
|
1055
|
+
* An account is already delegating in another pool. An account may only belong to one
|
|
1056
|
+
* pool at a time.
|
|
1057
|
+
**/
|
|
1058
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
1059
|
+
/**
|
|
1060
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
1061
|
+
* anymore to, for example, collect rewards).
|
|
1062
|
+
**/
|
|
1063
|
+
FullyUnbonding: GenericPalletError;
|
|
1064
|
+
/**
|
|
1065
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
1066
|
+
**/
|
|
1067
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
1068
|
+
/**
|
|
1069
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1070
|
+
**/
|
|
1071
|
+
CannotWithdrawAny: GenericPalletError;
|
|
1072
|
+
/**
|
|
1073
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
1074
|
+
*
|
|
1075
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
1076
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1077
|
+
* value below `MinJoinBond`.
|
|
1078
|
+
**/
|
|
1079
|
+
MinimumBondNotMet: GenericPalletError;
|
|
1080
|
+
/**
|
|
1081
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
1082
|
+
**/
|
|
1083
|
+
OverflowRisk: GenericPalletError;
|
|
1084
|
+
/**
|
|
1085
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
1086
|
+
* other members to be permissionlessly unbonded.
|
|
1087
|
+
**/
|
|
1088
|
+
NotDestroying: GenericPalletError;
|
|
1089
|
+
/**
|
|
1090
|
+
* The caller does not have nominating permissions for the pool.
|
|
1091
|
+
**/
|
|
1092
|
+
NotNominator: GenericPalletError;
|
|
1093
|
+
/**
|
|
1094
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1095
|
+
**/
|
|
1096
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
1097
|
+
/**
|
|
1098
|
+
* The pool is not open to join
|
|
1099
|
+
**/
|
|
1100
|
+
NotOpen: GenericPalletError;
|
|
1101
|
+
/**
|
|
1102
|
+
* The system is maxed out on pools.
|
|
1103
|
+
**/
|
|
1104
|
+
MaxPools: GenericPalletError;
|
|
1105
|
+
/**
|
|
1106
|
+
* Too many members in the pool or system.
|
|
1107
|
+
**/
|
|
1108
|
+
MaxPoolMembers: GenericPalletError;
|
|
1109
|
+
/**
|
|
1110
|
+
* The pools state cannot be changed.
|
|
1111
|
+
**/
|
|
1112
|
+
CanNotChangeState: GenericPalletError;
|
|
1113
|
+
/**
|
|
1114
|
+
* The caller does not have adequate permissions.
|
|
1115
|
+
**/
|
|
1116
|
+
DoesNotHavePermission: GenericPalletError;
|
|
1117
|
+
/**
|
|
1118
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
1119
|
+
**/
|
|
1120
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
1121
|
+
/**
|
|
1122
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
1123
|
+
* maintainers.
|
|
1124
|
+
**/
|
|
1125
|
+
Defensive: GenericPalletError;
|
|
1126
|
+
/**
|
|
1127
|
+
* Partial unbonding now allowed permissionlessly.
|
|
1128
|
+
**/
|
|
1129
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
1130
|
+
/**
|
|
1131
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
1132
|
+
**/
|
|
1133
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
1134
|
+
/**
|
|
1135
|
+
* The supplied commission exceeds the max allowed commission.
|
|
1136
|
+
**/
|
|
1137
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
1138
|
+
/**
|
|
1139
|
+
* The supplied commission exceeds global maximum commission.
|
|
1140
|
+
**/
|
|
1141
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
1142
|
+
/**
|
|
1143
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
1144
|
+
**/
|
|
1145
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
1146
|
+
/**
|
|
1147
|
+
* The submitted changes to commission change rate are not allowed.
|
|
1148
|
+
**/
|
|
1149
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
1150
|
+
/**
|
|
1151
|
+
* There is no pending commission to claim.
|
|
1152
|
+
**/
|
|
1153
|
+
NoPendingCommission: GenericPalletError;
|
|
1154
|
+
/**
|
|
1155
|
+
* No commission current has been set.
|
|
1156
|
+
**/
|
|
1157
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
1158
|
+
/**
|
|
1159
|
+
* Pool id currently in use.
|
|
1160
|
+
**/
|
|
1161
|
+
PoolIdInUse: GenericPalletError;
|
|
1162
|
+
/**
|
|
1163
|
+
* Pool id provided is not correct/usable.
|
|
1164
|
+
**/
|
|
1165
|
+
InvalidPoolId: GenericPalletError;
|
|
1166
|
+
/**
|
|
1167
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
1168
|
+
**/
|
|
1169
|
+
BondExtraRestricted: GenericPalletError;
|
|
1170
|
+
/**
|
|
1171
|
+
* No imbalance in the ED deposit for the pool.
|
|
1172
|
+
**/
|
|
1173
|
+
NothingToAdjust: GenericPalletError;
|
|
1174
|
+
/**
|
|
1175
|
+
* Generic pallet error
|
|
1176
|
+
**/
|
|
1177
|
+
[error: string]: GenericPalletError;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* Pallet `FastUnstake`'s errors
|
|
1181
|
+
**/
|
|
1182
|
+
fastUnstake: {
|
|
1183
|
+
/**
|
|
1184
|
+
* The provided Controller account was not found.
|
|
1185
|
+
*
|
|
1186
|
+
* This means that the given account is not bonded.
|
|
1187
|
+
**/
|
|
1188
|
+
NotController: GenericPalletError;
|
|
1189
|
+
/**
|
|
1190
|
+
* The bonded account has already been queued.
|
|
1191
|
+
**/
|
|
1192
|
+
AlreadyQueued: GenericPalletError;
|
|
1193
|
+
/**
|
|
1194
|
+
* The bonded account has active unlocking chunks.
|
|
1195
|
+
**/
|
|
1196
|
+
NotFullyBonded: GenericPalletError;
|
|
1197
|
+
/**
|
|
1198
|
+
* The provided un-staker is not in the `Queue`.
|
|
1199
|
+
**/
|
|
1200
|
+
NotQueued: GenericPalletError;
|
|
1201
|
+
/**
|
|
1202
|
+
* The provided un-staker is already in Head, and cannot deregister.
|
|
1203
|
+
**/
|
|
1204
|
+
AlreadyHead: GenericPalletError;
|
|
1205
|
+
/**
|
|
1206
|
+
* The call is not allowed at this point because the pallet is not active.
|
|
1207
|
+
**/
|
|
1208
|
+
CallNotAllowed: GenericPalletError;
|
|
1209
|
+
/**
|
|
1210
|
+
* Generic pallet error
|
|
1211
|
+
**/
|
|
1212
|
+
[error: string]: GenericPalletError;
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* Pallet `Configuration`'s errors
|
|
1216
|
+
**/
|
|
1217
|
+
configuration: {
|
|
1218
|
+
/**
|
|
1219
|
+
* The new value for a configuration parameter is invalid.
|
|
1220
|
+
**/
|
|
1221
|
+
InvalidNewValue: GenericPalletError;
|
|
1222
|
+
/**
|
|
1223
|
+
* Generic pallet error
|
|
1224
|
+
**/
|
|
1225
|
+
[error: string]: GenericPalletError;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* Pallet `ParaInclusion`'s errors
|
|
1229
|
+
**/
|
|
1230
|
+
paraInclusion: {
|
|
1231
|
+
/**
|
|
1232
|
+
* Validator indices are out of order or contains duplicates.
|
|
1233
|
+
**/
|
|
1234
|
+
UnsortedOrDuplicateValidatorIndices: GenericPalletError;
|
|
1235
|
+
/**
|
|
1236
|
+
* Dispute statement sets are out of order or contain duplicates.
|
|
1237
|
+
**/
|
|
1238
|
+
UnsortedOrDuplicateDisputeStatementSet: GenericPalletError;
|
|
1239
|
+
/**
|
|
1240
|
+
* Backed candidates are out of order (core index) or contain duplicates.
|
|
1241
|
+
**/
|
|
1242
|
+
UnsortedOrDuplicateBackedCandidates: GenericPalletError;
|
|
1243
|
+
/**
|
|
1244
|
+
* A different relay parent was provided compared to the on-chain stored one.
|
|
1245
|
+
**/
|
|
1246
|
+
UnexpectedRelayParent: GenericPalletError;
|
|
1247
|
+
/**
|
|
1248
|
+
* Availability bitfield has unexpected size.
|
|
1249
|
+
**/
|
|
1250
|
+
WrongBitfieldSize: GenericPalletError;
|
|
1251
|
+
/**
|
|
1252
|
+
* Bitfield consists of zeros only.
|
|
1253
|
+
**/
|
|
1254
|
+
BitfieldAllZeros: GenericPalletError;
|
|
1255
|
+
/**
|
|
1256
|
+
* Multiple bitfields submitted by same validator or validators out of order by index.
|
|
1257
|
+
**/
|
|
1258
|
+
BitfieldDuplicateOrUnordered: GenericPalletError;
|
|
1259
|
+
/**
|
|
1260
|
+
* Validator index out of bounds.
|
|
1261
|
+
**/
|
|
1262
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
1263
|
+
/**
|
|
1264
|
+
* Invalid signature
|
|
1265
|
+
**/
|
|
1266
|
+
InvalidBitfieldSignature: GenericPalletError;
|
|
1267
|
+
/**
|
|
1268
|
+
* Candidate submitted but para not scheduled.
|
|
1269
|
+
**/
|
|
1270
|
+
UnscheduledCandidate: GenericPalletError;
|
|
1271
|
+
/**
|
|
1272
|
+
* Candidate scheduled despite pending candidate already existing for the para.
|
|
1273
|
+
**/
|
|
1274
|
+
CandidateScheduledBeforeParaFree: GenericPalletError;
|
|
1275
|
+
/**
|
|
1276
|
+
* Scheduled cores out of order.
|
|
1277
|
+
**/
|
|
1278
|
+
ScheduledOutOfOrder: GenericPalletError;
|
|
1279
|
+
/**
|
|
1280
|
+
* Head data exceeds the configured maximum.
|
|
1281
|
+
**/
|
|
1282
|
+
HeadDataTooLarge: GenericPalletError;
|
|
1283
|
+
/**
|
|
1284
|
+
* Code upgrade prematurely.
|
|
1285
|
+
**/
|
|
1286
|
+
PrematureCodeUpgrade: GenericPalletError;
|
|
1287
|
+
/**
|
|
1288
|
+
* Output code is too large
|
|
1289
|
+
**/
|
|
1290
|
+
NewCodeTooLarge: GenericPalletError;
|
|
1291
|
+
/**
|
|
1292
|
+
* The candidate's relay-parent was not allowed. Either it was
|
|
1293
|
+
* not recent enough or it didn't advance based on the last parachain block.
|
|
1294
|
+
**/
|
|
1295
|
+
DisallowedRelayParent: GenericPalletError;
|
|
1296
|
+
/**
|
|
1297
|
+
* Failed to compute group index for the core: either it's out of bounds
|
|
1298
|
+
* or the relay parent doesn't belong to the current session.
|
|
1299
|
+
**/
|
|
1300
|
+
InvalidAssignment: GenericPalletError;
|
|
1301
|
+
/**
|
|
1302
|
+
* Invalid group index in core assignment.
|
|
1303
|
+
**/
|
|
1304
|
+
InvalidGroupIndex: GenericPalletError;
|
|
1305
|
+
/**
|
|
1306
|
+
* Insufficient (non-majority) backing.
|
|
1307
|
+
**/
|
|
1308
|
+
InsufficientBacking: GenericPalletError;
|
|
1309
|
+
/**
|
|
1310
|
+
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
1311
|
+
**/
|
|
1312
|
+
InvalidBacking: GenericPalletError;
|
|
1313
|
+
/**
|
|
1314
|
+
* Collator did not sign PoV.
|
|
1315
|
+
**/
|
|
1316
|
+
NotCollatorSigned: GenericPalletError;
|
|
1317
|
+
/**
|
|
1318
|
+
* The validation data hash does not match expected.
|
|
1319
|
+
**/
|
|
1320
|
+
ValidationDataHashMismatch: GenericPalletError;
|
|
1321
|
+
/**
|
|
1322
|
+
* The downward message queue is not processed correctly.
|
|
1323
|
+
**/
|
|
1324
|
+
IncorrectDownwardMessageHandling: GenericPalletError;
|
|
1325
|
+
/**
|
|
1326
|
+
* At least one upward message sent does not pass the acceptance criteria.
|
|
1327
|
+
**/
|
|
1328
|
+
InvalidUpwardMessages: GenericPalletError;
|
|
1329
|
+
/**
|
|
1330
|
+
* The candidate didn't follow the rules of HRMP watermark advancement.
|
|
1331
|
+
**/
|
|
1332
|
+
HrmpWatermarkMishandling: GenericPalletError;
|
|
1333
|
+
/**
|
|
1334
|
+
* The HRMP messages sent by the candidate is not valid.
|
|
1335
|
+
**/
|
|
1336
|
+
InvalidOutboundHrmp: GenericPalletError;
|
|
1337
|
+
/**
|
|
1338
|
+
* The validation code hash of the candidate is not valid.
|
|
1339
|
+
**/
|
|
1340
|
+
InvalidValidationCodeHash: GenericPalletError;
|
|
1341
|
+
/**
|
|
1342
|
+
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1343
|
+
* para head in the commitments.
|
|
1344
|
+
**/
|
|
1345
|
+
ParaHeadMismatch: GenericPalletError;
|
|
1346
|
+
/**
|
|
1347
|
+
* A bitfield that references a freed core,
|
|
1348
|
+
* either intentionally or as part of a concluded
|
|
1349
|
+
* invalid dispute.
|
|
1350
|
+
**/
|
|
1351
|
+
BitfieldReferencesFreedCore: GenericPalletError;
|
|
1352
|
+
/**
|
|
1353
|
+
* Generic pallet error
|
|
1354
|
+
**/
|
|
1355
|
+
[error: string]: GenericPalletError;
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Pallet `ParaInherent`'s errors
|
|
1359
|
+
**/
|
|
1360
|
+
paraInherent: {
|
|
1361
|
+
/**
|
|
1362
|
+
* Inclusion inherent called more than once per block.
|
|
1363
|
+
**/
|
|
1364
|
+
TooManyInclusionInherents: GenericPalletError;
|
|
1365
|
+
/**
|
|
1366
|
+
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
1367
|
+
* the parent.
|
|
1368
|
+
**/
|
|
1369
|
+
InvalidParentHeader: GenericPalletError;
|
|
1370
|
+
/**
|
|
1371
|
+
* Disputed candidate that was concluded invalid.
|
|
1372
|
+
**/
|
|
1373
|
+
CandidateConcludedInvalid: GenericPalletError;
|
|
1374
|
+
/**
|
|
1375
|
+
* The data given to the inherent will result in an overweight block.
|
|
1376
|
+
**/
|
|
1377
|
+
InherentOverweight: GenericPalletError;
|
|
1378
|
+
/**
|
|
1379
|
+
* The ordering of dispute statements was invalid.
|
|
1380
|
+
**/
|
|
1381
|
+
DisputeStatementsUnsortedOrDuplicates: GenericPalletError;
|
|
1382
|
+
/**
|
|
1383
|
+
* A dispute statement was invalid.
|
|
1384
|
+
**/
|
|
1385
|
+
DisputeInvalid: GenericPalletError;
|
|
1386
|
+
/**
|
|
1387
|
+
* Generic pallet error
|
|
1388
|
+
**/
|
|
1389
|
+
[error: string]: GenericPalletError;
|
|
1390
|
+
};
|
|
1391
|
+
/**
|
|
1392
|
+
* Pallet `Paras`'s errors
|
|
1393
|
+
**/
|
|
1394
|
+
paras: {
|
|
1395
|
+
/**
|
|
1396
|
+
* Para is not registered in our system.
|
|
1397
|
+
**/
|
|
1398
|
+
NotRegistered: GenericPalletError;
|
|
1399
|
+
/**
|
|
1400
|
+
* Para cannot be onboarded because it is already tracked by our system.
|
|
1401
|
+
**/
|
|
1402
|
+
CannotOnboard: GenericPalletError;
|
|
1403
|
+
/**
|
|
1404
|
+
* Para cannot be offboarded at this time.
|
|
1405
|
+
**/
|
|
1406
|
+
CannotOffboard: GenericPalletError;
|
|
1407
|
+
/**
|
|
1408
|
+
* Para cannot be upgraded to a lease holding parachain.
|
|
1409
|
+
**/
|
|
1410
|
+
CannotUpgrade: GenericPalletError;
|
|
1411
|
+
/**
|
|
1412
|
+
* Para cannot be downgraded to an on-demand parachain.
|
|
1413
|
+
**/
|
|
1414
|
+
CannotDowngrade: GenericPalletError;
|
|
1415
|
+
/**
|
|
1416
|
+
* The statement for PVF pre-checking is stale.
|
|
1417
|
+
**/
|
|
1418
|
+
PvfCheckStatementStale: GenericPalletError;
|
|
1419
|
+
/**
|
|
1420
|
+
* The statement for PVF pre-checking is for a future session.
|
|
1421
|
+
**/
|
|
1422
|
+
PvfCheckStatementFuture: GenericPalletError;
|
|
1423
|
+
/**
|
|
1424
|
+
* Claimed validator index is out of bounds.
|
|
1425
|
+
**/
|
|
1426
|
+
PvfCheckValidatorIndexOutOfBounds: GenericPalletError;
|
|
1427
|
+
/**
|
|
1428
|
+
* The signature for the PVF pre-checking is invalid.
|
|
1429
|
+
**/
|
|
1430
|
+
PvfCheckInvalidSignature: GenericPalletError;
|
|
1431
|
+
/**
|
|
1432
|
+
* The given validator already has cast a vote.
|
|
1433
|
+
**/
|
|
1434
|
+
PvfCheckDoubleVote: GenericPalletError;
|
|
1435
|
+
/**
|
|
1436
|
+
* The given PVF does not exist at the moment of process a vote.
|
|
1437
|
+
**/
|
|
1438
|
+
PvfCheckSubjectInvalid: GenericPalletError;
|
|
1439
|
+
/**
|
|
1440
|
+
* Parachain cannot currently schedule a code upgrade.
|
|
1441
|
+
**/
|
|
1442
|
+
CannotUpgradeCode: GenericPalletError;
|
|
1443
|
+
/**
|
|
1444
|
+
* Generic pallet error
|
|
1445
|
+
**/
|
|
1446
|
+
[error: string]: GenericPalletError;
|
|
1447
|
+
};
|
|
1448
|
+
/**
|
|
1449
|
+
* Pallet `Hrmp`'s errors
|
|
1450
|
+
**/
|
|
1451
|
+
hrmp: {
|
|
1452
|
+
/**
|
|
1453
|
+
* The sender tried to open a channel to themselves.
|
|
1454
|
+
**/
|
|
1455
|
+
OpenHrmpChannelToSelf: GenericPalletError;
|
|
1456
|
+
/**
|
|
1457
|
+
* The recipient is not a valid para.
|
|
1458
|
+
**/
|
|
1459
|
+
OpenHrmpChannelInvalidRecipient: GenericPalletError;
|
|
1460
|
+
/**
|
|
1461
|
+
* The requested capacity is zero.
|
|
1462
|
+
**/
|
|
1463
|
+
OpenHrmpChannelZeroCapacity: GenericPalletError;
|
|
1464
|
+
/**
|
|
1465
|
+
* The requested capacity exceeds the global limit.
|
|
1466
|
+
**/
|
|
1467
|
+
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError;
|
|
1468
|
+
/**
|
|
1469
|
+
* The requested maximum message size is 0.
|
|
1470
|
+
**/
|
|
1471
|
+
OpenHrmpChannelZeroMessageSize: GenericPalletError;
|
|
1472
|
+
/**
|
|
1473
|
+
* The open request requested the message size that exceeds the global limit.
|
|
1474
|
+
**/
|
|
1475
|
+
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError;
|
|
1476
|
+
/**
|
|
1477
|
+
* The channel already exists
|
|
1478
|
+
**/
|
|
1479
|
+
OpenHrmpChannelAlreadyExists: GenericPalletError;
|
|
1480
|
+
/**
|
|
1481
|
+
* There is already a request to open the same channel.
|
|
1482
|
+
**/
|
|
1483
|
+
OpenHrmpChannelAlreadyRequested: GenericPalletError;
|
|
1484
|
+
/**
|
|
1485
|
+
* The sender already has the maximum number of allowed outbound channels.
|
|
1486
|
+
**/
|
|
1487
|
+
OpenHrmpChannelLimitExceeded: GenericPalletError;
|
|
1488
|
+
/**
|
|
1489
|
+
* The channel from the sender to the origin doesn't exist.
|
|
1490
|
+
**/
|
|
1491
|
+
AcceptHrmpChannelDoesntExist: GenericPalletError;
|
|
1492
|
+
/**
|
|
1493
|
+
* The channel is already confirmed.
|
|
1494
|
+
**/
|
|
1495
|
+
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
1496
|
+
/**
|
|
1497
|
+
* The recipient already has the maximum number of allowed inbound channels.
|
|
1498
|
+
**/
|
|
1499
|
+
AcceptHrmpChannelLimitExceeded: GenericPalletError;
|
|
1500
|
+
/**
|
|
1501
|
+
* The origin tries to close a channel where it is neither the sender nor the recipient.
|
|
1502
|
+
**/
|
|
1503
|
+
CloseHrmpChannelUnauthorized: GenericPalletError;
|
|
1504
|
+
/**
|
|
1505
|
+
* The channel to be closed doesn't exist.
|
|
1506
|
+
**/
|
|
1507
|
+
CloseHrmpChannelDoesntExist: GenericPalletError;
|
|
1508
|
+
/**
|
|
1509
|
+
* The channel close request is already requested.
|
|
1510
|
+
**/
|
|
1511
|
+
CloseHrmpChannelAlreadyUnderway: GenericPalletError;
|
|
1512
|
+
/**
|
|
1513
|
+
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
1514
|
+
**/
|
|
1515
|
+
CancelHrmpOpenChannelUnauthorized: GenericPalletError;
|
|
1516
|
+
/**
|
|
1517
|
+
* The open request doesn't exist.
|
|
1518
|
+
**/
|
|
1519
|
+
OpenHrmpChannelDoesntExist: GenericPalletError;
|
|
1520
|
+
/**
|
|
1521
|
+
* Cannot cancel an HRMP open channel request because it is already confirmed.
|
|
1522
|
+
**/
|
|
1523
|
+
OpenHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
1524
|
+
/**
|
|
1525
|
+
* The provided witness data is wrong.
|
|
1526
|
+
**/
|
|
1527
|
+
WrongWitness: GenericPalletError;
|
|
1528
|
+
/**
|
|
1529
|
+
* The channel between these two chains cannot be authorized.
|
|
1530
|
+
**/
|
|
1531
|
+
ChannelCreationNotAuthorized: GenericPalletError;
|
|
1532
|
+
/**
|
|
1533
|
+
* Generic pallet error
|
|
1534
|
+
**/
|
|
1535
|
+
[error: string]: GenericPalletError;
|
|
1536
|
+
};
|
|
1537
|
+
/**
|
|
1538
|
+
* Pallet `ParasDisputes`'s errors
|
|
1539
|
+
**/
|
|
1540
|
+
parasDisputes: {
|
|
1541
|
+
/**
|
|
1542
|
+
* Duplicate dispute statement sets provided.
|
|
1543
|
+
**/
|
|
1544
|
+
DuplicateDisputeStatementSets: GenericPalletError;
|
|
1545
|
+
/**
|
|
1546
|
+
* Ancient dispute statement provided.
|
|
1547
|
+
**/
|
|
1548
|
+
AncientDisputeStatement: GenericPalletError;
|
|
1549
|
+
/**
|
|
1550
|
+
* Validator index on statement is out of bounds for session.
|
|
1551
|
+
**/
|
|
1552
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
1553
|
+
/**
|
|
1554
|
+
* Invalid signature on statement.
|
|
1555
|
+
**/
|
|
1556
|
+
InvalidSignature: GenericPalletError;
|
|
1557
|
+
/**
|
|
1558
|
+
* Validator vote submitted more than once to dispute.
|
|
1559
|
+
**/
|
|
1560
|
+
DuplicateStatement: GenericPalletError;
|
|
1561
|
+
/**
|
|
1562
|
+
* A dispute where there are only votes on one side.
|
|
1563
|
+
**/
|
|
1564
|
+
SingleSidedDispute: GenericPalletError;
|
|
1565
|
+
/**
|
|
1566
|
+
* A dispute vote from a malicious backer.
|
|
1567
|
+
**/
|
|
1568
|
+
MaliciousBacker: GenericPalletError;
|
|
1569
|
+
/**
|
|
1570
|
+
* No backing votes were provides along dispute statements.
|
|
1571
|
+
**/
|
|
1572
|
+
MissingBackingVotes: GenericPalletError;
|
|
1573
|
+
/**
|
|
1574
|
+
* Unconfirmed dispute statement sets provided.
|
|
1575
|
+
**/
|
|
1576
|
+
UnconfirmedDispute: GenericPalletError;
|
|
1577
|
+
/**
|
|
1578
|
+
* Generic pallet error
|
|
1579
|
+
**/
|
|
1580
|
+
[error: string]: GenericPalletError;
|
|
1581
|
+
};
|
|
1582
|
+
/**
|
|
1583
|
+
* Pallet `ParasSlashing`'s errors
|
|
1584
|
+
**/
|
|
1585
|
+
parasSlashing: {
|
|
1586
|
+
/**
|
|
1587
|
+
* The key ownership proof is invalid.
|
|
1588
|
+
**/
|
|
1589
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
1590
|
+
/**
|
|
1591
|
+
* The session index is too old or invalid.
|
|
1592
|
+
**/
|
|
1593
|
+
InvalidSessionIndex: GenericPalletError;
|
|
1594
|
+
/**
|
|
1595
|
+
* The candidate hash is invalid.
|
|
1596
|
+
**/
|
|
1597
|
+
InvalidCandidateHash: GenericPalletError;
|
|
1598
|
+
/**
|
|
1599
|
+
* There is no pending slash for the given validator index and time
|
|
1600
|
+
* slot.
|
|
1601
|
+
**/
|
|
1602
|
+
InvalidValidatorIndex: GenericPalletError;
|
|
1603
|
+
/**
|
|
1604
|
+
* The validator index does not match the validator id.
|
|
1605
|
+
**/
|
|
1606
|
+
ValidatorIndexIdMismatch: GenericPalletError;
|
|
1607
|
+
/**
|
|
1608
|
+
* The given slashing report is valid but already previously reported.
|
|
1609
|
+
**/
|
|
1610
|
+
DuplicateSlashingReport: GenericPalletError;
|
|
1611
|
+
/**
|
|
1612
|
+
* Generic pallet error
|
|
1613
|
+
**/
|
|
1614
|
+
[error: string]: GenericPalletError;
|
|
1615
|
+
};
|
|
1616
|
+
/**
|
|
1617
|
+
* Pallet `Registrar`'s errors
|
|
1618
|
+
**/
|
|
1619
|
+
registrar: {
|
|
1620
|
+
/**
|
|
1621
|
+
* The ID is not registered.
|
|
1622
|
+
**/
|
|
1623
|
+
NotRegistered: GenericPalletError;
|
|
1624
|
+
/**
|
|
1625
|
+
* The ID is already registered.
|
|
1626
|
+
**/
|
|
1627
|
+
AlreadyRegistered: GenericPalletError;
|
|
1628
|
+
/**
|
|
1629
|
+
* The caller is not the owner of this Id.
|
|
1630
|
+
**/
|
|
1631
|
+
NotOwner: GenericPalletError;
|
|
1632
|
+
/**
|
|
1633
|
+
* Invalid para code size.
|
|
1634
|
+
**/
|
|
1635
|
+
CodeTooLarge: GenericPalletError;
|
|
1636
|
+
/**
|
|
1637
|
+
* Invalid para head data size.
|
|
1638
|
+
**/
|
|
1639
|
+
HeadDataTooLarge: GenericPalletError;
|
|
1640
|
+
/**
|
|
1641
|
+
* Para is not a Parachain.
|
|
1642
|
+
**/
|
|
1643
|
+
NotParachain: GenericPalletError;
|
|
1644
|
+
/**
|
|
1645
|
+
* Para is not a Parathread (on-demand parachain).
|
|
1646
|
+
**/
|
|
1647
|
+
NotParathread: GenericPalletError;
|
|
1648
|
+
/**
|
|
1649
|
+
* Cannot deregister para
|
|
1650
|
+
**/
|
|
1651
|
+
CannotDeregister: GenericPalletError;
|
|
1652
|
+
/**
|
|
1653
|
+
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
1654
|
+
**/
|
|
1655
|
+
CannotDowngrade: GenericPalletError;
|
|
1656
|
+
/**
|
|
1657
|
+
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
1658
|
+
**/
|
|
1659
|
+
CannotUpgrade: GenericPalletError;
|
|
1660
|
+
/**
|
|
1661
|
+
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
1662
|
+
* governance.
|
|
1663
|
+
**/
|
|
1664
|
+
ParaLocked: GenericPalletError;
|
|
1665
|
+
/**
|
|
1666
|
+
* The ID given for registration has not been reserved.
|
|
1667
|
+
**/
|
|
1668
|
+
NotReserved: GenericPalletError;
|
|
1669
|
+
/**
|
|
1670
|
+
* Registering parachain with empty code is not allowed.
|
|
1671
|
+
**/
|
|
1672
|
+
EmptyCode: GenericPalletError;
|
|
1673
|
+
/**
|
|
1674
|
+
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
1675
|
+
* are correct for the swap to work.
|
|
1676
|
+
**/
|
|
1677
|
+
CannotSwap: GenericPalletError;
|
|
1678
|
+
/**
|
|
1679
|
+
* Generic pallet error
|
|
1680
|
+
**/
|
|
1681
|
+
[error: string]: GenericPalletError;
|
|
1682
|
+
};
|
|
1683
|
+
/**
|
|
1684
|
+
* Pallet `Slots`'s errors
|
|
1685
|
+
**/
|
|
1686
|
+
slots: {
|
|
1687
|
+
/**
|
|
1688
|
+
* The parachain ID is not onboarding.
|
|
1689
|
+
**/
|
|
1690
|
+
ParaNotOnboarding: GenericPalletError;
|
|
1691
|
+
/**
|
|
1692
|
+
* There was an error with the lease.
|
|
1693
|
+
**/
|
|
1694
|
+
LeaseError: GenericPalletError;
|
|
1695
|
+
/**
|
|
1696
|
+
* Generic pallet error
|
|
1697
|
+
**/
|
|
1698
|
+
[error: string]: GenericPalletError;
|
|
1699
|
+
};
|
|
1700
|
+
/**
|
|
1701
|
+
* Pallet `Auctions`'s errors
|
|
1702
|
+
**/
|
|
1703
|
+
auctions: {
|
|
1704
|
+
/**
|
|
1705
|
+
* This auction is already in progress.
|
|
1706
|
+
**/
|
|
1707
|
+
AuctionInProgress: GenericPalletError;
|
|
1708
|
+
/**
|
|
1709
|
+
* The lease period is in the past.
|
|
1710
|
+
**/
|
|
1711
|
+
LeasePeriodInPast: GenericPalletError;
|
|
1712
|
+
/**
|
|
1713
|
+
* Para is not registered
|
|
1714
|
+
**/
|
|
1715
|
+
ParaNotRegistered: GenericPalletError;
|
|
1716
|
+
/**
|
|
1717
|
+
* Not a current auction.
|
|
1718
|
+
**/
|
|
1719
|
+
NotCurrentAuction: GenericPalletError;
|
|
1720
|
+
/**
|
|
1721
|
+
* Not an auction.
|
|
1722
|
+
**/
|
|
1723
|
+
NotAuction: GenericPalletError;
|
|
1724
|
+
/**
|
|
1725
|
+
* Auction has already ended.
|
|
1726
|
+
**/
|
|
1727
|
+
AuctionEnded: GenericPalletError;
|
|
1728
|
+
/**
|
|
1729
|
+
* The para is already leased out for part of this range.
|
|
1730
|
+
**/
|
|
1731
|
+
AlreadyLeasedOut: GenericPalletError;
|
|
1732
|
+
/**
|
|
1733
|
+
* Generic pallet error
|
|
1734
|
+
**/
|
|
1735
|
+
[error: string]: GenericPalletError;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Pallet `Crowdloan`'s errors
|
|
1739
|
+
**/
|
|
1740
|
+
crowdloan: {
|
|
1741
|
+
/**
|
|
1742
|
+
* The current lease period is more than the first lease period.
|
|
1743
|
+
**/
|
|
1744
|
+
FirstPeriodInPast: GenericPalletError;
|
|
1745
|
+
/**
|
|
1746
|
+
* The first lease period needs to at least be less than 3 `max_value`.
|
|
1747
|
+
**/
|
|
1748
|
+
FirstPeriodTooFarInFuture: GenericPalletError;
|
|
1749
|
+
/**
|
|
1750
|
+
* Last lease period must be greater than first lease period.
|
|
1751
|
+
**/
|
|
1752
|
+
LastPeriodBeforeFirstPeriod: GenericPalletError;
|
|
1753
|
+
/**
|
|
1754
|
+
* The last lease period cannot be more than 3 periods after the first period.
|
|
1755
|
+
**/
|
|
1756
|
+
LastPeriodTooFarInFuture: GenericPalletError;
|
|
1757
|
+
/**
|
|
1758
|
+
* The campaign ends before the current block number. The end must be in the future.
|
|
1759
|
+
**/
|
|
1760
|
+
CannotEndInPast: GenericPalletError;
|
|
1761
|
+
/**
|
|
1762
|
+
* The end date for this crowdloan is not sensible.
|
|
1763
|
+
**/
|
|
1764
|
+
EndTooFarInFuture: GenericPalletError;
|
|
1765
|
+
/**
|
|
1766
|
+
* There was an overflow.
|
|
1767
|
+
**/
|
|
1768
|
+
Overflow: GenericPalletError;
|
|
1769
|
+
/**
|
|
1770
|
+
* The contribution was below the minimum, `MinContribution`.
|
|
1771
|
+
**/
|
|
1772
|
+
ContributionTooSmall: GenericPalletError;
|
|
1773
|
+
/**
|
|
1774
|
+
* Invalid fund index.
|
|
1775
|
+
**/
|
|
1776
|
+
InvalidParaId: GenericPalletError;
|
|
1777
|
+
/**
|
|
1778
|
+
* Contributions exceed maximum amount.
|
|
1779
|
+
**/
|
|
1780
|
+
CapExceeded: GenericPalletError;
|
|
1781
|
+
/**
|
|
1782
|
+
* The contribution period has already ended.
|
|
1783
|
+
**/
|
|
1784
|
+
ContributionPeriodOver: GenericPalletError;
|
|
1785
|
+
/**
|
|
1786
|
+
* The origin of this call is invalid.
|
|
1787
|
+
**/
|
|
1788
|
+
InvalidOrigin: GenericPalletError;
|
|
1789
|
+
/**
|
|
1790
|
+
* This crowdloan does not correspond to a parachain.
|
|
1791
|
+
**/
|
|
1792
|
+
NotParachain: GenericPalletError;
|
|
1793
|
+
/**
|
|
1794
|
+
* This parachain lease is still active and retirement cannot yet begin.
|
|
1795
|
+
**/
|
|
1796
|
+
LeaseActive: GenericPalletError;
|
|
1797
|
+
/**
|
|
1798
|
+
* This parachain's bid or lease is still active and withdraw cannot yet begin.
|
|
1799
|
+
**/
|
|
1800
|
+
BidOrLeaseActive: GenericPalletError;
|
|
1801
|
+
/**
|
|
1802
|
+
* The crowdloan has not yet ended.
|
|
1803
|
+
**/
|
|
1804
|
+
FundNotEnded: GenericPalletError;
|
|
1805
|
+
/**
|
|
1806
|
+
* There are no contributions stored in this crowdloan.
|
|
1807
|
+
**/
|
|
1808
|
+
NoContributions: GenericPalletError;
|
|
1809
|
+
/**
|
|
1810
|
+
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
1811
|
+
* period.
|
|
1812
|
+
**/
|
|
1813
|
+
NotReadyToDissolve: GenericPalletError;
|
|
1814
|
+
/**
|
|
1815
|
+
* Invalid signature.
|
|
1816
|
+
**/
|
|
1817
|
+
InvalidSignature: GenericPalletError;
|
|
1818
|
+
/**
|
|
1819
|
+
* The provided memo is too large.
|
|
1820
|
+
**/
|
|
1821
|
+
MemoTooLarge: GenericPalletError;
|
|
1822
|
+
/**
|
|
1823
|
+
* The fund is already in `NewRaise`
|
|
1824
|
+
**/
|
|
1825
|
+
AlreadyInNewRaise: GenericPalletError;
|
|
1826
|
+
/**
|
|
1827
|
+
* No contributions allowed during the VRF delay
|
|
1828
|
+
**/
|
|
1829
|
+
VrfDelayInProgress: GenericPalletError;
|
|
1830
|
+
/**
|
|
1831
|
+
* A lease period has not started yet, due to an offset in the starting block.
|
|
1832
|
+
**/
|
|
1833
|
+
NoLeasePeriod: GenericPalletError;
|
|
1834
|
+
/**
|
|
1835
|
+
* Generic pallet error
|
|
1836
|
+
**/
|
|
1837
|
+
[error: string]: GenericPalletError;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* Pallet `XcmPallet`'s errors
|
|
1841
|
+
**/
|
|
1842
|
+
xcmPallet: {
|
|
1843
|
+
/**
|
|
1844
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
1845
|
+
* to it.
|
|
1846
|
+
**/
|
|
1847
|
+
Unreachable: GenericPalletError;
|
|
1848
|
+
/**
|
|
1849
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
1850
|
+
* Perhaps a lack of space for buffering the message.
|
|
1851
|
+
**/
|
|
1852
|
+
SendFailure: GenericPalletError;
|
|
1853
|
+
/**
|
|
1854
|
+
* The message execution fails the filter.
|
|
1855
|
+
**/
|
|
1856
|
+
Filtered: GenericPalletError;
|
|
1857
|
+
/**
|
|
1858
|
+
* The message's weight could not be determined.
|
|
1859
|
+
**/
|
|
1860
|
+
UnweighableMessage: GenericPalletError;
|
|
1861
|
+
/**
|
|
1862
|
+
* The destination `MultiLocation` provided cannot be inverted.
|
|
1863
|
+
**/
|
|
1864
|
+
DestinationNotInvertible: GenericPalletError;
|
|
1865
|
+
/**
|
|
1866
|
+
* The assets to be sent are empty.
|
|
1867
|
+
**/
|
|
1868
|
+
Empty: GenericPalletError;
|
|
1869
|
+
/**
|
|
1870
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
1871
|
+
**/
|
|
1872
|
+
CannotReanchor: GenericPalletError;
|
|
1873
|
+
/**
|
|
1874
|
+
* Too many assets have been attempted for transfer.
|
|
1875
|
+
**/
|
|
1876
|
+
TooManyAssets: GenericPalletError;
|
|
1877
|
+
/**
|
|
1878
|
+
* Origin is invalid for sending.
|
|
1879
|
+
**/
|
|
1880
|
+
InvalidOrigin: GenericPalletError;
|
|
1881
|
+
/**
|
|
1882
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
1883
|
+
**/
|
|
1884
|
+
BadVersion: GenericPalletError;
|
|
1885
|
+
/**
|
|
1886
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
1887
|
+
* desired version of XCM).
|
|
1888
|
+
**/
|
|
1889
|
+
BadLocation: GenericPalletError;
|
|
1890
|
+
/**
|
|
1891
|
+
* The referenced subscription could not be found.
|
|
1892
|
+
**/
|
|
1893
|
+
NoSubscription: GenericPalletError;
|
|
1894
|
+
/**
|
|
1895
|
+
* The location is invalid since it already has a subscription from us.
|
|
1896
|
+
**/
|
|
1897
|
+
AlreadySubscribed: GenericPalletError;
|
|
1898
|
+
/**
|
|
1899
|
+
* Invalid asset for the operation.
|
|
1900
|
+
**/
|
|
1901
|
+
InvalidAsset: GenericPalletError;
|
|
1902
|
+
/**
|
|
1903
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
1904
|
+
**/
|
|
1905
|
+
LowBalance: GenericPalletError;
|
|
1906
|
+
/**
|
|
1907
|
+
* The asset owner has too many locks on the asset.
|
|
1908
|
+
**/
|
|
1909
|
+
TooManyLocks: GenericPalletError;
|
|
1910
|
+
/**
|
|
1911
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
1912
|
+
**/
|
|
1913
|
+
AccountNotSovereign: GenericPalletError;
|
|
1914
|
+
/**
|
|
1915
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
1916
|
+
**/
|
|
1917
|
+
FeesNotMet: GenericPalletError;
|
|
1918
|
+
/**
|
|
1919
|
+
* A remote lock with the corresponding data could not be found.
|
|
1920
|
+
**/
|
|
1921
|
+
LockNotFound: GenericPalletError;
|
|
1922
|
+
/**
|
|
1923
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
1924
|
+
**/
|
|
1925
|
+
InUse: GenericPalletError;
|
|
1926
|
+
/**
|
|
1927
|
+
* Generic pallet error
|
|
1928
|
+
**/
|
|
1929
|
+
[error: string]: GenericPalletError;
|
|
1930
|
+
};
|
|
1931
|
+
/**
|
|
1932
|
+
* Pallet `MessageQueue`'s errors
|
|
1933
|
+
**/
|
|
1934
|
+
messageQueue: {
|
|
1935
|
+
/**
|
|
1936
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1937
|
+
* enough.
|
|
1938
|
+
**/
|
|
1939
|
+
NotReapable: GenericPalletError;
|
|
1940
|
+
/**
|
|
1941
|
+
* Page to be reaped does not exist.
|
|
1942
|
+
**/
|
|
1943
|
+
NoPage: GenericPalletError;
|
|
1944
|
+
/**
|
|
1945
|
+
* The referenced message could not be found.
|
|
1946
|
+
**/
|
|
1947
|
+
NoMessage: GenericPalletError;
|
|
1948
|
+
/**
|
|
1949
|
+
* The message was already processed and cannot be processed again.
|
|
1950
|
+
**/
|
|
1951
|
+
AlreadyProcessed: GenericPalletError;
|
|
1952
|
+
/**
|
|
1953
|
+
* The message is queued for future execution.
|
|
1954
|
+
**/
|
|
1955
|
+
Queued: GenericPalletError;
|
|
1956
|
+
/**
|
|
1957
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
1958
|
+
**/
|
|
1959
|
+
InsufficientWeight: GenericPalletError;
|
|
1960
|
+
/**
|
|
1961
|
+
* This message is temporarily unprocessable.
|
|
1962
|
+
*
|
|
1963
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
1964
|
+
* retrying.
|
|
1965
|
+
**/
|
|
1966
|
+
TemporarilyUnprocessable: GenericPalletError;
|
|
1967
|
+
/**
|
|
1968
|
+
* The queue is paused and no message can be executed from it.
|
|
1969
|
+
*
|
|
1970
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
1971
|
+
**/
|
|
1972
|
+
QueuePaused: GenericPalletError;
|
|
1973
|
+
/**
|
|
1974
|
+
* Generic pallet error
|
|
1975
|
+
**/
|
|
1976
|
+
[error: string]: GenericPalletError;
|
|
1977
|
+
};
|
|
1978
|
+
/**
|
|
1979
|
+
* Pallet `AssetRate`'s errors
|
|
1980
|
+
**/
|
|
1981
|
+
assetRate: {
|
|
1982
|
+
/**
|
|
1983
|
+
* The given asset ID is unknown.
|
|
1984
|
+
**/
|
|
1985
|
+
UnknownAssetKind: GenericPalletError;
|
|
1986
|
+
/**
|
|
1987
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
1988
|
+
**/
|
|
1989
|
+
AlreadyExists: GenericPalletError;
|
|
1990
|
+
/**
|
|
1991
|
+
* Generic pallet error
|
|
1992
|
+
**/
|
|
1993
|
+
[error: string]: GenericPalletError;
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
* Pallet `Beefy`'s errors
|
|
1997
|
+
**/
|
|
1998
|
+
beefy: {
|
|
1999
|
+
/**
|
|
2000
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
2001
|
+
**/
|
|
2002
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2003
|
+
/**
|
|
2004
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
2005
|
+
**/
|
|
2006
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
2007
|
+
/**
|
|
2008
|
+
* A given equivocation report is valid but already previously reported.
|
|
2009
|
+
**/
|
|
2010
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
2011
|
+
/**
|
|
2012
|
+
* Submitted configuration is invalid.
|
|
2013
|
+
**/
|
|
2014
|
+
InvalidConfiguration: GenericPalletError;
|
|
2015
|
+
/**
|
|
2016
|
+
* Generic pallet error
|
|
2017
|
+
**/
|
|
2018
|
+
[error: string]: GenericPalletError;
|
|
2019
|
+
};
|
|
2020
|
+
}
|