@polkadot/api-augment 10.10.1 → 10.11.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 +8 -8
- package/packageInfo.js +1 -1
- package/substrate/consts.d.ts +88 -24
- package/substrate/errors.d.ts +84 -14
- package/substrate/events.d.ts +148 -16
- package/substrate/query.d.ts +132 -23
- package/substrate/tx.d.ts +101 -35
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.11.2' };
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bugs": "https://github.com/polkadot-js/api/issues",
|
|
4
4
|
"description": "API generated augmentation",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=18"
|
|
7
7
|
},
|
|
8
8
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-augment#readme",
|
|
9
9
|
"license": "Apache-2.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/detectPackage.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.11.2",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -217,12 +217,12 @@
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
"dependencies": {
|
|
220
|
-
"@polkadot/api-base": "10.
|
|
221
|
-
"@polkadot/rpc-augment": "10.
|
|
222
|
-
"@polkadot/types": "10.
|
|
223
|
-
"@polkadot/types-augment": "10.
|
|
224
|
-
"@polkadot/types-codec": "10.
|
|
225
|
-
"@polkadot/util": "^12.
|
|
220
|
+
"@polkadot/api-base": "10.11.2",
|
|
221
|
+
"@polkadot/rpc-augment": "10.11.2",
|
|
222
|
+
"@polkadot/types": "10.11.2",
|
|
223
|
+
"@polkadot/types-augment": "10.11.2",
|
|
224
|
+
"@polkadot/types-codec": "10.11.2",
|
|
225
|
+
"@polkadot/util": "^12.6.2",
|
|
226
226
|
"tslib": "^2.6.2"
|
|
227
227
|
}
|
|
228
228
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.11.2' };
|
package/substrate/consts.d.ts
CHANGED
|
@@ -476,10 +476,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
476
476
|
* to submit the worker's solution.
|
|
477
477
|
**/
|
|
478
478
|
offchainRepeat: u32 & AugmentedConst<ApiType>;
|
|
479
|
-
/**
|
|
480
|
-
* Base deposit for a signed solution.
|
|
481
|
-
**/
|
|
482
|
-
signedDepositBase: u128 & AugmentedConst<ApiType>;
|
|
483
479
|
/**
|
|
484
480
|
* Per-byte deposit for a signed solution.
|
|
485
481
|
**/
|
|
@@ -631,14 +627,9 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
631
627
|
**/
|
|
632
628
|
basicDeposit: u128 & AugmentedConst<ApiType>;
|
|
633
629
|
/**
|
|
634
|
-
* The amount held on deposit per
|
|
635
|
-
**/
|
|
636
|
-
fieldDeposit: u128 & AugmentedConst<ApiType>;
|
|
637
|
-
/**
|
|
638
|
-
* Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
|
|
639
|
-
* required to access an identity, but can be pretty high.
|
|
630
|
+
* The amount held on deposit per encoded byte for a registered identity.
|
|
640
631
|
**/
|
|
641
|
-
|
|
632
|
+
byteDeposit: u128 & AugmentedConst<ApiType>;
|
|
642
633
|
/**
|
|
643
634
|
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
|
644
635
|
* of, e.g., updating judgements.
|
|
@@ -730,6 +721,58 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
730
721
|
**/
|
|
731
722
|
[key: string]: Codec;
|
|
732
723
|
};
|
|
724
|
+
mixnet: {
|
|
725
|
+
/**
|
|
726
|
+
* The maximum number of authorities per session.
|
|
727
|
+
**/
|
|
728
|
+
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
|
729
|
+
/**
|
|
730
|
+
* The maximum number of external addresses for a mixnode.
|
|
731
|
+
**/
|
|
732
|
+
maxExternalAddressesPerMixnode: u32 & AugmentedConst<ApiType>;
|
|
733
|
+
/**
|
|
734
|
+
* The maximum size of one of a mixnode's external addresses.
|
|
735
|
+
**/
|
|
736
|
+
maxExternalAddressSize: u32 & AugmentedConst<ApiType>;
|
|
737
|
+
/**
|
|
738
|
+
* Minimum number of mixnodes. If there are fewer than this many mixnodes registered for a
|
|
739
|
+
* session, the mixnet will not be active during the session.
|
|
740
|
+
**/
|
|
741
|
+
minMixnodes: u32 & AugmentedConst<ApiType>;
|
|
742
|
+
/**
|
|
743
|
+
* Length of the first phase of each session (`CoverToCurrent`), in blocks.
|
|
744
|
+
**/
|
|
745
|
+
numCoverToCurrentBlocks: u32 & AugmentedConst<ApiType>;
|
|
746
|
+
/**
|
|
747
|
+
* Length of the third phase of each session (`CoverToPrev`), in blocks.
|
|
748
|
+
**/
|
|
749
|
+
numCoverToPrevBlocks: u32 & AugmentedConst<ApiType>;
|
|
750
|
+
/**
|
|
751
|
+
* The number of "slack" blocks at the end of each session.
|
|
752
|
+
* [`maybe_register`](Pallet::maybe_register) will try to register before this slack
|
|
753
|
+
* period, but may post registration transactions during the slack period as a last
|
|
754
|
+
* resort.
|
|
755
|
+
**/
|
|
756
|
+
numRegisterEndSlackBlocks: u32 & AugmentedConst<ApiType>;
|
|
757
|
+
/**
|
|
758
|
+
* The number of "slack" blocks at the start of each session, during which
|
|
759
|
+
* [`maybe_register`](Pallet::maybe_register) will not attempt to post registration
|
|
760
|
+
* transactions.
|
|
761
|
+
**/
|
|
762
|
+
numRegisterStartSlackBlocks: u32 & AugmentedConst<ApiType>;
|
|
763
|
+
/**
|
|
764
|
+
* Length of the second phase of each session (`RequestsToCurrent`), in blocks.
|
|
765
|
+
**/
|
|
766
|
+
numRequestsToCurrentBlocks: u32 & AugmentedConst<ApiType>;
|
|
767
|
+
/**
|
|
768
|
+
* Priority of unsigned transactions used to register mixnodes.
|
|
769
|
+
**/
|
|
770
|
+
registrationPriority: u64 & AugmentedConst<ApiType>;
|
|
771
|
+
/**
|
|
772
|
+
* Generic const
|
|
773
|
+
**/
|
|
774
|
+
[key: string]: Codec;
|
|
775
|
+
};
|
|
733
776
|
multisig: {
|
|
734
777
|
/**
|
|
735
778
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
@@ -924,6 +967,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
924
967
|
* Such a scenario would also be the equivalent of the pool being 90% slashed.
|
|
925
968
|
**/
|
|
926
969
|
maxPointsToBalance: u8 & AugmentedConst<ApiType>;
|
|
970
|
+
/**
|
|
971
|
+
* The maximum number of simultaneous unbonding chunks that can exist per member.
|
|
972
|
+
**/
|
|
973
|
+
maxUnbonding: u32 & AugmentedConst<ApiType>;
|
|
927
974
|
/**
|
|
928
975
|
* The nomination pool's pallet id.
|
|
929
976
|
**/
|
|
@@ -1251,8 +1298,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1251
1298
|
* Following information is kept for eras in `[current_era -
|
|
1252
1299
|
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
|
|
1253
1300
|
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
|
|
1254
|
-
* `ErasTotalStake`, `ErasStartSessionIndex`,
|
|
1255
|
-
* `
|
|
1301
|
+
* `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
|
|
1302
|
+
* `ErasStakersOverview`.
|
|
1256
1303
|
*
|
|
1257
1304
|
* Must be more than the number of eras delayed by session.
|
|
1258
1305
|
* I.e. active era must always be in history. I.e. `active_era >
|
|
@@ -1262,19 +1309,26 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1262
1309
|
* this should be set to same value or greater as in storage.
|
|
1263
1310
|
*
|
|
1264
1311
|
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
|
|
1265
|
-
* item `StakingLedger.
|
|
1312
|
+
* item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
|
|
1266
1313
|
* the existing value can lead to inconsistencies in the
|
|
1267
1314
|
* `StakingLedger` and will need to be handled properly in a migration.
|
|
1268
1315
|
* The test `reducing_history_depth_abrupt` shows this effect.
|
|
1269
1316
|
**/
|
|
1270
1317
|
historyDepth: u32 & AugmentedConst<ApiType>;
|
|
1271
1318
|
/**
|
|
1272
|
-
* The maximum
|
|
1319
|
+
* The maximum size of each `T::ExposurePage`.
|
|
1320
|
+
*
|
|
1321
|
+
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
|
1322
|
+
* nominators.
|
|
1273
1323
|
*
|
|
1274
|
-
* For
|
|
1275
|
-
*
|
|
1324
|
+
* For older non-paged exposure, a reward payout was restricted to the top
|
|
1325
|
+
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
|
1326
|
+
* nominator payout.
|
|
1327
|
+
*
|
|
1328
|
+
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
|
|
1329
|
+
* without handling it in a migration.
|
|
1276
1330
|
**/
|
|
1277
|
-
|
|
1331
|
+
maxExposurePageSize: u32 & AugmentedConst<ApiType>;
|
|
1278
1332
|
/**
|
|
1279
1333
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
1280
1334
|
* have. Effectively determines how many unique eras a staker may be
|
|
@@ -1410,10 +1464,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1410
1464
|
};
|
|
1411
1465
|
timestamp: {
|
|
1412
1466
|
/**
|
|
1413
|
-
* The minimum period between blocks.
|
|
1414
|
-
*
|
|
1415
|
-
*
|
|
1416
|
-
*
|
|
1467
|
+
* The minimum period between blocks.
|
|
1468
|
+
*
|
|
1469
|
+
* Be aware that this is different to the *expected* period that the block production
|
|
1470
|
+
* apparatus provides. Your chosen consensus system will generally work with this to
|
|
1471
|
+
* determine a sensible block time. For example, in the Aura pallet it will be double this
|
|
1472
|
+
* period on default settings.
|
|
1417
1473
|
**/
|
|
1418
1474
|
minimumPeriod: u64 & AugmentedConst<ApiType>;
|
|
1419
1475
|
/**
|
|
@@ -1432,6 +1488,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1432
1488
|
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
|
1433
1489
|
**/
|
|
1434
1490
|
maximumReasonLength: u32 & AugmentedConst<ApiType>;
|
|
1491
|
+
/**
|
|
1492
|
+
* The maximum amount for a single tip.
|
|
1493
|
+
**/
|
|
1494
|
+
maxTipAmount: u128 & AugmentedConst<ApiType>;
|
|
1435
1495
|
/**
|
|
1436
1496
|
* The period for which a tip remains open after is has achieved threshold tippers.
|
|
1437
1497
|
**/
|
|
@@ -1451,10 +1511,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1451
1511
|
};
|
|
1452
1512
|
transactionPayment: {
|
|
1453
1513
|
/**
|
|
1454
|
-
* A fee
|
|
1514
|
+
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
1455
1515
|
* `priority`
|
|
1456
1516
|
*
|
|
1457
|
-
* This value is
|
|
1517
|
+
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
|
1458
1518
|
* added to a tip component in regular `priority` calculations.
|
|
1459
1519
|
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
1460
1520
|
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
@@ -1494,6 +1554,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1494
1554
|
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
1495
1555
|
**/
|
|
1496
1556
|
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
1557
|
+
/**
|
|
1558
|
+
* The period during which an approved treasury spend has to be claimed.
|
|
1559
|
+
**/
|
|
1560
|
+
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
|
1497
1561
|
/**
|
|
1498
1562
|
* Fraction of a proposal's value that should be bonded in order to place the proposal.
|
|
1499
1563
|
* An accepted proposal gets these back. A rejected proposal does not.
|
package/substrate/errors.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
100
100
|
/**
|
|
101
101
|
* The account's identity does not have display field and website field.
|
|
102
102
|
**/
|
|
103
|
-
|
|
103
|
+
WithoutRequiredIdentityFields: AugmentedError<ApiType>;
|
|
104
104
|
/**
|
|
105
105
|
* Generic error
|
|
106
106
|
**/
|
|
@@ -794,6 +794,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
794
794
|
* The size defined in `T::MaxValueSize` was exceeded.
|
|
795
795
|
**/
|
|
796
796
|
ValueTooLarge: AugmentedError<ApiType>;
|
|
797
|
+
/**
|
|
798
|
+
* Failed to decode the XCM program.
|
|
799
|
+
**/
|
|
800
|
+
XCMDecodeFailed: AugmentedError<ApiType>;
|
|
797
801
|
/**
|
|
798
802
|
* Generic error
|
|
799
803
|
**/
|
|
@@ -1332,10 +1336,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1332
1336
|
* Sticky judgement.
|
|
1333
1337
|
**/
|
|
1334
1338
|
StickyJudgement: AugmentedError<ApiType>;
|
|
1335
|
-
/**
|
|
1336
|
-
* Too many additional fields.
|
|
1337
|
-
**/
|
|
1338
|
-
TooManyFields: AugmentedError<ApiType>;
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
1341
1341
|
**/
|
|
@@ -1455,6 +1455,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1455
1455
|
* This can change at any time and may resolve in the future by re-trying.
|
|
1456
1456
|
**/
|
|
1457
1457
|
QueuePaused: AugmentedError<ApiType>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
1460
|
+
**/
|
|
1461
|
+
RecursiveDisallowed: AugmentedError<ApiType>;
|
|
1458
1462
|
/**
|
|
1459
1463
|
* This message is temporarily unprocessable.
|
|
1460
1464
|
*
|
|
@@ -1879,9 +1883,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1879
1883
|
/**
|
|
1880
1884
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
1881
1885
|
*
|
|
1882
|
-
* The depositor can never unbond to a value less than
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
1886
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
1887
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1888
|
+
* value below `MinJoinBond`.
|
|
1885
1889
|
**/
|
|
1886
1890
|
MinimumBondNotMet: AugmentedError<ApiType>;
|
|
1887
1891
|
/**
|
|
@@ -1897,6 +1901,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1897
1901
|
* other members to be permissionlessly unbonded.
|
|
1898
1902
|
**/
|
|
1899
1903
|
NotDestroying: AugmentedError<ApiType>;
|
|
1904
|
+
/**
|
|
1905
|
+
* No imbalance in the ED deposit for the pool.
|
|
1906
|
+
**/
|
|
1907
|
+
NothingToAdjust: AugmentedError<ApiType>;
|
|
1900
1908
|
/**
|
|
1901
1909
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1902
1910
|
**/
|
|
@@ -2056,6 +2064,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2056
2064
|
* Preimage is too large to store on-chain.
|
|
2057
2065
|
**/
|
|
2058
2066
|
TooBig: AugmentedError<ApiType>;
|
|
2067
|
+
/**
|
|
2068
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
2069
|
+
**/
|
|
2070
|
+
TooFew: AugmentedError<ApiType>;
|
|
2071
|
+
/**
|
|
2072
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
2073
|
+
**/
|
|
2074
|
+
TooMany: AugmentedError<ApiType>;
|
|
2059
2075
|
/**
|
|
2060
2076
|
* Generic error
|
|
2061
2077
|
**/
|
|
@@ -2653,6 +2669,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2653
2669
|
* Commission is too low. Must be at least `MinCommission`.
|
|
2654
2670
|
**/
|
|
2655
2671
|
CommissionTooLow: AugmentedError<ApiType>;
|
|
2672
|
+
/**
|
|
2673
|
+
* Used when attempting to use deprecated controller account logic.
|
|
2674
|
+
**/
|
|
2675
|
+
ControllerDeprecated: AugmentedError<ApiType>;
|
|
2656
2676
|
/**
|
|
2657
2677
|
* Duplicate index.
|
|
2658
2678
|
**/
|
|
@@ -2687,6 +2707,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2687
2707
|
* Invalid number of nominations.
|
|
2688
2708
|
**/
|
|
2689
2709
|
InvalidNumberOfNominations: AugmentedError<ApiType>;
|
|
2710
|
+
/**
|
|
2711
|
+
* No nominators exist on this page.
|
|
2712
|
+
**/
|
|
2713
|
+
InvalidPage: AugmentedError<ApiType>;
|
|
2690
2714
|
/**
|
|
2691
2715
|
* Slash record index out of bounds.
|
|
2692
2716
|
**/
|
|
@@ -2768,7 +2792,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2768
2792
|
};
|
|
2769
2793
|
sudo: {
|
|
2770
2794
|
/**
|
|
2771
|
-
* Sender must be the Sudo account
|
|
2795
|
+
* Sender must be the Sudo account.
|
|
2772
2796
|
**/
|
|
2773
2797
|
RequireSudo: AugmentedError<ApiType>;
|
|
2774
2798
|
/**
|
|
@@ -2781,6 +2805,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2781
2805
|
* The origin filter prevent the call to be dispatched.
|
|
2782
2806
|
**/
|
|
2783
2807
|
CallFiltered: AugmentedError<ApiType>;
|
|
2808
|
+
/**
|
|
2809
|
+
* The specified [`Task`] failed during execution.
|
|
2810
|
+
**/
|
|
2811
|
+
FailedTask: AugmentedError<ApiType>;
|
|
2784
2812
|
/**
|
|
2785
2813
|
* Failed to extract the runtime version from the new runtime.
|
|
2786
2814
|
*
|
|
@@ -2792,6 +2820,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2792
2820
|
* and the new runtime.
|
|
2793
2821
|
**/
|
|
2794
2822
|
InvalidSpecName: AugmentedError<ApiType>;
|
|
2823
|
+
/**
|
|
2824
|
+
* The specified [`Task`] is not valid.
|
|
2825
|
+
**/
|
|
2826
|
+
InvalidTask: AugmentedError<ApiType>;
|
|
2795
2827
|
/**
|
|
2796
2828
|
* Suicide called when the account has non-default composite data.
|
|
2797
2829
|
**/
|
|
@@ -2810,6 +2842,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2810
2842
|
**/
|
|
2811
2843
|
[key: string]: AugmentedError<ApiType>;
|
|
2812
2844
|
};
|
|
2845
|
+
tasksExample: {
|
|
2846
|
+
/**
|
|
2847
|
+
* The referenced task was not found.
|
|
2848
|
+
**/
|
|
2849
|
+
NotFound: AugmentedError<ApiType>;
|
|
2850
|
+
/**
|
|
2851
|
+
* Generic error
|
|
2852
|
+
**/
|
|
2853
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2854
|
+
};
|
|
2813
2855
|
technicalCommittee: {
|
|
2814
2856
|
/**
|
|
2815
2857
|
* Members are already initialized!
|
|
@@ -2883,6 +2925,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2883
2925
|
* The tip was already found/started.
|
|
2884
2926
|
**/
|
|
2885
2927
|
AlreadyKnown: AugmentedError<ApiType>;
|
|
2928
|
+
/**
|
|
2929
|
+
* The tip given was too generous.
|
|
2930
|
+
**/
|
|
2931
|
+
MaxTipAmountExceeded: AugmentedError<ApiType>;
|
|
2886
2932
|
/**
|
|
2887
2933
|
* The account attempting to retract the tip is not the finder of the tip.
|
|
2888
2934
|
**/
|
|
@@ -2921,10 +2967,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2921
2967
|
* Attempting to store empty transaction
|
|
2922
2968
|
**/
|
|
2923
2969
|
EmptyTransaction: AugmentedError<ApiType>;
|
|
2924
|
-
/**
|
|
2925
|
-
* Insufficient account balance.
|
|
2926
|
-
**/
|
|
2927
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
2928
2970
|
/**
|
|
2929
2971
|
* Proof failed verification.
|
|
2930
2972
|
**/
|
|
@@ -2967,6 +3009,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2967
3009
|
[key: string]: AugmentedError<ApiType>;
|
|
2968
3010
|
};
|
|
2969
3011
|
treasury: {
|
|
3012
|
+
/**
|
|
3013
|
+
* The payment has already been attempted.
|
|
3014
|
+
**/
|
|
3015
|
+
AlreadyAttempted: AugmentedError<ApiType>;
|
|
3016
|
+
/**
|
|
3017
|
+
* The spend is not yet eligible for payout.
|
|
3018
|
+
**/
|
|
3019
|
+
EarlyPayout: AugmentedError<ApiType>;
|
|
3020
|
+
/**
|
|
3021
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
3022
|
+
**/
|
|
3023
|
+
FailedToConvertBalance: AugmentedError<ApiType>;
|
|
3024
|
+
/**
|
|
3025
|
+
* The payment has neither failed nor succeeded yet.
|
|
3026
|
+
**/
|
|
3027
|
+
Inconclusive: AugmentedError<ApiType>;
|
|
2970
3028
|
/**
|
|
2971
3029
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2972
3030
|
* amount to be spent.
|
|
@@ -2977,13 +3035,25 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2977
3035
|
**/
|
|
2978
3036
|
InsufficientProposersBalance: AugmentedError<ApiType>;
|
|
2979
3037
|
/**
|
|
2980
|
-
* No proposal or
|
|
3038
|
+
* No proposal, bounty or spend at that index.
|
|
2981
3039
|
**/
|
|
2982
3040
|
InvalidIndex: AugmentedError<ApiType>;
|
|
3041
|
+
/**
|
|
3042
|
+
* The payout was not yet attempted/claimed.
|
|
3043
|
+
**/
|
|
3044
|
+
NotAttempted: AugmentedError<ApiType>;
|
|
3045
|
+
/**
|
|
3046
|
+
* There was some issue with the mechanism of payment.
|
|
3047
|
+
**/
|
|
3048
|
+
PayoutError: AugmentedError<ApiType>;
|
|
2983
3049
|
/**
|
|
2984
3050
|
* Proposal has not been approved.
|
|
2985
3051
|
**/
|
|
2986
3052
|
ProposalNotApproved: AugmentedError<ApiType>;
|
|
3053
|
+
/**
|
|
3054
|
+
* The spend has expired and cannot be claimed.
|
|
3055
|
+
**/
|
|
3056
|
+
SpendExpired: AugmentedError<ApiType>;
|
|
2987
3057
|
/**
|
|
2988
3058
|
* Too many approvals in the queue.
|
|
2989
3059
|
**/
|