@polkadot/api-augment 8.8.1 → 8.8.2-2
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/cjs/packageInfo.js +1 -1
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/substrate/consts.d.ts +83 -1
- package/substrate/errors.d.ts +249 -9
- package/substrate/events.d.ts +318 -10
- package/substrate/query.d.ts +133 -7
- package/substrate/tx.d.ts +521 -15
package/cjs/packageInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "8.8.
|
|
23
|
+
"version": "8.8.2-2",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
},
|
|
172
172
|
"dependencies": {
|
|
173
173
|
"@babel/runtime": "^7.18.3",
|
|
174
|
-
"@polkadot/api-base": "8.8.
|
|
175
|
-
"@polkadot/rpc-augment": "8.8.
|
|
176
|
-
"@polkadot/types": "8.8.
|
|
177
|
-
"@polkadot/types-augment": "8.8.
|
|
178
|
-
"@polkadot/types-codec": "8.8.
|
|
174
|
+
"@polkadot/api-base": "8.8.2-2",
|
|
175
|
+
"@polkadot/rpc-augment": "8.8.2-2",
|
|
176
|
+
"@polkadot/types": "8.8.2-2",
|
|
177
|
+
"@polkadot/types-augment": "8.8.2-2",
|
|
178
|
+
"@polkadot/types-codec": "8.8.2-2",
|
|
179
179
|
"@polkadot/util": "^9.4.1"
|
|
180
180
|
}
|
|
181
181
|
}
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-augment',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '8.8.
|
|
8
|
+
version: '8.8.2-2'
|
|
9
9
|
};
|
package/substrate/consts.d.ts
CHANGED
|
@@ -5,6 +5,33 @@ import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runti
|
|
|
5
5
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
6
6
|
declare module '@polkadot/api-base/types/consts' {
|
|
7
7
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
8
|
+
alliance: {
|
|
9
|
+
/**
|
|
10
|
+
* The deposit required for submitting candidacy.
|
|
11
|
+
**/
|
|
12
|
+
allyDeposit: u128 & AugmentedConst<ApiType>;
|
|
13
|
+
/**
|
|
14
|
+
* The maximum number of announcements.
|
|
15
|
+
**/
|
|
16
|
+
maxAnnouncementsCount: u32 & AugmentedConst<ApiType>;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of members per member role. Should not exceed the sum of
|
|
19
|
+
* `MaxFounders` and `MaxFellows`.
|
|
20
|
+
**/
|
|
21
|
+
maxMembersCount: u32 & AugmentedConst<ApiType>;
|
|
22
|
+
/**
|
|
23
|
+
* The maximum number of the unscrupulous items supported by the pallet.
|
|
24
|
+
**/
|
|
25
|
+
maxUnscrupulousItems: u32 & AugmentedConst<ApiType>;
|
|
26
|
+
/**
|
|
27
|
+
* The maximum length of a website URL.
|
|
28
|
+
**/
|
|
29
|
+
maxWebsiteUrlLength: u32 & AugmentedConst<ApiType>;
|
|
30
|
+
/**
|
|
31
|
+
* Generic const
|
|
32
|
+
**/
|
|
33
|
+
[key: string]: Codec;
|
|
34
|
+
};
|
|
8
35
|
assets: {
|
|
9
36
|
/**
|
|
10
37
|
* The amount of funds that must be reserved when creating a new approval.
|
|
@@ -219,7 +246,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
219
246
|
*
|
|
220
247
|
* For more information check out: <https://github.com/paritytech/substrate/issues/10301>
|
|
221
248
|
*
|
|
222
|
-
* [`DefaultContractAccessWeight`] is a safe default to be used for
|
|
249
|
+
* [`DefaultContractAccessWeight`] is a safe default to be used for Polkadot or Kusama
|
|
223
250
|
* parachains.
|
|
224
251
|
*
|
|
225
252
|
* # Note
|
|
@@ -705,6 +732,31 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
705
732
|
**/
|
|
706
733
|
[key: string]: Codec;
|
|
707
734
|
};
|
|
735
|
+
rankedPolls: {
|
|
736
|
+
/**
|
|
737
|
+
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
|
738
|
+
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
|
739
|
+
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
|
740
|
+
**/
|
|
741
|
+
alarmInterval: u32 & AugmentedConst<ApiType>;
|
|
742
|
+
/**
|
|
743
|
+
* Maximum size of the referendum queue for a single track.
|
|
744
|
+
**/
|
|
745
|
+
maxQueued: u32 & AugmentedConst<ApiType>;
|
|
746
|
+
/**
|
|
747
|
+
* The minimum amount to be used as a deposit for a public referendum proposal.
|
|
748
|
+
**/
|
|
749
|
+
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
|
750
|
+
/**
|
|
751
|
+
* The number of blocks after submission that a referendum must begin being decided by.
|
|
752
|
+
* Once this passes, then anyone may cancel the referendum.
|
|
753
|
+
**/
|
|
754
|
+
undecidingTimeout: u32 & AugmentedConst<ApiType>;
|
|
755
|
+
/**
|
|
756
|
+
* Generic const
|
|
757
|
+
**/
|
|
758
|
+
[key: string]: Codec;
|
|
759
|
+
};
|
|
708
760
|
recovery: {
|
|
709
761
|
/**
|
|
710
762
|
* The base amount of currency needed to reserve for creating a recovery configuration.
|
|
@@ -867,6 +919,36 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
867
919
|
**/
|
|
868
920
|
[key: string]: Codec;
|
|
869
921
|
};
|
|
922
|
+
stateTrieMigration: {
|
|
923
|
+
/**
|
|
924
|
+
* Maximal number of bytes that a key can have.
|
|
925
|
+
*
|
|
926
|
+
* FRAME itself does not limit the key length.
|
|
927
|
+
* The concrete value must therefore depend on your storage usage.
|
|
928
|
+
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
|
|
929
|
+
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
|
|
930
|
+
*
|
|
931
|
+
* Use the *state migration RPC* to retrieve the length of the longest key in your
|
|
932
|
+
* storage: <https://github.com/paritytech/substrate/issues/11642>
|
|
933
|
+
*
|
|
934
|
+
* The migration will halt with a `Halted` event if this value is too small.
|
|
935
|
+
* Since there is no real penalty from over-estimating, it is advised to use a large
|
|
936
|
+
* value. The default is 512 byte.
|
|
937
|
+
*
|
|
938
|
+
* Some key lengths for reference:
|
|
939
|
+
* - [`frame_support::storage::StorageValue`]: 32 byte
|
|
940
|
+
* - [`frame_support::storage::StorageMap`]: 64 byte
|
|
941
|
+
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
|
|
942
|
+
*
|
|
943
|
+
* For more info see
|
|
944
|
+
* <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
|
|
945
|
+
**/
|
|
946
|
+
maxKeyLen: u32 & AugmentedConst<ApiType>;
|
|
947
|
+
/**
|
|
948
|
+
* Generic const
|
|
949
|
+
**/
|
|
950
|
+
[key: string]: Codec;
|
|
951
|
+
};
|
|
870
952
|
system: {
|
|
871
953
|
/**
|
|
872
954
|
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1,6 +1,143 @@
|
|
|
1
1
|
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
2
|
declare module '@polkadot/api-base/types/errors' {
|
|
3
3
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
4
|
+
alliance: {
|
|
5
|
+
/**
|
|
6
|
+
* Account has been deemed unscrupulous by the Alliance and is not welcome to join or be
|
|
7
|
+
* nominated.
|
|
8
|
+
**/
|
|
9
|
+
AccountNonGrata: AugmentedError<ApiType>;
|
|
10
|
+
/**
|
|
11
|
+
* Account is already an elevated (fellow) member.
|
|
12
|
+
**/
|
|
13
|
+
AlreadyElevated: AugmentedError<ApiType>;
|
|
14
|
+
/**
|
|
15
|
+
* Account is already a member.
|
|
16
|
+
**/
|
|
17
|
+
AlreadyMember: AugmentedError<ApiType>;
|
|
18
|
+
/**
|
|
19
|
+
* Item is already listed as unscrupulous.
|
|
20
|
+
**/
|
|
21
|
+
AlreadyUnscrupulous: AugmentedError<ApiType>;
|
|
22
|
+
/**
|
|
23
|
+
* Balance is insufficient for the required deposit.
|
|
24
|
+
**/
|
|
25
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
26
|
+
/**
|
|
27
|
+
* The founders/fellows/allies have already been initialized.
|
|
28
|
+
**/
|
|
29
|
+
MembersAlreadyInitialized: AugmentedError<ApiType>;
|
|
30
|
+
/**
|
|
31
|
+
* The announcement is not found.
|
|
32
|
+
**/
|
|
33
|
+
MissingAnnouncement: AugmentedError<ApiType>;
|
|
34
|
+
/**
|
|
35
|
+
* The proposal hash is not found.
|
|
36
|
+
**/
|
|
37
|
+
MissingProposalHash: AugmentedError<ApiType>;
|
|
38
|
+
/**
|
|
39
|
+
* Account is not an ally.
|
|
40
|
+
**/
|
|
41
|
+
NotAlly: AugmentedError<ApiType>;
|
|
42
|
+
/**
|
|
43
|
+
* Account is not a founder.
|
|
44
|
+
**/
|
|
45
|
+
NotFounder: AugmentedError<ApiType>;
|
|
46
|
+
/**
|
|
47
|
+
* Item has not been deemed unscrupulous.
|
|
48
|
+
**/
|
|
49
|
+
NotListedAsUnscrupulous: AugmentedError<ApiType>;
|
|
50
|
+
/**
|
|
51
|
+
* Account is not a member.
|
|
52
|
+
**/
|
|
53
|
+
NotMember: AugmentedError<ApiType>;
|
|
54
|
+
/**
|
|
55
|
+
* The proposal is not vetoable.
|
|
56
|
+
**/
|
|
57
|
+
NotVetoableProposal: AugmentedError<ApiType>;
|
|
58
|
+
/**
|
|
59
|
+
* Account does not have voting rights.
|
|
60
|
+
**/
|
|
61
|
+
NoVotingRights: AugmentedError<ApiType>;
|
|
62
|
+
/**
|
|
63
|
+
* Length of website URL exceeds `MaxWebsiteUrlLength`.
|
|
64
|
+
**/
|
|
65
|
+
TooLongWebsiteUrl: AugmentedError<ApiType>;
|
|
66
|
+
/**
|
|
67
|
+
* Number of announcements exceeds `MaxAnnouncementsCount`.
|
|
68
|
+
**/
|
|
69
|
+
TooManyAnnouncements: AugmentedError<ApiType>;
|
|
70
|
+
/**
|
|
71
|
+
* Number of members exceeds `MaxMembersCount`.
|
|
72
|
+
**/
|
|
73
|
+
TooManyMembers: AugmentedError<ApiType>;
|
|
74
|
+
/**
|
|
75
|
+
* The number of unscrupulous items exceeds `MaxUnscrupulousItems`.
|
|
76
|
+
**/
|
|
77
|
+
TooManyUnscrupulousItems: AugmentedError<ApiType>;
|
|
78
|
+
/**
|
|
79
|
+
* This member is up for being kicked from the Alliance and cannot perform this operation.
|
|
80
|
+
**/
|
|
81
|
+
UpForKicking: AugmentedError<ApiType>;
|
|
82
|
+
/**
|
|
83
|
+
* The account's identity has no good judgement.
|
|
84
|
+
**/
|
|
85
|
+
WithoutGoodIdentityJudgement: AugmentedError<ApiType>;
|
|
86
|
+
/**
|
|
87
|
+
* The account's identity does not have display field and website field.
|
|
88
|
+
**/
|
|
89
|
+
WithoutIdentityDisplayAndWebsite: AugmentedError<ApiType>;
|
|
90
|
+
/**
|
|
91
|
+
* Generic error
|
|
92
|
+
**/
|
|
93
|
+
[key: string]: AugmentedError<ApiType>;
|
|
94
|
+
};
|
|
95
|
+
allianceMotion: {
|
|
96
|
+
/**
|
|
97
|
+
* Members are already initialized!
|
|
98
|
+
**/
|
|
99
|
+
AlreadyInitialized: AugmentedError<ApiType>;
|
|
100
|
+
/**
|
|
101
|
+
* Duplicate proposals not allowed
|
|
102
|
+
**/
|
|
103
|
+
DuplicateProposal: AugmentedError<ApiType>;
|
|
104
|
+
/**
|
|
105
|
+
* Duplicate vote ignored
|
|
106
|
+
**/
|
|
107
|
+
DuplicateVote: AugmentedError<ApiType>;
|
|
108
|
+
/**
|
|
109
|
+
* Account is not a member
|
|
110
|
+
**/
|
|
111
|
+
NotMember: AugmentedError<ApiType>;
|
|
112
|
+
/**
|
|
113
|
+
* Proposal must exist
|
|
114
|
+
**/
|
|
115
|
+
ProposalMissing: AugmentedError<ApiType>;
|
|
116
|
+
/**
|
|
117
|
+
* The close call was made too early, before the end of the voting.
|
|
118
|
+
**/
|
|
119
|
+
TooEarly: AugmentedError<ApiType>;
|
|
120
|
+
/**
|
|
121
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
122
|
+
**/
|
|
123
|
+
TooManyProposals: AugmentedError<ApiType>;
|
|
124
|
+
/**
|
|
125
|
+
* Mismatched index
|
|
126
|
+
**/
|
|
127
|
+
WrongIndex: AugmentedError<ApiType>;
|
|
128
|
+
/**
|
|
129
|
+
* The given length bound for the proposal was too low.
|
|
130
|
+
**/
|
|
131
|
+
WrongProposalLength: AugmentedError<ApiType>;
|
|
132
|
+
/**
|
|
133
|
+
* The given weight bound for the proposal was too low.
|
|
134
|
+
**/
|
|
135
|
+
WrongProposalWeight: AugmentedError<ApiType>;
|
|
136
|
+
/**
|
|
137
|
+
* Generic error
|
|
138
|
+
**/
|
|
139
|
+
[key: string]: AugmentedError<ApiType>;
|
|
140
|
+
};
|
|
4
141
|
assets: {
|
|
5
142
|
/**
|
|
6
143
|
* The asset-account already exists.
|
|
@@ -1016,10 +1153,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1016
1153
|
* pool at a time.
|
|
1017
1154
|
**/
|
|
1018
1155
|
AccountBelongsToOtherPool: AugmentedError<ApiType>;
|
|
1019
|
-
/**
|
|
1020
|
-
* The member is already unbonding in this era.
|
|
1021
|
-
**/
|
|
1022
|
-
AlreadyUnbonding: AugmentedError<ApiType>;
|
|
1023
1156
|
/**
|
|
1024
1157
|
* The pools state cannot be changed.
|
|
1025
1158
|
**/
|
|
@@ -1032,7 +1165,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1032
1165
|
* Some error occurred that should never happen. This should be reported to the
|
|
1033
1166
|
* maintainers.
|
|
1034
1167
|
**/
|
|
1035
|
-
|
|
1168
|
+
Defensive: AugmentedError<ApiType>;
|
|
1036
1169
|
/**
|
|
1037
1170
|
* The caller does not have adequate permissions.
|
|
1038
1171
|
**/
|
|
@@ -1042,10 +1175,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1042
1175
|
* anymore to, for example, collect rewards).
|
|
1043
1176
|
**/
|
|
1044
1177
|
FullyUnbonding: AugmentedError<ApiType>;
|
|
1045
|
-
/**
|
|
1046
|
-
* The pool has insufficient balance to bond as a nominator.
|
|
1047
|
-
**/
|
|
1048
|
-
InsufficientBond: AugmentedError<ApiType>;
|
|
1049
1178
|
/**
|
|
1050
1179
|
* Too many members in the pool or system.
|
|
1051
1180
|
**/
|
|
@@ -1189,6 +1318,98 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1189
1318
|
**/
|
|
1190
1319
|
[key: string]: AugmentedError<ApiType>;
|
|
1191
1320
|
};
|
|
1321
|
+
rankedCollective: {
|
|
1322
|
+
/**
|
|
1323
|
+
* Account is already a member.
|
|
1324
|
+
**/
|
|
1325
|
+
AlreadyMember: AugmentedError<ApiType>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Unexpected error in state.
|
|
1328
|
+
**/
|
|
1329
|
+
Corruption: AugmentedError<ApiType>;
|
|
1330
|
+
/**
|
|
1331
|
+
* The information provided is incorrect.
|
|
1332
|
+
**/
|
|
1333
|
+
InvalidWitness: AugmentedError<ApiType>;
|
|
1334
|
+
/**
|
|
1335
|
+
* There are no further records to be removed.
|
|
1336
|
+
**/
|
|
1337
|
+
NoneRemaining: AugmentedError<ApiType>;
|
|
1338
|
+
/**
|
|
1339
|
+
* The origin is not sufficiently privileged to do the operation.
|
|
1340
|
+
**/
|
|
1341
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Account is not a member.
|
|
1344
|
+
**/
|
|
1345
|
+
NotMember: AugmentedError<ApiType>;
|
|
1346
|
+
/**
|
|
1347
|
+
* The given poll index is unknown or has closed.
|
|
1348
|
+
**/
|
|
1349
|
+
NotPolling: AugmentedError<ApiType>;
|
|
1350
|
+
/**
|
|
1351
|
+
* The given poll is still ongoing.
|
|
1352
|
+
**/
|
|
1353
|
+
Ongoing: AugmentedError<ApiType>;
|
|
1354
|
+
/**
|
|
1355
|
+
* The member's rank is too low to vote.
|
|
1356
|
+
**/
|
|
1357
|
+
RankTooLow: AugmentedError<ApiType>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Generic error
|
|
1360
|
+
**/
|
|
1361
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1362
|
+
};
|
|
1363
|
+
rankedPolls: {
|
|
1364
|
+
/**
|
|
1365
|
+
* The referendum index provided is invalid in this context.
|
|
1366
|
+
**/
|
|
1367
|
+
BadReferendum: AugmentedError<ApiType>;
|
|
1368
|
+
/**
|
|
1369
|
+
* The track identifier given was invalid.
|
|
1370
|
+
**/
|
|
1371
|
+
BadTrack: AugmentedError<ApiType>;
|
|
1372
|
+
/**
|
|
1373
|
+
* There are already a full complement of referendums in progress for this track.
|
|
1374
|
+
**/
|
|
1375
|
+
Full: AugmentedError<ApiType>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Referendum's decision deposit is already paid.
|
|
1378
|
+
**/
|
|
1379
|
+
HasDeposit: AugmentedError<ApiType>;
|
|
1380
|
+
/**
|
|
1381
|
+
* The deposit cannot be refunded since none was made.
|
|
1382
|
+
**/
|
|
1383
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
1384
|
+
/**
|
|
1385
|
+
* The deposit refunder is not the depositor.
|
|
1386
|
+
**/
|
|
1387
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1388
|
+
/**
|
|
1389
|
+
* There was nothing to do in the advancement.
|
|
1390
|
+
**/
|
|
1391
|
+
NothingToDo: AugmentedError<ApiType>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Referendum is not ongoing.
|
|
1394
|
+
**/
|
|
1395
|
+
NotOngoing: AugmentedError<ApiType>;
|
|
1396
|
+
/**
|
|
1397
|
+
* No track exists for the proposal origin.
|
|
1398
|
+
**/
|
|
1399
|
+
NoTrack: AugmentedError<ApiType>;
|
|
1400
|
+
/**
|
|
1401
|
+
* The queue of the track is empty.
|
|
1402
|
+
**/
|
|
1403
|
+
QueueEmpty: AugmentedError<ApiType>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
1406
|
+
**/
|
|
1407
|
+
Unfinished: AugmentedError<ApiType>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Generic error
|
|
1410
|
+
**/
|
|
1411
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1412
|
+
};
|
|
1192
1413
|
recovery: {
|
|
1193
1414
|
/**
|
|
1194
1415
|
* This account is already set up for recovery
|
|
@@ -1560,6 +1781,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1560
1781
|
* bad witness data provided.
|
|
1561
1782
|
**/
|
|
1562
1783
|
BadWitness: AugmentedError<ApiType>;
|
|
1784
|
+
/**
|
|
1785
|
+
* A key was longer than the configured maximum.
|
|
1786
|
+
*
|
|
1787
|
+
* This means that the migration halted at the current [`Progress`] and
|
|
1788
|
+
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
1789
|
+
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
1790
|
+
* The value should only be increased to avoid a storage migration for the currently
|
|
1791
|
+
* stored [`crate::Progress::LastKey`].
|
|
1792
|
+
**/
|
|
1793
|
+
KeyTooLong: AugmentedError<ApiType>;
|
|
1563
1794
|
/**
|
|
1564
1795
|
* max signed limits not respected.
|
|
1565
1796
|
**/
|
|
@@ -1680,6 +1911,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1680
1911
|
* Not a member.
|
|
1681
1912
|
**/
|
|
1682
1913
|
NotMember: AugmentedError<ApiType>;
|
|
1914
|
+
/**
|
|
1915
|
+
* Too many members.
|
|
1916
|
+
**/
|
|
1917
|
+
TooManyMembers: AugmentedError<ApiType>;
|
|
1683
1918
|
/**
|
|
1684
1919
|
* Generic error
|
|
1685
1920
|
**/
|
|
@@ -1774,6 +2009,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1774
2009
|
[key: string]: AugmentedError<ApiType>;
|
|
1775
2010
|
};
|
|
1776
2011
|
treasury: {
|
|
2012
|
+
/**
|
|
2013
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2014
|
+
* amount to be spent.
|
|
2015
|
+
**/
|
|
2016
|
+
InsufficientPermission: AugmentedError<ApiType>;
|
|
1777
2017
|
/**
|
|
1778
2018
|
* Proposer's balance is too low.
|
|
1779
2019
|
**/
|