@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,1797 @@
|
|
|
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 `ParachainSystem`'s errors
|
|
42
|
+
**/
|
|
43
|
+
parachainSystem: {
|
|
44
|
+
/**
|
|
45
|
+
* Attempt to upgrade validation function while existing upgrade pending.
|
|
46
|
+
**/
|
|
47
|
+
OverlappingUpgrades: GenericPalletError;
|
|
48
|
+
/**
|
|
49
|
+
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
50
|
+
**/
|
|
51
|
+
ProhibitedByPolkadot: GenericPalletError;
|
|
52
|
+
/**
|
|
53
|
+
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
54
|
+
* willing to run.
|
|
55
|
+
**/
|
|
56
|
+
TooBig: GenericPalletError;
|
|
57
|
+
/**
|
|
58
|
+
* The inherent which supplies the validation data did not run this block.
|
|
59
|
+
**/
|
|
60
|
+
ValidationDataNotAvailable: GenericPalletError;
|
|
61
|
+
/**
|
|
62
|
+
* The inherent which supplies the host configuration did not run this block.
|
|
63
|
+
**/
|
|
64
|
+
HostConfigurationNotAvailable: GenericPalletError;
|
|
65
|
+
/**
|
|
66
|
+
* No validation function upgrade is currently scheduled.
|
|
67
|
+
**/
|
|
68
|
+
NotScheduled: GenericPalletError;
|
|
69
|
+
/**
|
|
70
|
+
* No code upgrade has been authorized.
|
|
71
|
+
**/
|
|
72
|
+
NothingAuthorized: GenericPalletError;
|
|
73
|
+
/**
|
|
74
|
+
* The given code upgrade has not been authorized.
|
|
75
|
+
**/
|
|
76
|
+
Unauthorized: GenericPalletError;
|
|
77
|
+
/**
|
|
78
|
+
* Generic pallet error
|
|
79
|
+
**/
|
|
80
|
+
[error: string]: GenericPalletError;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Pallet `Balances`'s errors
|
|
84
|
+
**/
|
|
85
|
+
balances: {
|
|
86
|
+
/**
|
|
87
|
+
* Vesting balance too high to send value.
|
|
88
|
+
**/
|
|
89
|
+
VestingBalance: GenericPalletError;
|
|
90
|
+
/**
|
|
91
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
92
|
+
**/
|
|
93
|
+
LiquidityRestrictions: GenericPalletError;
|
|
94
|
+
/**
|
|
95
|
+
* Balance too low to send value.
|
|
96
|
+
**/
|
|
97
|
+
InsufficientBalance: GenericPalletError;
|
|
98
|
+
/**
|
|
99
|
+
* Value too low to create account due to existential deposit.
|
|
100
|
+
**/
|
|
101
|
+
ExistentialDeposit: GenericPalletError;
|
|
102
|
+
/**
|
|
103
|
+
* Transfer/payment would kill account.
|
|
104
|
+
**/
|
|
105
|
+
Expendability: GenericPalletError;
|
|
106
|
+
/**
|
|
107
|
+
* A vesting schedule already exists for this account.
|
|
108
|
+
**/
|
|
109
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
110
|
+
/**
|
|
111
|
+
* Beneficiary account must pre-exist.
|
|
112
|
+
**/
|
|
113
|
+
DeadAccount: GenericPalletError;
|
|
114
|
+
/**
|
|
115
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
116
|
+
**/
|
|
117
|
+
TooManyReserves: GenericPalletError;
|
|
118
|
+
/**
|
|
119
|
+
* Number of holds exceed `MaxHolds`.
|
|
120
|
+
**/
|
|
121
|
+
TooManyHolds: GenericPalletError;
|
|
122
|
+
/**
|
|
123
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
124
|
+
**/
|
|
125
|
+
TooManyFreezes: GenericPalletError;
|
|
126
|
+
/**
|
|
127
|
+
* Generic pallet error
|
|
128
|
+
**/
|
|
129
|
+
[error: string]: GenericPalletError;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Pallet `ParachainStaking`'s errors
|
|
133
|
+
**/
|
|
134
|
+
parachainStaking: {
|
|
135
|
+
DelegatorDNE: GenericPalletError;
|
|
136
|
+
DelegatorDNEinTopNorBottom: GenericPalletError;
|
|
137
|
+
DelegatorDNEInDelegatorSet: GenericPalletError;
|
|
138
|
+
CandidateDNE: GenericPalletError;
|
|
139
|
+
DelegationDNE: GenericPalletError;
|
|
140
|
+
DelegatorExists: GenericPalletError;
|
|
141
|
+
CandidateExists: GenericPalletError;
|
|
142
|
+
CandidateBondBelowMin: GenericPalletError;
|
|
143
|
+
InsufficientBalance: GenericPalletError;
|
|
144
|
+
DelegatorBondBelowMin: GenericPalletError;
|
|
145
|
+
DelegationBelowMin: GenericPalletError;
|
|
146
|
+
AlreadyOffline: GenericPalletError;
|
|
147
|
+
AlreadyActive: GenericPalletError;
|
|
148
|
+
DelegatorAlreadyLeaving: GenericPalletError;
|
|
149
|
+
DelegatorNotLeaving: GenericPalletError;
|
|
150
|
+
DelegatorCannotLeaveYet: GenericPalletError;
|
|
151
|
+
CannotDelegateIfLeaving: GenericPalletError;
|
|
152
|
+
CandidateAlreadyLeaving: GenericPalletError;
|
|
153
|
+
CandidateNotLeaving: GenericPalletError;
|
|
154
|
+
CandidateCannotLeaveYet: GenericPalletError;
|
|
155
|
+
CannotGoOnlineIfLeaving: GenericPalletError;
|
|
156
|
+
ExceedMaxDelegationsPerDelegator: GenericPalletError;
|
|
157
|
+
AlreadyDelegatedCandidate: GenericPalletError;
|
|
158
|
+
InvalidSchedule: GenericPalletError;
|
|
159
|
+
CannotSetBelowMin: GenericPalletError;
|
|
160
|
+
RoundLengthMustBeGreaterThanTotalSelectedCollators: GenericPalletError;
|
|
161
|
+
NoWritingSameValue: GenericPalletError;
|
|
162
|
+
TooLowCandidateCountWeightHintJoinCandidates: GenericPalletError;
|
|
163
|
+
TooLowCandidateCountWeightHintCancelLeaveCandidates: GenericPalletError;
|
|
164
|
+
TooLowCandidateCountToLeaveCandidates: GenericPalletError;
|
|
165
|
+
TooLowDelegationCountToDelegate: GenericPalletError;
|
|
166
|
+
TooLowCandidateDelegationCountToDelegate: GenericPalletError;
|
|
167
|
+
TooLowCandidateDelegationCountToLeaveCandidates: GenericPalletError;
|
|
168
|
+
TooLowDelegationCountToLeaveDelegators: GenericPalletError;
|
|
169
|
+
PendingCandidateRequestsDNE: GenericPalletError;
|
|
170
|
+
PendingCandidateRequestAlreadyExists: GenericPalletError;
|
|
171
|
+
PendingCandidateRequestNotDueYet: GenericPalletError;
|
|
172
|
+
PendingDelegationRequestDNE: GenericPalletError;
|
|
173
|
+
PendingDelegationRequestAlreadyExists: GenericPalletError;
|
|
174
|
+
PendingDelegationRequestNotDueYet: GenericPalletError;
|
|
175
|
+
CannotDelegateLessThanOrEqualToLowestBottomWhenFull: GenericPalletError;
|
|
176
|
+
PendingDelegationRevoke: GenericPalletError;
|
|
177
|
+
TooLowDelegationCountToAutoCompound: GenericPalletError;
|
|
178
|
+
TooLowCandidateAutoCompoundingDelegationCountToAutoCompound: GenericPalletError;
|
|
179
|
+
TooLowCandidateAutoCompoundingDelegationCountToDelegate: GenericPalletError;
|
|
180
|
+
TooLowCollatorCountToNotifyAsInactive: GenericPalletError;
|
|
181
|
+
CannotBeNotifiedAsInactive: GenericPalletError;
|
|
182
|
+
TooLowCandidateAutoCompoundingDelegationCountToLeaveCandidates: GenericPalletError;
|
|
183
|
+
TooLowCandidateCountWeightHint: GenericPalletError;
|
|
184
|
+
TooLowCandidateCountWeightHintGoOffline: GenericPalletError;
|
|
185
|
+
CandidateLimitReached: GenericPalletError;
|
|
186
|
+
CannotSetAboveMaxCandidates: GenericPalletError;
|
|
187
|
+
RemovedCall: GenericPalletError;
|
|
188
|
+
MarkingOfflineNotEnabled: GenericPalletError;
|
|
189
|
+
CurrentRoundTooLow: GenericPalletError;
|
|
190
|
+
/**
|
|
191
|
+
* Generic pallet error
|
|
192
|
+
**/
|
|
193
|
+
[error: string]: GenericPalletError;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Pallet `AuthorInherent`'s errors
|
|
197
|
+
**/
|
|
198
|
+
authorInherent: {
|
|
199
|
+
/**
|
|
200
|
+
* Author already set in block.
|
|
201
|
+
**/
|
|
202
|
+
AuthorAlreadySet: GenericPalletError;
|
|
203
|
+
/**
|
|
204
|
+
* No AccountId was found to be associated with this author
|
|
205
|
+
**/
|
|
206
|
+
NoAccountId: GenericPalletError;
|
|
207
|
+
/**
|
|
208
|
+
* The author in the inherent is not an eligible author.
|
|
209
|
+
**/
|
|
210
|
+
CannotBeAuthor: GenericPalletError;
|
|
211
|
+
/**
|
|
212
|
+
* Generic pallet error
|
|
213
|
+
**/
|
|
214
|
+
[error: string]: GenericPalletError;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Pallet `AuthorMapping`'s errors
|
|
218
|
+
**/
|
|
219
|
+
authorMapping: {
|
|
220
|
+
/**
|
|
221
|
+
* The association can't be cleared because it is not found.
|
|
222
|
+
**/
|
|
223
|
+
AssociationNotFound: GenericPalletError;
|
|
224
|
+
/**
|
|
225
|
+
* The association can't be cleared because it belongs to another account.
|
|
226
|
+
**/
|
|
227
|
+
NotYourAssociation: GenericPalletError;
|
|
228
|
+
/**
|
|
229
|
+
* This account cannot set an author because it cannon afford the security deposit
|
|
230
|
+
**/
|
|
231
|
+
CannotAffordSecurityDeposit: GenericPalletError;
|
|
232
|
+
/**
|
|
233
|
+
* The NimbusId in question is already associated and cannot be overwritten
|
|
234
|
+
**/
|
|
235
|
+
AlreadyAssociated: GenericPalletError;
|
|
236
|
+
/**
|
|
237
|
+
* No existing NimbusId can be found for the account
|
|
238
|
+
**/
|
|
239
|
+
OldAuthorIdNotFound: GenericPalletError;
|
|
240
|
+
/**
|
|
241
|
+
* Keys have wrong size
|
|
242
|
+
**/
|
|
243
|
+
WrongKeySize: GenericPalletError;
|
|
244
|
+
/**
|
|
245
|
+
* Failed to decode NimbusId for `set_keys`
|
|
246
|
+
**/
|
|
247
|
+
DecodeNimbusFailed: GenericPalletError;
|
|
248
|
+
/**
|
|
249
|
+
* Failed to decode T::Keys for `set_keys`
|
|
250
|
+
**/
|
|
251
|
+
DecodeKeysFailed: GenericPalletError;
|
|
252
|
+
/**
|
|
253
|
+
* Generic pallet error
|
|
254
|
+
**/
|
|
255
|
+
[error: string]: GenericPalletError;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Pallet `MoonbeamOrbiters`'s errors
|
|
259
|
+
**/
|
|
260
|
+
moonbeamOrbiters: {
|
|
261
|
+
/**
|
|
262
|
+
* The collator is already added in orbiters program.
|
|
263
|
+
**/
|
|
264
|
+
CollatorAlreadyAdded: GenericPalletError;
|
|
265
|
+
/**
|
|
266
|
+
* This collator is not in orbiters program.
|
|
267
|
+
**/
|
|
268
|
+
CollatorNotFound: GenericPalletError;
|
|
269
|
+
/**
|
|
270
|
+
* There are already too many orbiters associated with this collator.
|
|
271
|
+
**/
|
|
272
|
+
CollatorPoolTooLarge: GenericPalletError;
|
|
273
|
+
/**
|
|
274
|
+
* There are more collator pools than the number specified in the parameter.
|
|
275
|
+
**/
|
|
276
|
+
CollatorsPoolCountTooLow: GenericPalletError;
|
|
277
|
+
/**
|
|
278
|
+
* The minimum deposit required to register as an orbiter has not yet been included in the
|
|
279
|
+
* onchain storage
|
|
280
|
+
**/
|
|
281
|
+
MinOrbiterDepositNotSet: GenericPalletError;
|
|
282
|
+
/**
|
|
283
|
+
* This orbiter is already associated with this collator.
|
|
284
|
+
**/
|
|
285
|
+
OrbiterAlreadyInPool: GenericPalletError;
|
|
286
|
+
/**
|
|
287
|
+
* This orbiter has not made a deposit
|
|
288
|
+
**/
|
|
289
|
+
OrbiterDepositNotFound: GenericPalletError;
|
|
290
|
+
/**
|
|
291
|
+
* This orbiter is not found
|
|
292
|
+
**/
|
|
293
|
+
OrbiterNotFound: GenericPalletError;
|
|
294
|
+
/**
|
|
295
|
+
* The orbiter is still at least in one pool
|
|
296
|
+
**/
|
|
297
|
+
OrbiterStillInAPool: GenericPalletError;
|
|
298
|
+
/**
|
|
299
|
+
* Generic pallet error
|
|
300
|
+
**/
|
|
301
|
+
[error: string]: GenericPalletError;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Pallet `Utility`'s errors
|
|
305
|
+
**/
|
|
306
|
+
utility: {
|
|
307
|
+
/**
|
|
308
|
+
* Too many calls batched.
|
|
309
|
+
**/
|
|
310
|
+
TooManyCalls: GenericPalletError;
|
|
311
|
+
/**
|
|
312
|
+
* Generic pallet error
|
|
313
|
+
**/
|
|
314
|
+
[error: string]: GenericPalletError;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Pallet `Proxy`'s errors
|
|
318
|
+
**/
|
|
319
|
+
proxy: {
|
|
320
|
+
/**
|
|
321
|
+
* There are too many proxies registered or too many announcements pending.
|
|
322
|
+
**/
|
|
323
|
+
TooMany: GenericPalletError;
|
|
324
|
+
/**
|
|
325
|
+
* Proxy registration not found.
|
|
326
|
+
**/
|
|
327
|
+
NotFound: GenericPalletError;
|
|
328
|
+
/**
|
|
329
|
+
* Sender is not a proxy of the account to be proxied.
|
|
330
|
+
**/
|
|
331
|
+
NotProxy: GenericPalletError;
|
|
332
|
+
/**
|
|
333
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
334
|
+
**/
|
|
335
|
+
Unproxyable: GenericPalletError;
|
|
336
|
+
/**
|
|
337
|
+
* Account is already a proxy.
|
|
338
|
+
**/
|
|
339
|
+
Duplicate: GenericPalletError;
|
|
340
|
+
/**
|
|
341
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
342
|
+
**/
|
|
343
|
+
NoPermission: GenericPalletError;
|
|
344
|
+
/**
|
|
345
|
+
* Announcement, if made at all, was made too recently.
|
|
346
|
+
**/
|
|
347
|
+
Unannounced: GenericPalletError;
|
|
348
|
+
/**
|
|
349
|
+
* Cannot add self as proxy.
|
|
350
|
+
**/
|
|
351
|
+
NoSelfProxy: GenericPalletError;
|
|
352
|
+
/**
|
|
353
|
+
* Generic pallet error
|
|
354
|
+
**/
|
|
355
|
+
[error: string]: GenericPalletError;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* Pallet `MaintenanceMode`'s errors
|
|
359
|
+
**/
|
|
360
|
+
maintenanceMode: {
|
|
361
|
+
/**
|
|
362
|
+
* The chain cannot enter maintenance mode because it is already in maintenance mode
|
|
363
|
+
**/
|
|
364
|
+
AlreadyInMaintenanceMode: GenericPalletError;
|
|
365
|
+
/**
|
|
366
|
+
* The chain cannot resume normal operation because it is not in maintenance mode
|
|
367
|
+
**/
|
|
368
|
+
NotInMaintenanceMode: GenericPalletError;
|
|
369
|
+
/**
|
|
370
|
+
* Generic pallet error
|
|
371
|
+
**/
|
|
372
|
+
[error: string]: GenericPalletError;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Pallet `Identity`'s errors
|
|
376
|
+
**/
|
|
377
|
+
identity: {
|
|
378
|
+
/**
|
|
379
|
+
* Too many subs-accounts.
|
|
380
|
+
**/
|
|
381
|
+
TooManySubAccounts: GenericPalletError;
|
|
382
|
+
/**
|
|
383
|
+
* Account isn't found.
|
|
384
|
+
**/
|
|
385
|
+
NotFound: GenericPalletError;
|
|
386
|
+
/**
|
|
387
|
+
* Account isn't named.
|
|
388
|
+
**/
|
|
389
|
+
NotNamed: GenericPalletError;
|
|
390
|
+
/**
|
|
391
|
+
* Empty index.
|
|
392
|
+
**/
|
|
393
|
+
EmptyIndex: GenericPalletError;
|
|
394
|
+
/**
|
|
395
|
+
* Fee is changed.
|
|
396
|
+
**/
|
|
397
|
+
FeeChanged: GenericPalletError;
|
|
398
|
+
/**
|
|
399
|
+
* No identity found.
|
|
400
|
+
**/
|
|
401
|
+
NoIdentity: GenericPalletError;
|
|
402
|
+
/**
|
|
403
|
+
* Sticky judgement.
|
|
404
|
+
**/
|
|
405
|
+
StickyJudgement: GenericPalletError;
|
|
406
|
+
/**
|
|
407
|
+
* Judgement given.
|
|
408
|
+
**/
|
|
409
|
+
JudgementGiven: GenericPalletError;
|
|
410
|
+
/**
|
|
411
|
+
* Invalid judgement.
|
|
412
|
+
**/
|
|
413
|
+
InvalidJudgement: GenericPalletError;
|
|
414
|
+
/**
|
|
415
|
+
* The index is invalid.
|
|
416
|
+
**/
|
|
417
|
+
InvalidIndex: GenericPalletError;
|
|
418
|
+
/**
|
|
419
|
+
* The target is invalid.
|
|
420
|
+
**/
|
|
421
|
+
InvalidTarget: GenericPalletError;
|
|
422
|
+
/**
|
|
423
|
+
* Too many additional fields.
|
|
424
|
+
**/
|
|
425
|
+
TooManyFields: GenericPalletError;
|
|
426
|
+
/**
|
|
427
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
428
|
+
**/
|
|
429
|
+
TooManyRegistrars: GenericPalletError;
|
|
430
|
+
/**
|
|
431
|
+
* Account ID is already named.
|
|
432
|
+
**/
|
|
433
|
+
AlreadyClaimed: GenericPalletError;
|
|
434
|
+
/**
|
|
435
|
+
* Sender is not a sub-account.
|
|
436
|
+
**/
|
|
437
|
+
NotSub: GenericPalletError;
|
|
438
|
+
/**
|
|
439
|
+
* Sub-account isn't owned by sender.
|
|
440
|
+
**/
|
|
441
|
+
NotOwned: GenericPalletError;
|
|
442
|
+
/**
|
|
443
|
+
* The provided judgement was for a different identity.
|
|
444
|
+
**/
|
|
445
|
+
JudgementForDifferentIdentity: GenericPalletError;
|
|
446
|
+
/**
|
|
447
|
+
* Error that occurs when there is an issue paying for judgement.
|
|
448
|
+
**/
|
|
449
|
+
JudgementPaymentFailed: GenericPalletError;
|
|
450
|
+
/**
|
|
451
|
+
* Generic pallet error
|
|
452
|
+
**/
|
|
453
|
+
[error: string]: GenericPalletError;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Pallet `Migrations`'s errors
|
|
457
|
+
**/
|
|
458
|
+
migrations: {
|
|
459
|
+
/**
|
|
460
|
+
* Missing preimage in original democracy storage
|
|
461
|
+
**/
|
|
462
|
+
PreimageMissing: GenericPalletError;
|
|
463
|
+
/**
|
|
464
|
+
* Provided upper bound is too low.
|
|
465
|
+
**/
|
|
466
|
+
WrongUpperBound: GenericPalletError;
|
|
467
|
+
/**
|
|
468
|
+
* Preimage is larger than the new max size.
|
|
469
|
+
**/
|
|
470
|
+
PreimageIsTooBig: GenericPalletError;
|
|
471
|
+
/**
|
|
472
|
+
* Preimage already exists in the new storage.
|
|
473
|
+
**/
|
|
474
|
+
PreimageAlreadyExists: GenericPalletError;
|
|
475
|
+
/**
|
|
476
|
+
* Generic pallet error
|
|
477
|
+
**/
|
|
478
|
+
[error: string]: GenericPalletError;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Pallet `Multisig`'s errors
|
|
482
|
+
**/
|
|
483
|
+
multisig: {
|
|
484
|
+
/**
|
|
485
|
+
* Threshold must be 2 or greater.
|
|
486
|
+
**/
|
|
487
|
+
MinimumThreshold: GenericPalletError;
|
|
488
|
+
/**
|
|
489
|
+
* Call is already approved by this signatory.
|
|
490
|
+
**/
|
|
491
|
+
AlreadyApproved: GenericPalletError;
|
|
492
|
+
/**
|
|
493
|
+
* Call doesn't need any (more) approvals.
|
|
494
|
+
**/
|
|
495
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
496
|
+
/**
|
|
497
|
+
* There are too few signatories in the list.
|
|
498
|
+
**/
|
|
499
|
+
TooFewSignatories: GenericPalletError;
|
|
500
|
+
/**
|
|
501
|
+
* There are too many signatories in the list.
|
|
502
|
+
**/
|
|
503
|
+
TooManySignatories: GenericPalletError;
|
|
504
|
+
/**
|
|
505
|
+
* The signatories were provided out of order; they should be ordered.
|
|
506
|
+
**/
|
|
507
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
508
|
+
/**
|
|
509
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
510
|
+
**/
|
|
511
|
+
SenderInSignatories: GenericPalletError;
|
|
512
|
+
/**
|
|
513
|
+
* Multisig operation not found when attempting to cancel.
|
|
514
|
+
**/
|
|
515
|
+
NotFound: GenericPalletError;
|
|
516
|
+
/**
|
|
517
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
518
|
+
**/
|
|
519
|
+
NotOwner: GenericPalletError;
|
|
520
|
+
/**
|
|
521
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
522
|
+
**/
|
|
523
|
+
NoTimepoint: GenericPalletError;
|
|
524
|
+
/**
|
|
525
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
526
|
+
**/
|
|
527
|
+
WrongTimepoint: GenericPalletError;
|
|
528
|
+
/**
|
|
529
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
530
|
+
**/
|
|
531
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
532
|
+
/**
|
|
533
|
+
* The maximum weight information provided was too low.
|
|
534
|
+
**/
|
|
535
|
+
MaxWeightTooLow: GenericPalletError;
|
|
536
|
+
/**
|
|
537
|
+
* The data to be stored is already stored.
|
|
538
|
+
**/
|
|
539
|
+
AlreadyStored: GenericPalletError;
|
|
540
|
+
/**
|
|
541
|
+
* Generic pallet error
|
|
542
|
+
**/
|
|
543
|
+
[error: string]: GenericPalletError;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Pallet `EVM`'s errors
|
|
547
|
+
**/
|
|
548
|
+
evm: {
|
|
549
|
+
/**
|
|
550
|
+
* Not enough balance to perform action
|
|
551
|
+
**/
|
|
552
|
+
BalanceLow: GenericPalletError;
|
|
553
|
+
/**
|
|
554
|
+
* Calculating total fee overflowed
|
|
555
|
+
**/
|
|
556
|
+
FeeOverflow: GenericPalletError;
|
|
557
|
+
/**
|
|
558
|
+
* Calculating total payment overflowed
|
|
559
|
+
**/
|
|
560
|
+
PaymentOverflow: GenericPalletError;
|
|
561
|
+
/**
|
|
562
|
+
* Withdraw fee failed
|
|
563
|
+
**/
|
|
564
|
+
WithdrawFailed: GenericPalletError;
|
|
565
|
+
/**
|
|
566
|
+
* Gas price is too low.
|
|
567
|
+
**/
|
|
568
|
+
GasPriceTooLow: GenericPalletError;
|
|
569
|
+
/**
|
|
570
|
+
* Nonce is invalid
|
|
571
|
+
**/
|
|
572
|
+
InvalidNonce: GenericPalletError;
|
|
573
|
+
/**
|
|
574
|
+
* Gas limit is too low.
|
|
575
|
+
**/
|
|
576
|
+
GasLimitTooLow: GenericPalletError;
|
|
577
|
+
/**
|
|
578
|
+
* Gas limit is too high.
|
|
579
|
+
**/
|
|
580
|
+
GasLimitTooHigh: GenericPalletError;
|
|
581
|
+
/**
|
|
582
|
+
* The chain id is invalid.
|
|
583
|
+
**/
|
|
584
|
+
InvalidChainId: GenericPalletError;
|
|
585
|
+
/**
|
|
586
|
+
* the signature is invalid.
|
|
587
|
+
**/
|
|
588
|
+
InvalidSignature: GenericPalletError;
|
|
589
|
+
/**
|
|
590
|
+
* EVM reentrancy
|
|
591
|
+
**/
|
|
592
|
+
Reentrancy: GenericPalletError;
|
|
593
|
+
/**
|
|
594
|
+
* EIP-3607,
|
|
595
|
+
**/
|
|
596
|
+
TransactionMustComeFromEOA: GenericPalletError;
|
|
597
|
+
/**
|
|
598
|
+
* Undefined error.
|
|
599
|
+
**/
|
|
600
|
+
Undefined: GenericPalletError;
|
|
601
|
+
/**
|
|
602
|
+
* Generic pallet error
|
|
603
|
+
**/
|
|
604
|
+
[error: string]: GenericPalletError;
|
|
605
|
+
};
|
|
606
|
+
/**
|
|
607
|
+
* Pallet `Ethereum`'s errors
|
|
608
|
+
**/
|
|
609
|
+
ethereum: {
|
|
610
|
+
/**
|
|
611
|
+
* Signature is invalid.
|
|
612
|
+
**/
|
|
613
|
+
InvalidSignature: GenericPalletError;
|
|
614
|
+
/**
|
|
615
|
+
* Pre-log is present, therefore transact is not allowed.
|
|
616
|
+
**/
|
|
617
|
+
PreLogExists: GenericPalletError;
|
|
618
|
+
/**
|
|
619
|
+
* Generic pallet error
|
|
620
|
+
**/
|
|
621
|
+
[error: string]: GenericPalletError;
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* Pallet `Scheduler`'s errors
|
|
625
|
+
**/
|
|
626
|
+
scheduler: {
|
|
627
|
+
/**
|
|
628
|
+
* Failed to schedule a call
|
|
629
|
+
**/
|
|
630
|
+
FailedToSchedule: GenericPalletError;
|
|
631
|
+
/**
|
|
632
|
+
* Cannot find the scheduled call.
|
|
633
|
+
**/
|
|
634
|
+
NotFound: GenericPalletError;
|
|
635
|
+
/**
|
|
636
|
+
* Given target block number is in the past.
|
|
637
|
+
**/
|
|
638
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
639
|
+
/**
|
|
640
|
+
* Reschedule failed because it does not change scheduled time.
|
|
641
|
+
**/
|
|
642
|
+
RescheduleNoChange: GenericPalletError;
|
|
643
|
+
/**
|
|
644
|
+
* Attempt to use a non-named function on a named task.
|
|
645
|
+
**/
|
|
646
|
+
Named: GenericPalletError;
|
|
647
|
+
/**
|
|
648
|
+
* Generic pallet error
|
|
649
|
+
**/
|
|
650
|
+
[error: string]: GenericPalletError;
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* Pallet `Democracy`'s errors
|
|
654
|
+
**/
|
|
655
|
+
democracy: {
|
|
656
|
+
/**
|
|
657
|
+
* Value too low
|
|
658
|
+
**/
|
|
659
|
+
ValueLow: GenericPalletError;
|
|
660
|
+
/**
|
|
661
|
+
* Proposal does not exist
|
|
662
|
+
**/
|
|
663
|
+
ProposalMissing: GenericPalletError;
|
|
664
|
+
/**
|
|
665
|
+
* Cannot cancel the same proposal twice
|
|
666
|
+
**/
|
|
667
|
+
AlreadyCanceled: GenericPalletError;
|
|
668
|
+
/**
|
|
669
|
+
* Proposal already made
|
|
670
|
+
**/
|
|
671
|
+
DuplicateProposal: GenericPalletError;
|
|
672
|
+
/**
|
|
673
|
+
* Proposal still blacklisted
|
|
674
|
+
**/
|
|
675
|
+
ProposalBlacklisted: GenericPalletError;
|
|
676
|
+
/**
|
|
677
|
+
* Next external proposal not simple majority
|
|
678
|
+
**/
|
|
679
|
+
NotSimpleMajority: GenericPalletError;
|
|
680
|
+
/**
|
|
681
|
+
* Invalid hash
|
|
682
|
+
**/
|
|
683
|
+
InvalidHash: GenericPalletError;
|
|
684
|
+
/**
|
|
685
|
+
* No external proposal
|
|
686
|
+
**/
|
|
687
|
+
NoProposal: GenericPalletError;
|
|
688
|
+
/**
|
|
689
|
+
* Identity may not veto a proposal twice
|
|
690
|
+
**/
|
|
691
|
+
AlreadyVetoed: GenericPalletError;
|
|
692
|
+
/**
|
|
693
|
+
* Vote given for invalid referendum
|
|
694
|
+
**/
|
|
695
|
+
ReferendumInvalid: GenericPalletError;
|
|
696
|
+
/**
|
|
697
|
+
* No proposals waiting
|
|
698
|
+
**/
|
|
699
|
+
NoneWaiting: GenericPalletError;
|
|
700
|
+
/**
|
|
701
|
+
* The given account did not vote on the referendum.
|
|
702
|
+
**/
|
|
703
|
+
NotVoter: GenericPalletError;
|
|
704
|
+
/**
|
|
705
|
+
* The actor has no permission to conduct the action.
|
|
706
|
+
**/
|
|
707
|
+
NoPermission: GenericPalletError;
|
|
708
|
+
/**
|
|
709
|
+
* The account is already delegating.
|
|
710
|
+
**/
|
|
711
|
+
AlreadyDelegating: GenericPalletError;
|
|
712
|
+
/**
|
|
713
|
+
* Too high a balance was provided that the account cannot afford.
|
|
714
|
+
**/
|
|
715
|
+
InsufficientFunds: GenericPalletError;
|
|
716
|
+
/**
|
|
717
|
+
* The account is not currently delegating.
|
|
718
|
+
**/
|
|
719
|
+
NotDelegating: GenericPalletError;
|
|
720
|
+
/**
|
|
721
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
722
|
+
* these are removed, either through `unvote` or `reap_vote`.
|
|
723
|
+
**/
|
|
724
|
+
VotesExist: GenericPalletError;
|
|
725
|
+
/**
|
|
726
|
+
* The instant referendum origin is currently disallowed.
|
|
727
|
+
**/
|
|
728
|
+
InstantNotAllowed: GenericPalletError;
|
|
729
|
+
/**
|
|
730
|
+
* Delegation to oneself makes no sense.
|
|
731
|
+
**/
|
|
732
|
+
Nonsense: GenericPalletError;
|
|
733
|
+
/**
|
|
734
|
+
* Invalid upper bound.
|
|
735
|
+
**/
|
|
736
|
+
WrongUpperBound: GenericPalletError;
|
|
737
|
+
/**
|
|
738
|
+
* Maximum number of votes reached.
|
|
739
|
+
**/
|
|
740
|
+
MaxVotesReached: GenericPalletError;
|
|
741
|
+
/**
|
|
742
|
+
* Maximum number of items reached.
|
|
743
|
+
**/
|
|
744
|
+
TooMany: GenericPalletError;
|
|
745
|
+
/**
|
|
746
|
+
* Voting period too low
|
|
747
|
+
**/
|
|
748
|
+
VotingPeriodLow: GenericPalletError;
|
|
749
|
+
/**
|
|
750
|
+
* The preimage does not exist.
|
|
751
|
+
**/
|
|
752
|
+
PreimageNotExist: GenericPalletError;
|
|
753
|
+
/**
|
|
754
|
+
* Generic pallet error
|
|
755
|
+
**/
|
|
756
|
+
[error: string]: GenericPalletError;
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* Pallet `Preimage`'s errors
|
|
760
|
+
**/
|
|
761
|
+
preimage: {
|
|
762
|
+
/**
|
|
763
|
+
* Preimage is too large to store on-chain.
|
|
764
|
+
**/
|
|
765
|
+
TooBig: GenericPalletError;
|
|
766
|
+
/**
|
|
767
|
+
* Preimage has already been noted on-chain.
|
|
768
|
+
**/
|
|
769
|
+
AlreadyNoted: GenericPalletError;
|
|
770
|
+
/**
|
|
771
|
+
* The user is not authorized to perform this action.
|
|
772
|
+
**/
|
|
773
|
+
NotAuthorized: GenericPalletError;
|
|
774
|
+
/**
|
|
775
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
776
|
+
**/
|
|
777
|
+
NotNoted: GenericPalletError;
|
|
778
|
+
/**
|
|
779
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
780
|
+
**/
|
|
781
|
+
Requested: GenericPalletError;
|
|
782
|
+
/**
|
|
783
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
784
|
+
**/
|
|
785
|
+
NotRequested: GenericPalletError;
|
|
786
|
+
/**
|
|
787
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
788
|
+
**/
|
|
789
|
+
TooMany: GenericPalletError;
|
|
790
|
+
/**
|
|
791
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
792
|
+
**/
|
|
793
|
+
TooFew: GenericPalletError;
|
|
794
|
+
/**
|
|
795
|
+
* Generic pallet error
|
|
796
|
+
**/
|
|
797
|
+
[error: string]: GenericPalletError;
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* Pallet `ConvictionVoting`'s errors
|
|
801
|
+
**/
|
|
802
|
+
convictionVoting: {
|
|
803
|
+
/**
|
|
804
|
+
* Poll is not ongoing.
|
|
805
|
+
**/
|
|
806
|
+
NotOngoing: GenericPalletError;
|
|
807
|
+
/**
|
|
808
|
+
* The given account did not vote on the poll.
|
|
809
|
+
**/
|
|
810
|
+
NotVoter: GenericPalletError;
|
|
811
|
+
/**
|
|
812
|
+
* The actor has no permission to conduct the action.
|
|
813
|
+
**/
|
|
814
|
+
NoPermission: GenericPalletError;
|
|
815
|
+
/**
|
|
816
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
817
|
+
**/
|
|
818
|
+
NoPermissionYet: GenericPalletError;
|
|
819
|
+
/**
|
|
820
|
+
* The account is already delegating.
|
|
821
|
+
**/
|
|
822
|
+
AlreadyDelegating: GenericPalletError;
|
|
823
|
+
/**
|
|
824
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
825
|
+
* these are removed, either through `unvote` or `reap_vote`.
|
|
826
|
+
**/
|
|
827
|
+
AlreadyVoting: GenericPalletError;
|
|
828
|
+
/**
|
|
829
|
+
* Too high a balance was provided that the account cannot afford.
|
|
830
|
+
**/
|
|
831
|
+
InsufficientFunds: GenericPalletError;
|
|
832
|
+
/**
|
|
833
|
+
* The account is not currently delegating.
|
|
834
|
+
**/
|
|
835
|
+
NotDelegating: GenericPalletError;
|
|
836
|
+
/**
|
|
837
|
+
* Delegation to oneself makes no sense.
|
|
838
|
+
**/
|
|
839
|
+
Nonsense: GenericPalletError;
|
|
840
|
+
/**
|
|
841
|
+
* Maximum number of votes reached.
|
|
842
|
+
**/
|
|
843
|
+
MaxVotesReached: GenericPalletError;
|
|
844
|
+
/**
|
|
845
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
846
|
+
**/
|
|
847
|
+
ClassNeeded: GenericPalletError;
|
|
848
|
+
/**
|
|
849
|
+
* The class ID supplied is invalid.
|
|
850
|
+
**/
|
|
851
|
+
BadClass: GenericPalletError;
|
|
852
|
+
/**
|
|
853
|
+
* Generic pallet error
|
|
854
|
+
**/
|
|
855
|
+
[error: string]: GenericPalletError;
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* Pallet `Referenda`'s errors
|
|
859
|
+
**/
|
|
860
|
+
referenda: {
|
|
861
|
+
/**
|
|
862
|
+
* Referendum is not ongoing.
|
|
863
|
+
**/
|
|
864
|
+
NotOngoing: GenericPalletError;
|
|
865
|
+
/**
|
|
866
|
+
* Referendum's decision deposit is already paid.
|
|
867
|
+
**/
|
|
868
|
+
HasDeposit: GenericPalletError;
|
|
869
|
+
/**
|
|
870
|
+
* The track identifier given was invalid.
|
|
871
|
+
**/
|
|
872
|
+
BadTrack: GenericPalletError;
|
|
873
|
+
/**
|
|
874
|
+
* There are already a full complement of referenda in progress for this track.
|
|
875
|
+
**/
|
|
876
|
+
Full: GenericPalletError;
|
|
877
|
+
/**
|
|
878
|
+
* The queue of the track is empty.
|
|
879
|
+
**/
|
|
880
|
+
QueueEmpty: GenericPalletError;
|
|
881
|
+
/**
|
|
882
|
+
* The referendum index provided is invalid in this context.
|
|
883
|
+
**/
|
|
884
|
+
BadReferendum: GenericPalletError;
|
|
885
|
+
/**
|
|
886
|
+
* There was nothing to do in the advancement.
|
|
887
|
+
**/
|
|
888
|
+
NothingToDo: GenericPalletError;
|
|
889
|
+
/**
|
|
890
|
+
* No track exists for the proposal origin.
|
|
891
|
+
**/
|
|
892
|
+
NoTrack: GenericPalletError;
|
|
893
|
+
/**
|
|
894
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
895
|
+
**/
|
|
896
|
+
Unfinished: GenericPalletError;
|
|
897
|
+
/**
|
|
898
|
+
* The deposit refunder is not the depositor.
|
|
899
|
+
**/
|
|
900
|
+
NoPermission: GenericPalletError;
|
|
901
|
+
/**
|
|
902
|
+
* The deposit cannot be refunded since none was made.
|
|
903
|
+
**/
|
|
904
|
+
NoDeposit: GenericPalletError;
|
|
905
|
+
/**
|
|
906
|
+
* The referendum status is invalid for this operation.
|
|
907
|
+
**/
|
|
908
|
+
BadStatus: GenericPalletError;
|
|
909
|
+
/**
|
|
910
|
+
* The preimage does not exist.
|
|
911
|
+
**/
|
|
912
|
+
PreimageNotExist: GenericPalletError;
|
|
913
|
+
/**
|
|
914
|
+
* Generic pallet error
|
|
915
|
+
**/
|
|
916
|
+
[error: string]: GenericPalletError;
|
|
917
|
+
};
|
|
918
|
+
/**
|
|
919
|
+
* Pallet `Whitelist`'s errors
|
|
920
|
+
**/
|
|
921
|
+
whitelist: {
|
|
922
|
+
/**
|
|
923
|
+
* The preimage of the call hash could not be loaded.
|
|
924
|
+
**/
|
|
925
|
+
UnavailablePreImage: GenericPalletError;
|
|
926
|
+
/**
|
|
927
|
+
* The call could not be decoded.
|
|
928
|
+
**/
|
|
929
|
+
UndecodableCall: GenericPalletError;
|
|
930
|
+
/**
|
|
931
|
+
* The weight of the decoded call was higher than the witness.
|
|
932
|
+
**/
|
|
933
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
934
|
+
/**
|
|
935
|
+
* The call was not whitelisted.
|
|
936
|
+
**/
|
|
937
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
938
|
+
/**
|
|
939
|
+
* The call was already whitelisted; No-Op.
|
|
940
|
+
**/
|
|
941
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
942
|
+
/**
|
|
943
|
+
* Generic pallet error
|
|
944
|
+
**/
|
|
945
|
+
[error: string]: GenericPalletError;
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* Pallet `CouncilCollective`'s errors
|
|
949
|
+
**/
|
|
950
|
+
councilCollective: {
|
|
951
|
+
/**
|
|
952
|
+
* Account is not a member
|
|
953
|
+
**/
|
|
954
|
+
NotMember: GenericPalletError;
|
|
955
|
+
/**
|
|
956
|
+
* Duplicate proposals not allowed
|
|
957
|
+
**/
|
|
958
|
+
DuplicateProposal: GenericPalletError;
|
|
959
|
+
/**
|
|
960
|
+
* Proposal must exist
|
|
961
|
+
**/
|
|
962
|
+
ProposalMissing: GenericPalletError;
|
|
963
|
+
/**
|
|
964
|
+
* Mismatched index
|
|
965
|
+
**/
|
|
966
|
+
WrongIndex: GenericPalletError;
|
|
967
|
+
/**
|
|
968
|
+
* Duplicate vote ignored
|
|
969
|
+
**/
|
|
970
|
+
DuplicateVote: GenericPalletError;
|
|
971
|
+
/**
|
|
972
|
+
* Members are already initialized!
|
|
973
|
+
**/
|
|
974
|
+
AlreadyInitialized: GenericPalletError;
|
|
975
|
+
/**
|
|
976
|
+
* The close call was made too early, before the end of the voting.
|
|
977
|
+
**/
|
|
978
|
+
TooEarly: GenericPalletError;
|
|
979
|
+
/**
|
|
980
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
981
|
+
**/
|
|
982
|
+
TooManyProposals: GenericPalletError;
|
|
983
|
+
/**
|
|
984
|
+
* The given weight bound for the proposal was too low.
|
|
985
|
+
**/
|
|
986
|
+
WrongProposalWeight: GenericPalletError;
|
|
987
|
+
/**
|
|
988
|
+
* The given length bound for the proposal was too low.
|
|
989
|
+
**/
|
|
990
|
+
WrongProposalLength: GenericPalletError;
|
|
991
|
+
/**
|
|
992
|
+
* Prime account is not a member
|
|
993
|
+
**/
|
|
994
|
+
PrimeAccountNotMember: GenericPalletError;
|
|
995
|
+
/**
|
|
996
|
+
* Generic pallet error
|
|
997
|
+
**/
|
|
998
|
+
[error: string]: GenericPalletError;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* Pallet `TechCommitteeCollective`'s errors
|
|
1002
|
+
**/
|
|
1003
|
+
techCommitteeCollective: {
|
|
1004
|
+
/**
|
|
1005
|
+
* Account is not a member
|
|
1006
|
+
**/
|
|
1007
|
+
NotMember: GenericPalletError;
|
|
1008
|
+
/**
|
|
1009
|
+
* Duplicate proposals not allowed
|
|
1010
|
+
**/
|
|
1011
|
+
DuplicateProposal: GenericPalletError;
|
|
1012
|
+
/**
|
|
1013
|
+
* Proposal must exist
|
|
1014
|
+
**/
|
|
1015
|
+
ProposalMissing: GenericPalletError;
|
|
1016
|
+
/**
|
|
1017
|
+
* Mismatched index
|
|
1018
|
+
**/
|
|
1019
|
+
WrongIndex: GenericPalletError;
|
|
1020
|
+
/**
|
|
1021
|
+
* Duplicate vote ignored
|
|
1022
|
+
**/
|
|
1023
|
+
DuplicateVote: GenericPalletError;
|
|
1024
|
+
/**
|
|
1025
|
+
* Members are already initialized!
|
|
1026
|
+
**/
|
|
1027
|
+
AlreadyInitialized: GenericPalletError;
|
|
1028
|
+
/**
|
|
1029
|
+
* The close call was made too early, before the end of the voting.
|
|
1030
|
+
**/
|
|
1031
|
+
TooEarly: GenericPalletError;
|
|
1032
|
+
/**
|
|
1033
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
1034
|
+
**/
|
|
1035
|
+
TooManyProposals: GenericPalletError;
|
|
1036
|
+
/**
|
|
1037
|
+
* The given weight bound for the proposal was too low.
|
|
1038
|
+
**/
|
|
1039
|
+
WrongProposalWeight: GenericPalletError;
|
|
1040
|
+
/**
|
|
1041
|
+
* The given length bound for the proposal was too low.
|
|
1042
|
+
**/
|
|
1043
|
+
WrongProposalLength: GenericPalletError;
|
|
1044
|
+
/**
|
|
1045
|
+
* Prime account is not a member
|
|
1046
|
+
**/
|
|
1047
|
+
PrimeAccountNotMember: GenericPalletError;
|
|
1048
|
+
/**
|
|
1049
|
+
* Generic pallet error
|
|
1050
|
+
**/
|
|
1051
|
+
[error: string]: GenericPalletError;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* Pallet `TreasuryCouncilCollective`'s errors
|
|
1055
|
+
**/
|
|
1056
|
+
treasuryCouncilCollective: {
|
|
1057
|
+
/**
|
|
1058
|
+
* Account is not a member
|
|
1059
|
+
**/
|
|
1060
|
+
NotMember: GenericPalletError;
|
|
1061
|
+
/**
|
|
1062
|
+
* Duplicate proposals not allowed
|
|
1063
|
+
**/
|
|
1064
|
+
DuplicateProposal: GenericPalletError;
|
|
1065
|
+
/**
|
|
1066
|
+
* Proposal must exist
|
|
1067
|
+
**/
|
|
1068
|
+
ProposalMissing: GenericPalletError;
|
|
1069
|
+
/**
|
|
1070
|
+
* Mismatched index
|
|
1071
|
+
**/
|
|
1072
|
+
WrongIndex: GenericPalletError;
|
|
1073
|
+
/**
|
|
1074
|
+
* Duplicate vote ignored
|
|
1075
|
+
**/
|
|
1076
|
+
DuplicateVote: GenericPalletError;
|
|
1077
|
+
/**
|
|
1078
|
+
* Members are already initialized!
|
|
1079
|
+
**/
|
|
1080
|
+
AlreadyInitialized: GenericPalletError;
|
|
1081
|
+
/**
|
|
1082
|
+
* The close call was made too early, before the end of the voting.
|
|
1083
|
+
**/
|
|
1084
|
+
TooEarly: GenericPalletError;
|
|
1085
|
+
/**
|
|
1086
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
1087
|
+
**/
|
|
1088
|
+
TooManyProposals: GenericPalletError;
|
|
1089
|
+
/**
|
|
1090
|
+
* The given weight bound for the proposal was too low.
|
|
1091
|
+
**/
|
|
1092
|
+
WrongProposalWeight: GenericPalletError;
|
|
1093
|
+
/**
|
|
1094
|
+
* The given length bound for the proposal was too low.
|
|
1095
|
+
**/
|
|
1096
|
+
WrongProposalLength: GenericPalletError;
|
|
1097
|
+
/**
|
|
1098
|
+
* Prime account is not a member
|
|
1099
|
+
**/
|
|
1100
|
+
PrimeAccountNotMember: GenericPalletError;
|
|
1101
|
+
/**
|
|
1102
|
+
* Generic pallet error
|
|
1103
|
+
**/
|
|
1104
|
+
[error: string]: GenericPalletError;
|
|
1105
|
+
};
|
|
1106
|
+
/**
|
|
1107
|
+
* Pallet `OpenTechCommitteeCollective`'s errors
|
|
1108
|
+
**/
|
|
1109
|
+
openTechCommitteeCollective: {
|
|
1110
|
+
/**
|
|
1111
|
+
* Account is not a member
|
|
1112
|
+
**/
|
|
1113
|
+
NotMember: GenericPalletError;
|
|
1114
|
+
/**
|
|
1115
|
+
* Duplicate proposals not allowed
|
|
1116
|
+
**/
|
|
1117
|
+
DuplicateProposal: GenericPalletError;
|
|
1118
|
+
/**
|
|
1119
|
+
* Proposal must exist
|
|
1120
|
+
**/
|
|
1121
|
+
ProposalMissing: GenericPalletError;
|
|
1122
|
+
/**
|
|
1123
|
+
* Mismatched index
|
|
1124
|
+
**/
|
|
1125
|
+
WrongIndex: GenericPalletError;
|
|
1126
|
+
/**
|
|
1127
|
+
* Duplicate vote ignored
|
|
1128
|
+
**/
|
|
1129
|
+
DuplicateVote: GenericPalletError;
|
|
1130
|
+
/**
|
|
1131
|
+
* Members are already initialized!
|
|
1132
|
+
**/
|
|
1133
|
+
AlreadyInitialized: GenericPalletError;
|
|
1134
|
+
/**
|
|
1135
|
+
* The close call was made too early, before the end of the voting.
|
|
1136
|
+
**/
|
|
1137
|
+
TooEarly: GenericPalletError;
|
|
1138
|
+
/**
|
|
1139
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
1140
|
+
**/
|
|
1141
|
+
TooManyProposals: GenericPalletError;
|
|
1142
|
+
/**
|
|
1143
|
+
* The given weight bound for the proposal was too low.
|
|
1144
|
+
**/
|
|
1145
|
+
WrongProposalWeight: GenericPalletError;
|
|
1146
|
+
/**
|
|
1147
|
+
* The given length bound for the proposal was too low.
|
|
1148
|
+
**/
|
|
1149
|
+
WrongProposalLength: GenericPalletError;
|
|
1150
|
+
/**
|
|
1151
|
+
* Prime account is not a member
|
|
1152
|
+
**/
|
|
1153
|
+
PrimeAccountNotMember: GenericPalletError;
|
|
1154
|
+
/**
|
|
1155
|
+
* Generic pallet error
|
|
1156
|
+
**/
|
|
1157
|
+
[error: string]: GenericPalletError;
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* Pallet `Treasury`'s errors
|
|
1161
|
+
**/
|
|
1162
|
+
treasury: {
|
|
1163
|
+
/**
|
|
1164
|
+
* Proposer's balance is too low.
|
|
1165
|
+
**/
|
|
1166
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
1167
|
+
/**
|
|
1168
|
+
* No proposal, bounty or spend at that index.
|
|
1169
|
+
**/
|
|
1170
|
+
InvalidIndex: GenericPalletError;
|
|
1171
|
+
/**
|
|
1172
|
+
* Too many approvals in the queue.
|
|
1173
|
+
**/
|
|
1174
|
+
TooManyApprovals: GenericPalletError;
|
|
1175
|
+
/**
|
|
1176
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
1177
|
+
* amount to be spent.
|
|
1178
|
+
**/
|
|
1179
|
+
InsufficientPermission: GenericPalletError;
|
|
1180
|
+
/**
|
|
1181
|
+
* Proposal has not been approved.
|
|
1182
|
+
**/
|
|
1183
|
+
ProposalNotApproved: GenericPalletError;
|
|
1184
|
+
/**
|
|
1185
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
1186
|
+
**/
|
|
1187
|
+
FailedToConvertBalance: GenericPalletError;
|
|
1188
|
+
/**
|
|
1189
|
+
* The spend has expired and cannot be claimed.
|
|
1190
|
+
**/
|
|
1191
|
+
SpendExpired: GenericPalletError;
|
|
1192
|
+
/**
|
|
1193
|
+
* The spend is not yet eligible for payout.
|
|
1194
|
+
**/
|
|
1195
|
+
EarlyPayout: GenericPalletError;
|
|
1196
|
+
/**
|
|
1197
|
+
* The payment has already been attempted.
|
|
1198
|
+
**/
|
|
1199
|
+
AlreadyAttempted: GenericPalletError;
|
|
1200
|
+
/**
|
|
1201
|
+
* There was some issue with the mechanism of payment.
|
|
1202
|
+
**/
|
|
1203
|
+
PayoutError: GenericPalletError;
|
|
1204
|
+
/**
|
|
1205
|
+
* The payout was not yet attempted/claimed.
|
|
1206
|
+
**/
|
|
1207
|
+
NotAttempted: GenericPalletError;
|
|
1208
|
+
/**
|
|
1209
|
+
* The payment has neither failed nor succeeded yet.
|
|
1210
|
+
**/
|
|
1211
|
+
Inconclusive: GenericPalletError;
|
|
1212
|
+
/**
|
|
1213
|
+
* Generic pallet error
|
|
1214
|
+
**/
|
|
1215
|
+
[error: string]: GenericPalletError;
|
|
1216
|
+
};
|
|
1217
|
+
/**
|
|
1218
|
+
* Pallet `CrowdloanRewards`'s errors
|
|
1219
|
+
**/
|
|
1220
|
+
crowdloanRewards: {
|
|
1221
|
+
/**
|
|
1222
|
+
* User trying to associate a native identity with a relay chain identity for posterior
|
|
1223
|
+
* reward claiming provided an already associated relay chain identity
|
|
1224
|
+
**/
|
|
1225
|
+
AlreadyAssociated: GenericPalletError;
|
|
1226
|
+
/**
|
|
1227
|
+
* Trying to introduce a batch that goes beyond the limits of the funds
|
|
1228
|
+
**/
|
|
1229
|
+
BatchBeyondFundPot: GenericPalletError;
|
|
1230
|
+
/**
|
|
1231
|
+
* First claim already done
|
|
1232
|
+
**/
|
|
1233
|
+
FirstClaimAlreadyDone: GenericPalletError;
|
|
1234
|
+
/**
|
|
1235
|
+
* The contribution is not high enough to be eligible for rewards
|
|
1236
|
+
**/
|
|
1237
|
+
RewardNotHighEnough: GenericPalletError;
|
|
1238
|
+
/**
|
|
1239
|
+
* User trying to associate a native identity with a relay chain identity for posterior
|
|
1240
|
+
* reward claiming provided a wrong signature
|
|
1241
|
+
**/
|
|
1242
|
+
InvalidClaimSignature: GenericPalletError;
|
|
1243
|
+
/**
|
|
1244
|
+
* User trying to claim the first free reward provided the wrong signature
|
|
1245
|
+
**/
|
|
1246
|
+
InvalidFreeClaimSignature: GenericPalletError;
|
|
1247
|
+
/**
|
|
1248
|
+
* User trying to claim an award did not have an claim associated with it. This may mean
|
|
1249
|
+
* they did not contribute to the crowdloan, or they have not yet associated a native id
|
|
1250
|
+
* with their contribution
|
|
1251
|
+
**/
|
|
1252
|
+
NoAssociatedClaim: GenericPalletError;
|
|
1253
|
+
/**
|
|
1254
|
+
* User trying to claim rewards has already claimed all rewards associated with its
|
|
1255
|
+
* identity and contribution
|
|
1256
|
+
**/
|
|
1257
|
+
RewardsAlreadyClaimed: GenericPalletError;
|
|
1258
|
+
/**
|
|
1259
|
+
* Reward vec has already been initialized
|
|
1260
|
+
**/
|
|
1261
|
+
RewardVecAlreadyInitialized: GenericPalletError;
|
|
1262
|
+
/**
|
|
1263
|
+
* Reward vec has not yet been fully initialized
|
|
1264
|
+
**/
|
|
1265
|
+
RewardVecNotFullyInitializedYet: GenericPalletError;
|
|
1266
|
+
/**
|
|
1267
|
+
* Rewards should match funds of the pallet
|
|
1268
|
+
**/
|
|
1269
|
+
RewardsDoNotMatchFund: GenericPalletError;
|
|
1270
|
+
/**
|
|
1271
|
+
* Initialize_reward_vec received too many contributors
|
|
1272
|
+
**/
|
|
1273
|
+
TooManyContributors: GenericPalletError;
|
|
1274
|
+
/**
|
|
1275
|
+
* Provided vesting period is not valid
|
|
1276
|
+
**/
|
|
1277
|
+
VestingPeriodNonValid: GenericPalletError;
|
|
1278
|
+
/**
|
|
1279
|
+
* User provided a signature from a non-contributor relay account
|
|
1280
|
+
**/
|
|
1281
|
+
NonContributedAddressProvided: GenericPalletError;
|
|
1282
|
+
/**
|
|
1283
|
+
* User submitted an unsifficient number of proofs to change the reward address
|
|
1284
|
+
**/
|
|
1285
|
+
InsufficientNumberOfValidProofs: GenericPalletError;
|
|
1286
|
+
/**
|
|
1287
|
+
* Generic pallet error
|
|
1288
|
+
**/
|
|
1289
|
+
[error: string]: GenericPalletError;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* Pallet `XcmpQueue`'s errors
|
|
1293
|
+
**/
|
|
1294
|
+
xcmpQueue: {
|
|
1295
|
+
/**
|
|
1296
|
+
* Failed to send XCM message.
|
|
1297
|
+
**/
|
|
1298
|
+
FailedToSend: GenericPalletError;
|
|
1299
|
+
/**
|
|
1300
|
+
* Bad XCM origin.
|
|
1301
|
+
**/
|
|
1302
|
+
BadXcmOrigin: GenericPalletError;
|
|
1303
|
+
/**
|
|
1304
|
+
* Bad XCM data.
|
|
1305
|
+
**/
|
|
1306
|
+
BadXcm: GenericPalletError;
|
|
1307
|
+
/**
|
|
1308
|
+
* Bad overweight index.
|
|
1309
|
+
**/
|
|
1310
|
+
BadOverweightIndex: GenericPalletError;
|
|
1311
|
+
/**
|
|
1312
|
+
* Provided weight is possibly not enough to execute the message.
|
|
1313
|
+
**/
|
|
1314
|
+
WeightOverLimit: GenericPalletError;
|
|
1315
|
+
/**
|
|
1316
|
+
* Generic pallet error
|
|
1317
|
+
**/
|
|
1318
|
+
[error: string]: GenericPalletError;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* Pallet `CumulusXcm`'s errors
|
|
1322
|
+
**/
|
|
1323
|
+
cumulusXcm: {
|
|
1324
|
+
/**
|
|
1325
|
+
* Generic pallet error
|
|
1326
|
+
**/
|
|
1327
|
+
[error: string]: GenericPalletError;
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* Pallet `DmpQueue`'s errors
|
|
1331
|
+
**/
|
|
1332
|
+
dmpQueue: {
|
|
1333
|
+
/**
|
|
1334
|
+
* The message index given is unknown.
|
|
1335
|
+
**/
|
|
1336
|
+
Unknown: GenericPalletError;
|
|
1337
|
+
/**
|
|
1338
|
+
* The amount of weight given is possibly not enough for executing the message.
|
|
1339
|
+
**/
|
|
1340
|
+
OverLimit: GenericPalletError;
|
|
1341
|
+
/**
|
|
1342
|
+
* Generic pallet error
|
|
1343
|
+
**/
|
|
1344
|
+
[error: string]: GenericPalletError;
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Pallet `PolkadotXcm`'s errors
|
|
1348
|
+
**/
|
|
1349
|
+
polkadotXcm: {
|
|
1350
|
+
/**
|
|
1351
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
1352
|
+
* to it.
|
|
1353
|
+
**/
|
|
1354
|
+
Unreachable: GenericPalletError;
|
|
1355
|
+
/**
|
|
1356
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
1357
|
+
* Perhaps a lack of space for buffering the message.
|
|
1358
|
+
**/
|
|
1359
|
+
SendFailure: GenericPalletError;
|
|
1360
|
+
/**
|
|
1361
|
+
* The message execution fails the filter.
|
|
1362
|
+
**/
|
|
1363
|
+
Filtered: GenericPalletError;
|
|
1364
|
+
/**
|
|
1365
|
+
* The message's weight could not be determined.
|
|
1366
|
+
**/
|
|
1367
|
+
UnweighableMessage: GenericPalletError;
|
|
1368
|
+
/**
|
|
1369
|
+
* The destination `MultiLocation` provided cannot be inverted.
|
|
1370
|
+
**/
|
|
1371
|
+
DestinationNotInvertible: GenericPalletError;
|
|
1372
|
+
/**
|
|
1373
|
+
* The assets to be sent are empty.
|
|
1374
|
+
**/
|
|
1375
|
+
Empty: GenericPalletError;
|
|
1376
|
+
/**
|
|
1377
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
1378
|
+
**/
|
|
1379
|
+
CannotReanchor: GenericPalletError;
|
|
1380
|
+
/**
|
|
1381
|
+
* Too many assets have been attempted for transfer.
|
|
1382
|
+
**/
|
|
1383
|
+
TooManyAssets: GenericPalletError;
|
|
1384
|
+
/**
|
|
1385
|
+
* Origin is invalid for sending.
|
|
1386
|
+
**/
|
|
1387
|
+
InvalidOrigin: GenericPalletError;
|
|
1388
|
+
/**
|
|
1389
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
1390
|
+
**/
|
|
1391
|
+
BadVersion: GenericPalletError;
|
|
1392
|
+
/**
|
|
1393
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
1394
|
+
* desired version of XCM).
|
|
1395
|
+
**/
|
|
1396
|
+
BadLocation: GenericPalletError;
|
|
1397
|
+
/**
|
|
1398
|
+
* The referenced subscription could not be found.
|
|
1399
|
+
**/
|
|
1400
|
+
NoSubscription: GenericPalletError;
|
|
1401
|
+
/**
|
|
1402
|
+
* The location is invalid since it already has a subscription from us.
|
|
1403
|
+
**/
|
|
1404
|
+
AlreadySubscribed: GenericPalletError;
|
|
1405
|
+
/**
|
|
1406
|
+
* Invalid asset for the operation.
|
|
1407
|
+
**/
|
|
1408
|
+
InvalidAsset: GenericPalletError;
|
|
1409
|
+
/**
|
|
1410
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
1411
|
+
**/
|
|
1412
|
+
LowBalance: GenericPalletError;
|
|
1413
|
+
/**
|
|
1414
|
+
* The asset owner has too many locks on the asset.
|
|
1415
|
+
**/
|
|
1416
|
+
TooManyLocks: GenericPalletError;
|
|
1417
|
+
/**
|
|
1418
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
1419
|
+
**/
|
|
1420
|
+
AccountNotSovereign: GenericPalletError;
|
|
1421
|
+
/**
|
|
1422
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
1423
|
+
**/
|
|
1424
|
+
FeesNotMet: GenericPalletError;
|
|
1425
|
+
/**
|
|
1426
|
+
* A remote lock with the corresponding data could not be found.
|
|
1427
|
+
**/
|
|
1428
|
+
LockNotFound: GenericPalletError;
|
|
1429
|
+
/**
|
|
1430
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
1431
|
+
**/
|
|
1432
|
+
InUse: GenericPalletError;
|
|
1433
|
+
/**
|
|
1434
|
+
* Generic pallet error
|
|
1435
|
+
**/
|
|
1436
|
+
[error: string]: GenericPalletError;
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* Pallet `Assets`'s errors
|
|
1440
|
+
**/
|
|
1441
|
+
assets: {
|
|
1442
|
+
/**
|
|
1443
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
1444
|
+
**/
|
|
1445
|
+
BalanceLow: GenericPalletError;
|
|
1446
|
+
/**
|
|
1447
|
+
* The account to alter does not exist.
|
|
1448
|
+
**/
|
|
1449
|
+
NoAccount: GenericPalletError;
|
|
1450
|
+
/**
|
|
1451
|
+
* The signing account has no permission to do the operation.
|
|
1452
|
+
**/
|
|
1453
|
+
NoPermission: GenericPalletError;
|
|
1454
|
+
/**
|
|
1455
|
+
* The given asset ID is unknown.
|
|
1456
|
+
**/
|
|
1457
|
+
Unknown: GenericPalletError;
|
|
1458
|
+
/**
|
|
1459
|
+
* The origin account is frozen.
|
|
1460
|
+
**/
|
|
1461
|
+
Frozen: GenericPalletError;
|
|
1462
|
+
/**
|
|
1463
|
+
* The asset ID is already taken.
|
|
1464
|
+
**/
|
|
1465
|
+
InUse: GenericPalletError;
|
|
1466
|
+
/**
|
|
1467
|
+
* Invalid witness data given.
|
|
1468
|
+
**/
|
|
1469
|
+
BadWitness: GenericPalletError;
|
|
1470
|
+
/**
|
|
1471
|
+
* Minimum balance should be non-zero.
|
|
1472
|
+
**/
|
|
1473
|
+
MinBalanceZero: GenericPalletError;
|
|
1474
|
+
/**
|
|
1475
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1476
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1477
|
+
* fewer then the maximum number of consumers has been reached.
|
|
1478
|
+
**/
|
|
1479
|
+
UnavailableConsumer: GenericPalletError;
|
|
1480
|
+
/**
|
|
1481
|
+
* Invalid metadata given.
|
|
1482
|
+
**/
|
|
1483
|
+
BadMetadata: GenericPalletError;
|
|
1484
|
+
/**
|
|
1485
|
+
* No approval exists that would allow the transfer.
|
|
1486
|
+
**/
|
|
1487
|
+
Unapproved: GenericPalletError;
|
|
1488
|
+
/**
|
|
1489
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
1490
|
+
**/
|
|
1491
|
+
WouldDie: GenericPalletError;
|
|
1492
|
+
/**
|
|
1493
|
+
* The asset-account already exists.
|
|
1494
|
+
**/
|
|
1495
|
+
AlreadyExists: GenericPalletError;
|
|
1496
|
+
/**
|
|
1497
|
+
* The asset-account doesn't have an associated deposit.
|
|
1498
|
+
**/
|
|
1499
|
+
NoDeposit: GenericPalletError;
|
|
1500
|
+
/**
|
|
1501
|
+
* The operation would result in funds being burned.
|
|
1502
|
+
**/
|
|
1503
|
+
WouldBurn: GenericPalletError;
|
|
1504
|
+
/**
|
|
1505
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1506
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1507
|
+
**/
|
|
1508
|
+
LiveAsset: GenericPalletError;
|
|
1509
|
+
/**
|
|
1510
|
+
* The asset is not live, and likely being destroyed.
|
|
1511
|
+
**/
|
|
1512
|
+
AssetNotLive: GenericPalletError;
|
|
1513
|
+
/**
|
|
1514
|
+
* The asset status is not the expected status.
|
|
1515
|
+
**/
|
|
1516
|
+
IncorrectStatus: GenericPalletError;
|
|
1517
|
+
/**
|
|
1518
|
+
* The asset should be frozen before the given operation.
|
|
1519
|
+
**/
|
|
1520
|
+
NotFrozen: GenericPalletError;
|
|
1521
|
+
/**
|
|
1522
|
+
* Callback action resulted in error
|
|
1523
|
+
**/
|
|
1524
|
+
CallbackFailed: GenericPalletError;
|
|
1525
|
+
/**
|
|
1526
|
+
* Generic pallet error
|
|
1527
|
+
**/
|
|
1528
|
+
[error: string]: GenericPalletError;
|
|
1529
|
+
};
|
|
1530
|
+
/**
|
|
1531
|
+
* Pallet `AssetManager`'s errors
|
|
1532
|
+
**/
|
|
1533
|
+
assetManager: {
|
|
1534
|
+
ErrorCreatingAsset: GenericPalletError;
|
|
1535
|
+
AssetAlreadyExists: GenericPalletError;
|
|
1536
|
+
AssetDoesNotExist: GenericPalletError;
|
|
1537
|
+
TooLowNumAssetsWeightHint: GenericPalletError;
|
|
1538
|
+
LocalAssetLimitReached: GenericPalletError;
|
|
1539
|
+
ErrorDestroyingAsset: GenericPalletError;
|
|
1540
|
+
NotSufficientDeposit: GenericPalletError;
|
|
1541
|
+
NonExistentLocalAsset: GenericPalletError;
|
|
1542
|
+
/**
|
|
1543
|
+
* Generic pallet error
|
|
1544
|
+
**/
|
|
1545
|
+
[error: string]: GenericPalletError;
|
|
1546
|
+
};
|
|
1547
|
+
/**
|
|
1548
|
+
* Pallet `XTokens`'s errors
|
|
1549
|
+
**/
|
|
1550
|
+
xTokens: {
|
|
1551
|
+
/**
|
|
1552
|
+
* Asset has no reserve location.
|
|
1553
|
+
**/
|
|
1554
|
+
AssetHasNoReserve: GenericPalletError;
|
|
1555
|
+
/**
|
|
1556
|
+
* Not cross-chain transfer.
|
|
1557
|
+
**/
|
|
1558
|
+
NotCrossChainTransfer: GenericPalletError;
|
|
1559
|
+
/**
|
|
1560
|
+
* Invalid transfer destination.
|
|
1561
|
+
**/
|
|
1562
|
+
InvalidDest: GenericPalletError;
|
|
1563
|
+
/**
|
|
1564
|
+
* Currency is not cross-chain transferable.
|
|
1565
|
+
**/
|
|
1566
|
+
NotCrossChainTransferableCurrency: GenericPalletError;
|
|
1567
|
+
/**
|
|
1568
|
+
* The message's weight could not be determined.
|
|
1569
|
+
**/
|
|
1570
|
+
UnweighableMessage: GenericPalletError;
|
|
1571
|
+
/**
|
|
1572
|
+
* XCM execution failed.
|
|
1573
|
+
**/
|
|
1574
|
+
XcmExecutionFailed: GenericPalletError;
|
|
1575
|
+
/**
|
|
1576
|
+
* Could not re-anchor the assets to declare the fees for the
|
|
1577
|
+
* destination chain.
|
|
1578
|
+
**/
|
|
1579
|
+
CannotReanchor: GenericPalletError;
|
|
1580
|
+
/**
|
|
1581
|
+
* Could not get ancestry of asset reserve location.
|
|
1582
|
+
**/
|
|
1583
|
+
InvalidAncestry: GenericPalletError;
|
|
1584
|
+
/**
|
|
1585
|
+
* The MultiAsset is invalid.
|
|
1586
|
+
**/
|
|
1587
|
+
InvalidAsset: GenericPalletError;
|
|
1588
|
+
/**
|
|
1589
|
+
* The destination `MultiLocation` provided cannot be inverted.
|
|
1590
|
+
**/
|
|
1591
|
+
DestinationNotInvertible: GenericPalletError;
|
|
1592
|
+
/**
|
|
1593
|
+
* The version of the `Versioned` value used is not able to be
|
|
1594
|
+
* interpreted.
|
|
1595
|
+
**/
|
|
1596
|
+
BadVersion: GenericPalletError;
|
|
1597
|
+
/**
|
|
1598
|
+
* We tried sending distinct asset and fee but they have different
|
|
1599
|
+
* reserve chains.
|
|
1600
|
+
**/
|
|
1601
|
+
DistinctReserveForAssetAndFee: GenericPalletError;
|
|
1602
|
+
/**
|
|
1603
|
+
* The fee is zero.
|
|
1604
|
+
**/
|
|
1605
|
+
ZeroFee: GenericPalletError;
|
|
1606
|
+
/**
|
|
1607
|
+
* The transfering asset amount is zero.
|
|
1608
|
+
**/
|
|
1609
|
+
ZeroAmount: GenericPalletError;
|
|
1610
|
+
/**
|
|
1611
|
+
* The number of assets to be sent is over the maximum.
|
|
1612
|
+
**/
|
|
1613
|
+
TooManyAssetsBeingSent: GenericPalletError;
|
|
1614
|
+
/**
|
|
1615
|
+
* The specified index does not exist in a MultiAssets struct.
|
|
1616
|
+
**/
|
|
1617
|
+
AssetIndexNonExistent: GenericPalletError;
|
|
1618
|
+
/**
|
|
1619
|
+
* Fee is not enough.
|
|
1620
|
+
**/
|
|
1621
|
+
FeeNotEnough: GenericPalletError;
|
|
1622
|
+
/**
|
|
1623
|
+
* Not supported MultiLocation
|
|
1624
|
+
**/
|
|
1625
|
+
NotSupportedMultiLocation: GenericPalletError;
|
|
1626
|
+
/**
|
|
1627
|
+
* MinXcmFee not registered for certain reserve location
|
|
1628
|
+
**/
|
|
1629
|
+
MinXcmFeeNotDefined: GenericPalletError;
|
|
1630
|
+
/**
|
|
1631
|
+
* Generic pallet error
|
|
1632
|
+
**/
|
|
1633
|
+
[error: string]: GenericPalletError;
|
|
1634
|
+
};
|
|
1635
|
+
/**
|
|
1636
|
+
* Pallet `XcmTransactor`'s errors
|
|
1637
|
+
**/
|
|
1638
|
+
xcmTransactor: {
|
|
1639
|
+
IndexAlreadyClaimed: GenericPalletError;
|
|
1640
|
+
UnclaimedIndex: GenericPalletError;
|
|
1641
|
+
NotOwner: GenericPalletError;
|
|
1642
|
+
UnweighableMessage: GenericPalletError;
|
|
1643
|
+
CannotReanchor: GenericPalletError;
|
|
1644
|
+
AssetHasNoReserve: GenericPalletError;
|
|
1645
|
+
InvalidDest: GenericPalletError;
|
|
1646
|
+
NotCrossChainTransfer: GenericPalletError;
|
|
1647
|
+
AssetIsNotReserveInDestination: GenericPalletError;
|
|
1648
|
+
DestinationNotInvertible: GenericPalletError;
|
|
1649
|
+
ErrorDelivering: GenericPalletError;
|
|
1650
|
+
DispatchWeightBiggerThanTotalWeight: GenericPalletError;
|
|
1651
|
+
WeightOverflow: GenericPalletError;
|
|
1652
|
+
AmountOverflow: GenericPalletError;
|
|
1653
|
+
TransactorInfoNotSet: GenericPalletError;
|
|
1654
|
+
NotCrossChainTransferableCurrency: GenericPalletError;
|
|
1655
|
+
XcmExecuteError: GenericPalletError;
|
|
1656
|
+
BadVersion: GenericPalletError;
|
|
1657
|
+
MaxWeightTransactReached: GenericPalletError;
|
|
1658
|
+
UnableToWithdrawAsset: GenericPalletError;
|
|
1659
|
+
FeePerSecondNotSet: GenericPalletError;
|
|
1660
|
+
SignedTransactNotAllowedForDestination: GenericPalletError;
|
|
1661
|
+
FailedMultiLocationToJunction: GenericPalletError;
|
|
1662
|
+
HrmpHandlerNotImplemented: GenericPalletError;
|
|
1663
|
+
TooMuchFeeUsed: GenericPalletError;
|
|
1664
|
+
ErrorValidating: GenericPalletError;
|
|
1665
|
+
RefundNotSupportedWithTransactInfo: GenericPalletError;
|
|
1666
|
+
/**
|
|
1667
|
+
* Generic pallet error
|
|
1668
|
+
**/
|
|
1669
|
+
[error: string]: GenericPalletError;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Pallet `LocalAssets`'s errors
|
|
1673
|
+
**/
|
|
1674
|
+
localAssets: {
|
|
1675
|
+
/**
|
|
1676
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
1677
|
+
**/
|
|
1678
|
+
BalanceLow: GenericPalletError;
|
|
1679
|
+
/**
|
|
1680
|
+
* The account to alter does not exist.
|
|
1681
|
+
**/
|
|
1682
|
+
NoAccount: GenericPalletError;
|
|
1683
|
+
/**
|
|
1684
|
+
* The signing account has no permission to do the operation.
|
|
1685
|
+
**/
|
|
1686
|
+
NoPermission: GenericPalletError;
|
|
1687
|
+
/**
|
|
1688
|
+
* The given asset ID is unknown.
|
|
1689
|
+
**/
|
|
1690
|
+
Unknown: GenericPalletError;
|
|
1691
|
+
/**
|
|
1692
|
+
* The origin account is frozen.
|
|
1693
|
+
**/
|
|
1694
|
+
Frozen: GenericPalletError;
|
|
1695
|
+
/**
|
|
1696
|
+
* The asset ID is already taken.
|
|
1697
|
+
**/
|
|
1698
|
+
InUse: GenericPalletError;
|
|
1699
|
+
/**
|
|
1700
|
+
* Invalid witness data given.
|
|
1701
|
+
**/
|
|
1702
|
+
BadWitness: GenericPalletError;
|
|
1703
|
+
/**
|
|
1704
|
+
* Minimum balance should be non-zero.
|
|
1705
|
+
**/
|
|
1706
|
+
MinBalanceZero: GenericPalletError;
|
|
1707
|
+
/**
|
|
1708
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1709
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1710
|
+
* fewer then the maximum number of consumers has been reached.
|
|
1711
|
+
**/
|
|
1712
|
+
UnavailableConsumer: GenericPalletError;
|
|
1713
|
+
/**
|
|
1714
|
+
* Invalid metadata given.
|
|
1715
|
+
**/
|
|
1716
|
+
BadMetadata: GenericPalletError;
|
|
1717
|
+
/**
|
|
1718
|
+
* No approval exists that would allow the transfer.
|
|
1719
|
+
**/
|
|
1720
|
+
Unapproved: GenericPalletError;
|
|
1721
|
+
/**
|
|
1722
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
1723
|
+
**/
|
|
1724
|
+
WouldDie: GenericPalletError;
|
|
1725
|
+
/**
|
|
1726
|
+
* The asset-account already exists.
|
|
1727
|
+
**/
|
|
1728
|
+
AlreadyExists: GenericPalletError;
|
|
1729
|
+
/**
|
|
1730
|
+
* The asset-account doesn't have an associated deposit.
|
|
1731
|
+
**/
|
|
1732
|
+
NoDeposit: GenericPalletError;
|
|
1733
|
+
/**
|
|
1734
|
+
* The operation would result in funds being burned.
|
|
1735
|
+
**/
|
|
1736
|
+
WouldBurn: GenericPalletError;
|
|
1737
|
+
/**
|
|
1738
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1739
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1740
|
+
**/
|
|
1741
|
+
LiveAsset: GenericPalletError;
|
|
1742
|
+
/**
|
|
1743
|
+
* The asset is not live, and likely being destroyed.
|
|
1744
|
+
**/
|
|
1745
|
+
AssetNotLive: GenericPalletError;
|
|
1746
|
+
/**
|
|
1747
|
+
* The asset status is not the expected status.
|
|
1748
|
+
**/
|
|
1749
|
+
IncorrectStatus: GenericPalletError;
|
|
1750
|
+
/**
|
|
1751
|
+
* The asset should be frozen before the given operation.
|
|
1752
|
+
**/
|
|
1753
|
+
NotFrozen: GenericPalletError;
|
|
1754
|
+
/**
|
|
1755
|
+
* Callback action resulted in error
|
|
1756
|
+
**/
|
|
1757
|
+
CallbackFailed: GenericPalletError;
|
|
1758
|
+
/**
|
|
1759
|
+
* Generic pallet error
|
|
1760
|
+
**/
|
|
1761
|
+
[error: string]: GenericPalletError;
|
|
1762
|
+
};
|
|
1763
|
+
/**
|
|
1764
|
+
* Pallet `EthereumXcm`'s errors
|
|
1765
|
+
**/
|
|
1766
|
+
ethereumXcm: {
|
|
1767
|
+
/**
|
|
1768
|
+
* Xcm to Ethereum execution is suspended
|
|
1769
|
+
**/
|
|
1770
|
+
EthereumXcmExecutionSuspended: GenericPalletError;
|
|
1771
|
+
/**
|
|
1772
|
+
* Generic pallet error
|
|
1773
|
+
**/
|
|
1774
|
+
[error: string]: GenericPalletError;
|
|
1775
|
+
};
|
|
1776
|
+
/**
|
|
1777
|
+
* Pallet `Randomness`'s errors
|
|
1778
|
+
**/
|
|
1779
|
+
randomness: {
|
|
1780
|
+
RequestCounterOverflowed: GenericPalletError;
|
|
1781
|
+
RequestFeeOverflowed: GenericPalletError;
|
|
1782
|
+
MustRequestAtLeastOneWord: GenericPalletError;
|
|
1783
|
+
CannotRequestMoreWordsThanMax: GenericPalletError;
|
|
1784
|
+
CannotRequestRandomnessAfterMaxDelay: GenericPalletError;
|
|
1785
|
+
CannotRequestRandomnessBeforeMinDelay: GenericPalletError;
|
|
1786
|
+
RequestDNE: GenericPalletError;
|
|
1787
|
+
RequestCannotYetBeFulfilled: GenericPalletError;
|
|
1788
|
+
OnlyRequesterCanIncreaseFee: GenericPalletError;
|
|
1789
|
+
RequestHasNotExpired: GenericPalletError;
|
|
1790
|
+
RandomnessResultDNE: GenericPalletError;
|
|
1791
|
+
RandomnessResultNotFilled: GenericPalletError;
|
|
1792
|
+
/**
|
|
1793
|
+
* Generic pallet error
|
|
1794
|
+
**/
|
|
1795
|
+
[error: string]: GenericPalletError;
|
|
1796
|
+
};
|
|
1797
|
+
}
|