@galacticcouncil/descriptors 1.7.0 → 1.9.0
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/build/common-types.d.ts +9195 -4367
- package/build/descriptors-XM6FUHC6.mjs +29 -0
- package/build/hub.d.ts +2047 -475
- package/build/hub_metadata-VJMVMCZ3.mjs +6 -0
- package/build/hydration.d.ts +17 -6
- package/build/{hydration_metadata-O7WNNEDP.mjs → hydration_metadata-KGTJ7Y2K.mjs} +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +48 -8
- package/build/index.mjs +50 -10
- package/build/metadataTypes-FWGCMXKE.mjs +6 -0
- package/build/metadataTypes.d.ts +1 -1
- package/package.json +2 -2
- package/build/descriptors-I7ZFETXF.mjs +0 -29
- package/build/hub_metadata-YPWNLSXS.mjs +0 -6
- package/build/metadataTypes-EDB66P6C.mjs +0 -6
package/build/hub.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StorageDescriptor, PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeBinary, Binary, FixedSizeArray } from "polkadot-api";
|
|
2
|
-
import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2,
|
|
2
|
+
import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, Iao1hke3bdbg7j, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I4q39t5hn830vp, I3qklfjubrljqh, Iag3f1hum3p4c8, I7svnfko10tq2e, I4s6jkha20aoh0, I2brm5b9jij1st, I78s05f59eoi8b, If9iqq7i64mur8, I4v5g6i7bmt06o, I84bhscllvv07n, In7a38730s6qs, If15el53dd76v9, I9s0ave7t0vnrk, I4fo08joqmcqnm, Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, Ic357tcepuvo5c, I2rnoam876ruhj, Ic5b47dj4coa3r, Ib3qnc19gu633c, Ifira6u9hi7cu1, I72tqocvdoqfff, I2i27f3sfmvc05, I1nlrtd1epki2d, I3abtumcmempjs, Id81m8flopt8ha, I8hff7chabggkd, I49i39mtj1ivbs, Ifkr2kcak2vto1, I1ju6r8q0cs9jt, I4kpeq6j7cd5bu, I5na1ka76k6811, I59mhdb9omdqfa, I9vl5kpk0fpakt, I717jt61hu19b4, I7f7v8192r1lmq, I5r8t4iaend96p, Ie2db4l6126rkt, Ictkqqlhdjt761, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, Iek7ha36da9mf5, I9mrsespe1jciv, I1ndeq00vn7nno, I1ot6qmf1h8h63, Iov7b207cnpr7, I35p85j063s0il, I5vv5n03oo8gas } from "./common-types";
|
|
3
3
|
type AnonymousEnum<T extends {}> = T & {
|
|
4
4
|
__anonymous: true;
|
|
5
5
|
};
|
|
@@ -61,7 +61,7 @@ type IStorage = {
|
|
|
61
61
|
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
62
62
|
* just in case someone still reads them from within the runtime.
|
|
63
63
|
*/
|
|
64
|
-
Events: StorageDescriptor<[], Anonymize<
|
|
64
|
+
Events: StorageDescriptor<[], Anonymize<Iao1hke3bdbg7j>, false, never>;
|
|
65
65
|
/**
|
|
66
66
|
* The number of events in the `Events<T>` list.
|
|
67
67
|
*/
|
|
@@ -147,21 +147,21 @@ type IStorage = {
|
|
|
147
147
|
/**
|
|
148
148
|
* Details of an asset.
|
|
149
149
|
*/
|
|
150
|
-
Asset: StorageDescriptor<[Key: Anonymize<
|
|
150
|
+
Asset: StorageDescriptor<[Key: Anonymize<If9iqq7i64mur8>], Anonymize<I3qklfjubrljqh>, true, never>;
|
|
151
151
|
/**
|
|
152
152
|
* The holdings of a specific account for a specific asset.
|
|
153
153
|
*/
|
|
154
|
-
Account: StorageDescriptor<Anonymize<
|
|
154
|
+
Account: StorageDescriptor<Anonymize<I4v5g6i7bmt06o>, Anonymize<Iag3f1hum3p4c8>, true, never>;
|
|
155
155
|
/**
|
|
156
156
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
|
157
157
|
* is the amount of `T::Currency` reserved for storing this.
|
|
158
158
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
159
159
|
*/
|
|
160
|
-
Approvals: StorageDescriptor<Anonymize<
|
|
160
|
+
Approvals: StorageDescriptor<Anonymize<I84bhscllvv07n>, Anonymize<I4s6jkha20aoh0>, true, never>;
|
|
161
161
|
/**
|
|
162
162
|
* Metadata of an asset.
|
|
163
163
|
*/
|
|
164
|
-
Metadata: StorageDescriptor<[Key: Anonymize<
|
|
164
|
+
Metadata: StorageDescriptor<[Key: Anonymize<If9iqq7i64mur8>], Anonymize<I78s05f59eoi8b>, false, never>;
|
|
165
165
|
/**
|
|
166
166
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
167
167
|
* item has no effect.
|
|
@@ -173,7 +173,7 @@ type IStorage = {
|
|
|
173
173
|
* The initial next asset ID can be set using the [`GenesisConfig`] or the
|
|
174
174
|
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
|
|
175
175
|
*/
|
|
176
|
-
NextAssetId: StorageDescriptor<[], Anonymize<
|
|
176
|
+
NextAssetId: StorageDescriptor<[], Anonymize<If9iqq7i64mur8>, true, never>;
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
179
|
type ICalls = {
|
|
@@ -462,6 +462,556 @@ type ICalls = {
|
|
|
462
462
|
*/
|
|
463
463
|
remove_all_authorized_aliases: TxDescriptor<undefined>;
|
|
464
464
|
};
|
|
465
|
+
Assets: {
|
|
466
|
+
/**
|
|
467
|
+
* Issue a new class of fungible assets from a public origin.
|
|
468
|
+
*
|
|
469
|
+
* This new asset class has no assets initially and its owner is the origin.
|
|
470
|
+
*
|
|
471
|
+
* The origin must conform to the configured `CreateOrigin` and have sufficient funds free.
|
|
472
|
+
*
|
|
473
|
+
* Funds of sender are reserved by `AssetDeposit`.
|
|
474
|
+
*
|
|
475
|
+
* Parameters:
|
|
476
|
+
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
477
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
478
|
+
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
479
|
+
* member of the asset class's admin team.
|
|
480
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
481
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
482
|
+
*
|
|
483
|
+
* Emits `Created` event when successful.
|
|
484
|
+
*
|
|
485
|
+
* Weight: `O(1)`
|
|
486
|
+
*/
|
|
487
|
+
create: TxDescriptor<Anonymize<Ic357tcepuvo5c>>;
|
|
488
|
+
/**
|
|
489
|
+
* Issue a new class of fungible assets from a privileged origin.
|
|
490
|
+
*
|
|
491
|
+
* This new asset class has no assets initially.
|
|
492
|
+
*
|
|
493
|
+
* The origin must conform to `ForceOrigin`.
|
|
494
|
+
*
|
|
495
|
+
* Unlike `create`, no funds are reserved.
|
|
496
|
+
*
|
|
497
|
+
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
498
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
499
|
+
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
500
|
+
* over this asset, but may later change and configure the permissions using
|
|
501
|
+
* `transfer_ownership` and `set_team`.
|
|
502
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
503
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
504
|
+
*
|
|
505
|
+
* Emits `ForceCreated` event when successful.
|
|
506
|
+
*
|
|
507
|
+
* Weight: `O(1)`
|
|
508
|
+
*/
|
|
509
|
+
force_create: TxDescriptor<Anonymize<I2rnoam876ruhj>>;
|
|
510
|
+
/**
|
|
511
|
+
* Start the process of destroying a fungible asset class.
|
|
512
|
+
*
|
|
513
|
+
* `start_destroy` is the first in a series of extrinsics that should be called, to allow
|
|
514
|
+
* destruction of an asset class.
|
|
515
|
+
*
|
|
516
|
+
* The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.
|
|
517
|
+
*
|
|
518
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
519
|
+
* asset.
|
|
520
|
+
*
|
|
521
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
522
|
+
* an account contains holds or freezes in place.
|
|
523
|
+
*/
|
|
524
|
+
start_destroy: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
525
|
+
/**
|
|
526
|
+
* Destroy all accounts associated with a given asset.
|
|
527
|
+
*
|
|
528
|
+
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
|
|
529
|
+
* asset is in a `Destroying` state.
|
|
530
|
+
*
|
|
531
|
+
* Due to weight restrictions, this function may need to be called multiple times to fully
|
|
532
|
+
* destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.
|
|
533
|
+
*
|
|
534
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
535
|
+
* asset.
|
|
536
|
+
*
|
|
537
|
+
* Each call emits the `Event::DestroyedAccounts` event.
|
|
538
|
+
*/
|
|
539
|
+
destroy_accounts: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
540
|
+
/**
|
|
541
|
+
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
542
|
+
*
|
|
543
|
+
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
|
|
544
|
+
* asset is in a `Destroying` state.
|
|
545
|
+
*
|
|
546
|
+
* Due to weight restrictions, this function may need to be called multiple times to fully
|
|
547
|
+
* destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.
|
|
548
|
+
*
|
|
549
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
550
|
+
* asset.
|
|
551
|
+
*
|
|
552
|
+
* Each call emits the `Event::DestroyedApprovals` event.
|
|
553
|
+
*/
|
|
554
|
+
destroy_approvals: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
555
|
+
/**
|
|
556
|
+
* Complete destroying asset and unreserve currency.
|
|
557
|
+
*
|
|
558
|
+
* `finish_destroy` should only be called after `start_destroy` has been called, and the
|
|
559
|
+
* asset is in a `Destroying` state. All accounts or approvals should be destroyed before
|
|
560
|
+
* hand.
|
|
561
|
+
*
|
|
562
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
563
|
+
* asset.
|
|
564
|
+
*
|
|
565
|
+
* Each successful call emits the `Event::Destroyed` event.
|
|
566
|
+
*/
|
|
567
|
+
finish_destroy: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
568
|
+
/**
|
|
569
|
+
* Mint assets of a particular class.
|
|
570
|
+
*
|
|
571
|
+
* The origin must be Signed and the sender must be the Issuer of the asset `id`.
|
|
572
|
+
*
|
|
573
|
+
* - `id`: The identifier of the asset to have some amount minted.
|
|
574
|
+
* - `beneficiary`: The account to be credited with the minted assets.
|
|
575
|
+
* - `amount`: The amount of the asset to be minted.
|
|
576
|
+
*
|
|
577
|
+
* Emits `Issued` event when successful.
|
|
578
|
+
*
|
|
579
|
+
* Weight: `O(1)`
|
|
580
|
+
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
581
|
+
*/
|
|
582
|
+
mint: TxDescriptor<Anonymize<Ib3qnc19gu633c>>;
|
|
583
|
+
/**
|
|
584
|
+
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
585
|
+
*
|
|
586
|
+
* Origin must be Signed and the sender should be the Manager of the asset `id`.
|
|
587
|
+
*
|
|
588
|
+
* Bails with `NoAccount` if the `who` is already dead.
|
|
589
|
+
*
|
|
590
|
+
* - `id`: The identifier of the asset to have some amount burned.
|
|
591
|
+
* - `who`: The account to be debited from.
|
|
592
|
+
* - `amount`: The maximum amount by which `who`'s balance should be reduced.
|
|
593
|
+
*
|
|
594
|
+
* Emits `Burned` with the actual amount burned. If this takes the balance to below the
|
|
595
|
+
* minimum for the asset, then the amount burned is increased to take it to zero.
|
|
596
|
+
*
|
|
597
|
+
* Weight: `O(1)`
|
|
598
|
+
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
599
|
+
*/
|
|
600
|
+
burn: TxDescriptor<Anonymize<Ifira6u9hi7cu1>>;
|
|
601
|
+
/**
|
|
602
|
+
* Move some assets from the sender account to another.
|
|
603
|
+
*
|
|
604
|
+
* Origin must be Signed.
|
|
605
|
+
*
|
|
606
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
607
|
+
* - `target`: The account to be credited.
|
|
608
|
+
* - `amount`: The amount by which the sender's balance of assets should be reduced and
|
|
609
|
+
* `target`'s balance increased. The amount actually transferred may be slightly greater in
|
|
610
|
+
* the case that the transfer would otherwise take the sender balance above zero but below
|
|
611
|
+
* the minimum balance. Must be greater than zero.
|
|
612
|
+
*
|
|
613
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
614
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
615
|
+
* to zero.
|
|
616
|
+
*
|
|
617
|
+
* Weight: `O(1)`
|
|
618
|
+
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
619
|
+
* `target`.
|
|
620
|
+
*/
|
|
621
|
+
transfer: TxDescriptor<Anonymize<I72tqocvdoqfff>>;
|
|
622
|
+
/**
|
|
623
|
+
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
624
|
+
*
|
|
625
|
+
* Origin must be Signed.
|
|
626
|
+
*
|
|
627
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
628
|
+
* - `target`: The account to be credited.
|
|
629
|
+
* - `amount`: The amount by which the sender's balance of assets should be reduced and
|
|
630
|
+
* `target`'s balance increased. The amount actually transferred may be slightly greater in
|
|
631
|
+
* the case that the transfer would otherwise take the sender balance above zero but below
|
|
632
|
+
* the minimum balance. Must be greater than zero.
|
|
633
|
+
*
|
|
634
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
635
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
636
|
+
* to zero.
|
|
637
|
+
*
|
|
638
|
+
* Weight: `O(1)`
|
|
639
|
+
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
640
|
+
* `target`.
|
|
641
|
+
*/
|
|
642
|
+
transfer_keep_alive: TxDescriptor<Anonymize<I72tqocvdoqfff>>;
|
|
643
|
+
/**
|
|
644
|
+
* Move some assets from one account to another.
|
|
645
|
+
*
|
|
646
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
647
|
+
*
|
|
648
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
649
|
+
* - `source`: The account to be debited.
|
|
650
|
+
* - `dest`: The account to be credited.
|
|
651
|
+
* - `amount`: The amount by which the `source`'s balance of assets should be reduced and
|
|
652
|
+
* `dest`'s balance increased. The amount actually transferred may be slightly greater in
|
|
653
|
+
* the case that the transfer would otherwise take the `source` balance above zero but
|
|
654
|
+
* below the minimum balance. Must be greater than zero.
|
|
655
|
+
*
|
|
656
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
657
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
658
|
+
* to zero.
|
|
659
|
+
*
|
|
660
|
+
* Weight: `O(1)`
|
|
661
|
+
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
|
|
662
|
+
* `dest`.
|
|
663
|
+
*/
|
|
664
|
+
force_transfer: TxDescriptor<Anonymize<I2i27f3sfmvc05>>;
|
|
665
|
+
/**
|
|
666
|
+
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
667
|
+
* must already exist as an entry in `Account`s of the asset. If you want to freeze an
|
|
668
|
+
* account that does not have an entry, use `touch_other` first.
|
|
669
|
+
*
|
|
670
|
+
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
|
671
|
+
*
|
|
672
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
673
|
+
* - `who`: The account to be frozen.
|
|
674
|
+
*
|
|
675
|
+
* Emits `Frozen`.
|
|
676
|
+
*
|
|
677
|
+
* Weight: `O(1)`
|
|
678
|
+
*/
|
|
679
|
+
freeze: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
|
|
680
|
+
/**
|
|
681
|
+
* Allow unprivileged transfers to and from an account again.
|
|
682
|
+
*
|
|
683
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
684
|
+
*
|
|
685
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
686
|
+
* - `who`: The account to be unfrozen.
|
|
687
|
+
*
|
|
688
|
+
* Emits `Thawed`.
|
|
689
|
+
*
|
|
690
|
+
* Weight: `O(1)`
|
|
691
|
+
*/
|
|
692
|
+
thaw: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
|
|
693
|
+
/**
|
|
694
|
+
* Disallow further unprivileged transfers for the asset class.
|
|
695
|
+
*
|
|
696
|
+
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
|
697
|
+
*
|
|
698
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
699
|
+
*
|
|
700
|
+
* Emits `Frozen`.
|
|
701
|
+
*
|
|
702
|
+
* Weight: `O(1)`
|
|
703
|
+
*/
|
|
704
|
+
freeze_asset: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
705
|
+
/**
|
|
706
|
+
* Allow unprivileged transfers for the asset again.
|
|
707
|
+
*
|
|
708
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
709
|
+
*
|
|
710
|
+
* - `id`: The identifier of the asset to be thawed.
|
|
711
|
+
*
|
|
712
|
+
* Emits `Thawed`.
|
|
713
|
+
*
|
|
714
|
+
* Weight: `O(1)`
|
|
715
|
+
*/
|
|
716
|
+
thaw_asset: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
717
|
+
/**
|
|
718
|
+
* Change the Owner of an asset.
|
|
719
|
+
*
|
|
720
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
721
|
+
*
|
|
722
|
+
* - `id`: The identifier of the asset.
|
|
723
|
+
* - `owner`: The new Owner of this asset.
|
|
724
|
+
*
|
|
725
|
+
* Emits `OwnerChanged`.
|
|
726
|
+
*
|
|
727
|
+
* Weight: `O(1)`
|
|
728
|
+
*/
|
|
729
|
+
transfer_ownership: TxDescriptor<Anonymize<I3abtumcmempjs>>;
|
|
730
|
+
/**
|
|
731
|
+
* Change the Issuer, Admin and Freezer of an asset.
|
|
732
|
+
*
|
|
733
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
734
|
+
*
|
|
735
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
736
|
+
* - `issuer`: The new Issuer of this asset.
|
|
737
|
+
* - `admin`: The new Admin of this asset.
|
|
738
|
+
* - `freezer`: The new Freezer of this asset.
|
|
739
|
+
*
|
|
740
|
+
* Emits `TeamChanged`.
|
|
741
|
+
*
|
|
742
|
+
* Weight: `O(1)`
|
|
743
|
+
*/
|
|
744
|
+
set_team: TxDescriptor<Anonymize<Id81m8flopt8ha>>;
|
|
745
|
+
/**
|
|
746
|
+
* Set the metadata for an asset.
|
|
747
|
+
*
|
|
748
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
749
|
+
*
|
|
750
|
+
* Funds of sender are reserved according to the formula:
|
|
751
|
+
* `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into
|
|
752
|
+
* account any already reserved funds.
|
|
753
|
+
*
|
|
754
|
+
* - `id`: The identifier of the asset to update.
|
|
755
|
+
* - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
|
|
756
|
+
* - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
|
|
757
|
+
* - `decimals`: The number of decimals this asset uses to represent one unit.
|
|
758
|
+
*
|
|
759
|
+
* Emits `MetadataSet`.
|
|
760
|
+
*
|
|
761
|
+
* Weight: `O(1)`
|
|
762
|
+
*/
|
|
763
|
+
set_metadata: TxDescriptor<Anonymize<I8hff7chabggkd>>;
|
|
764
|
+
/**
|
|
765
|
+
* Clear the metadata for an asset.
|
|
766
|
+
*
|
|
767
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
768
|
+
*
|
|
769
|
+
* Any deposit is freed for the asset owner.
|
|
770
|
+
*
|
|
771
|
+
* - `id`: The identifier of the asset to clear.
|
|
772
|
+
*
|
|
773
|
+
* Emits `MetadataCleared`.
|
|
774
|
+
*
|
|
775
|
+
* Weight: `O(1)`
|
|
776
|
+
*/
|
|
777
|
+
clear_metadata: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
778
|
+
/**
|
|
779
|
+
* Force the metadata for an asset to some value.
|
|
780
|
+
*
|
|
781
|
+
* Origin must be ForceOrigin.
|
|
782
|
+
*
|
|
783
|
+
* Any deposit is left alone.
|
|
784
|
+
*
|
|
785
|
+
* - `id`: The identifier of the asset to update.
|
|
786
|
+
* - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
|
|
787
|
+
* - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
|
|
788
|
+
* - `decimals`: The number of decimals this asset uses to represent one unit.
|
|
789
|
+
*
|
|
790
|
+
* Emits `MetadataSet`.
|
|
791
|
+
*
|
|
792
|
+
* Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
|
|
793
|
+
*/
|
|
794
|
+
force_set_metadata: TxDescriptor<Anonymize<I49i39mtj1ivbs>>;
|
|
795
|
+
/**
|
|
796
|
+
* Clear the metadata for an asset.
|
|
797
|
+
*
|
|
798
|
+
* Origin must be ForceOrigin.
|
|
799
|
+
*
|
|
800
|
+
* Any deposit is returned.
|
|
801
|
+
*
|
|
802
|
+
* - `id`: The identifier of the asset to clear.
|
|
803
|
+
*
|
|
804
|
+
* Emits `MetadataCleared`.
|
|
805
|
+
*
|
|
806
|
+
* Weight: `O(1)`
|
|
807
|
+
*/
|
|
808
|
+
force_clear_metadata: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
809
|
+
/**
|
|
810
|
+
* Alter the attributes of a given asset.
|
|
811
|
+
*
|
|
812
|
+
* Origin must be `ForceOrigin`.
|
|
813
|
+
*
|
|
814
|
+
* - `id`: The identifier of the asset.
|
|
815
|
+
* - `owner`: The new Owner of this asset.
|
|
816
|
+
* - `issuer`: The new Issuer of this asset.
|
|
817
|
+
* - `admin`: The new Admin of this asset.
|
|
818
|
+
* - `freezer`: The new Freezer of this asset.
|
|
819
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
820
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
821
|
+
* - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient
|
|
822
|
+
* value to account for the state bloat associated with its balance storage. If set to
|
|
823
|
+
* `true`, then non-zero balances may be stored without a `consumer` reference (and thus
|
|
824
|
+
* an ED in the Balances pallet or whatever else is used to control user-account state
|
|
825
|
+
* growth).
|
|
826
|
+
* - `is_frozen`: Whether this asset class is frozen except for permissioned/admin
|
|
827
|
+
* instructions.
|
|
828
|
+
*
|
|
829
|
+
* Emits `AssetStatusChanged` with the identity of the asset.
|
|
830
|
+
*
|
|
831
|
+
* Weight: `O(1)`
|
|
832
|
+
*/
|
|
833
|
+
force_asset_status: TxDescriptor<Anonymize<Ifkr2kcak2vto1>>;
|
|
834
|
+
/**
|
|
835
|
+
* Approve an amount of asset for transfer by a delegated third-party account.
|
|
836
|
+
*
|
|
837
|
+
* Origin must be Signed.
|
|
838
|
+
*
|
|
839
|
+
* Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account
|
|
840
|
+
* for the purpose of holding the approval. If some non-zero amount of assets is already
|
|
841
|
+
* approved from signing account to `delegate`, then it is topped up or unreserved to
|
|
842
|
+
* meet the right value.
|
|
843
|
+
*
|
|
844
|
+
* NOTE: The signing account does not need to own `amount` of assets at the point of
|
|
845
|
+
* making this call.
|
|
846
|
+
*
|
|
847
|
+
* - `id`: The identifier of the asset.
|
|
848
|
+
* - `delegate`: The account to delegate permission to transfer asset.
|
|
849
|
+
* - `amount`: The amount of asset that may be transferred by `delegate`. If there is
|
|
850
|
+
* already an approval in place, then this acts additively.
|
|
851
|
+
*
|
|
852
|
+
* Emits `ApprovedTransfer` on success.
|
|
853
|
+
*
|
|
854
|
+
* Weight: `O(1)`
|
|
855
|
+
*/
|
|
856
|
+
approve_transfer: TxDescriptor<Anonymize<I1ju6r8q0cs9jt>>;
|
|
857
|
+
/**
|
|
858
|
+
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
859
|
+
*
|
|
860
|
+
* Origin must be Signed and there must be an approval in place between signer and
|
|
861
|
+
* `delegate`.
|
|
862
|
+
*
|
|
863
|
+
* Unreserves any deposit previously reserved by `approve_transfer` for the approval.
|
|
864
|
+
*
|
|
865
|
+
* - `id`: The identifier of the asset.
|
|
866
|
+
* - `delegate`: The account delegated permission to transfer asset.
|
|
867
|
+
*
|
|
868
|
+
* Emits `ApprovalCancelled` on success.
|
|
869
|
+
*
|
|
870
|
+
* Weight: `O(1)`
|
|
871
|
+
*/
|
|
872
|
+
cancel_approval: TxDescriptor<Anonymize<I4kpeq6j7cd5bu>>;
|
|
873
|
+
/**
|
|
874
|
+
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
875
|
+
*
|
|
876
|
+
* Origin must be either ForceOrigin or Signed origin with the signer being the Admin
|
|
877
|
+
* account of the asset `id`.
|
|
878
|
+
*
|
|
879
|
+
* Unreserves any deposit previously reserved by `approve_transfer` for the approval.
|
|
880
|
+
*
|
|
881
|
+
* - `id`: The identifier of the asset.
|
|
882
|
+
* - `delegate`: The account delegated permission to transfer asset.
|
|
883
|
+
*
|
|
884
|
+
* Emits `ApprovalCancelled` on success.
|
|
885
|
+
*
|
|
886
|
+
* Weight: `O(1)`
|
|
887
|
+
*/
|
|
888
|
+
force_cancel_approval: TxDescriptor<Anonymize<I5na1ka76k6811>>;
|
|
889
|
+
/**
|
|
890
|
+
* Transfer some asset balance from a previously delegated account to some third-party
|
|
891
|
+
* account.
|
|
892
|
+
*
|
|
893
|
+
* Origin must be Signed and there must be an approval in place by the `owner` to the
|
|
894
|
+
* signer.
|
|
895
|
+
*
|
|
896
|
+
* If the entire amount approved for transfer is transferred, then any deposit previously
|
|
897
|
+
* reserved by `approve_transfer` is unreserved.
|
|
898
|
+
*
|
|
899
|
+
* - `id`: The identifier of the asset.
|
|
900
|
+
* - `owner`: The account which previously approved for a transfer of at least `amount` and
|
|
901
|
+
* from which the asset balance will be withdrawn.
|
|
902
|
+
* - `destination`: The account to which the asset balance of `amount` will be transferred.
|
|
903
|
+
* - `amount`: The amount of assets to transfer.
|
|
904
|
+
*
|
|
905
|
+
* Emits `TransferredApproved` on success.
|
|
906
|
+
*
|
|
907
|
+
* Weight: `O(1)`
|
|
908
|
+
*/
|
|
909
|
+
transfer_approved: TxDescriptor<Anonymize<I59mhdb9omdqfa>>;
|
|
910
|
+
/**
|
|
911
|
+
* Create an asset account for non-provider assets.
|
|
912
|
+
*
|
|
913
|
+
* A deposit will be taken from the signer account.
|
|
914
|
+
*
|
|
915
|
+
* - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
|
|
916
|
+
* to be taken.
|
|
917
|
+
* - `id`: The identifier of the asset for the account to be created.
|
|
918
|
+
*
|
|
919
|
+
* Emits `Touched` event when successful.
|
|
920
|
+
*/
|
|
921
|
+
touch: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
|
|
922
|
+
/**
|
|
923
|
+
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
924
|
+
* account.
|
|
925
|
+
*
|
|
926
|
+
* The origin must be Signed.
|
|
927
|
+
*
|
|
928
|
+
* - `id`: The identifier of the asset for which the caller would like the deposit
|
|
929
|
+
* refunded.
|
|
930
|
+
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
|
931
|
+
*
|
|
932
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
933
|
+
* the asset account contains holds or freezes in place.
|
|
934
|
+
*
|
|
935
|
+
* Emits `Refunded` event when successful.
|
|
936
|
+
*/
|
|
937
|
+
refund: TxDescriptor<Anonymize<I9vl5kpk0fpakt>>;
|
|
938
|
+
/**
|
|
939
|
+
* Sets the minimum balance of an asset.
|
|
940
|
+
*
|
|
941
|
+
* Only works if there aren't any accounts that are holding the asset or if
|
|
942
|
+
* the new value of `min_balance` is less than the old one.
|
|
943
|
+
*
|
|
944
|
+
* Origin must be Signed and the sender has to be the Owner of the
|
|
945
|
+
* asset `id`.
|
|
946
|
+
*
|
|
947
|
+
* - `id`: The identifier of the asset.
|
|
948
|
+
* - `min_balance`: The new value of `min_balance`.
|
|
949
|
+
*
|
|
950
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
951
|
+
*/
|
|
952
|
+
set_min_balance: TxDescriptor<Anonymize<I717jt61hu19b4>>;
|
|
953
|
+
/**
|
|
954
|
+
* Create an asset account for `who`.
|
|
955
|
+
*
|
|
956
|
+
* A deposit will be taken from the signer account.
|
|
957
|
+
*
|
|
958
|
+
* - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
|
|
959
|
+
* must have sufficient funds for a deposit to be taken.
|
|
960
|
+
* - `id`: The identifier of the asset for the account to be created.
|
|
961
|
+
* - `who`: The account to be created.
|
|
962
|
+
*
|
|
963
|
+
* Emits `Touched` event when successful.
|
|
964
|
+
*/
|
|
965
|
+
touch_other: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
|
|
966
|
+
/**
|
|
967
|
+
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
968
|
+
*
|
|
969
|
+
* The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
|
|
970
|
+
* order to burn a non-zero balance of the asset, the caller must be the account and should
|
|
971
|
+
* use `refund`.
|
|
972
|
+
*
|
|
973
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
974
|
+
* - `who`: The account to refund.
|
|
975
|
+
*
|
|
976
|
+
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
977
|
+
* the asset account contains holds or freezes in place.
|
|
978
|
+
*
|
|
979
|
+
* Emits `Refunded` event when successful.
|
|
980
|
+
*/
|
|
981
|
+
refund_other: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
|
|
982
|
+
/**
|
|
983
|
+
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
984
|
+
*
|
|
985
|
+
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
|
986
|
+
*
|
|
987
|
+
* - `id`: The identifier of the account's asset.
|
|
988
|
+
* - `who`: The account to be unblocked.
|
|
989
|
+
*
|
|
990
|
+
* Emits `Blocked`.
|
|
991
|
+
*
|
|
992
|
+
* Weight: `O(1)`
|
|
993
|
+
*/
|
|
994
|
+
block: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
|
|
995
|
+
/**
|
|
996
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
997
|
+
*
|
|
998
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
999
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
1000
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
1001
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
1002
|
+
* deposits, etc...
|
|
1003
|
+
*
|
|
1004
|
+
* The dispatch origin of this call must be Signed.
|
|
1005
|
+
*
|
|
1006
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
1007
|
+
* - `dest`: The recipient of the transfer.
|
|
1008
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
1009
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
1010
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
1011
|
+
* guarantee to keep the sender asset account alive (true).
|
|
1012
|
+
*/
|
|
1013
|
+
transfer_all: TxDescriptor<Anonymize<I7f7v8192r1lmq>>;
|
|
1014
|
+
};
|
|
465
1015
|
};
|
|
466
1016
|
type IEvent = {};
|
|
467
1017
|
type IError = {
|
|
@@ -498,6 +1048,14 @@ type IError = {
|
|
|
498
1048
|
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
499
1049
|
*/
|
|
500
1050
|
MultiBlockMigrationsOngoing: PlainDescriptor<undefined>;
|
|
1051
|
+
/**
|
|
1052
|
+
* The specified [`Task`] is not valid.
|
|
1053
|
+
*/
|
|
1054
|
+
InvalidTask: PlainDescriptor<undefined>;
|
|
1055
|
+
/**
|
|
1056
|
+
* The specified [`Task`] failed during execution.
|
|
1057
|
+
*/
|
|
1058
|
+
FailedTask: PlainDescriptor<undefined>;
|
|
501
1059
|
/**
|
|
502
1060
|
* No upgrade authorized.
|
|
503
1061
|
*/
|
|
@@ -534,6 +1092,62 @@ type IError = {
|
|
|
534
1092
|
*/
|
|
535
1093
|
NotScheduled: PlainDescriptor<undefined>;
|
|
536
1094
|
};
|
|
1095
|
+
Preimage: {
|
|
1096
|
+
/**
|
|
1097
|
+
* Preimage is too large to store on-chain.
|
|
1098
|
+
*/
|
|
1099
|
+
TooBig: PlainDescriptor<undefined>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Preimage has already been noted on-chain.
|
|
1102
|
+
*/
|
|
1103
|
+
AlreadyNoted: PlainDescriptor<undefined>;
|
|
1104
|
+
/**
|
|
1105
|
+
* The user is not authorized to perform this action.
|
|
1106
|
+
*/
|
|
1107
|
+
NotAuthorized: PlainDescriptor<undefined>;
|
|
1108
|
+
/**
|
|
1109
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
1110
|
+
*/
|
|
1111
|
+
NotNoted: PlainDescriptor<undefined>;
|
|
1112
|
+
/**
|
|
1113
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
1114
|
+
*/
|
|
1115
|
+
Requested: PlainDescriptor<undefined>;
|
|
1116
|
+
/**
|
|
1117
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
1118
|
+
*/
|
|
1119
|
+
NotRequested: PlainDescriptor<undefined>;
|
|
1120
|
+
/**
|
|
1121
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
1122
|
+
*/
|
|
1123
|
+
TooMany: PlainDescriptor<undefined>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
1126
|
+
*/
|
|
1127
|
+
TooFew: PlainDescriptor<undefined>;
|
|
1128
|
+
};
|
|
1129
|
+
Scheduler: {
|
|
1130
|
+
/**
|
|
1131
|
+
* Failed to schedule a call
|
|
1132
|
+
*/
|
|
1133
|
+
FailedToSchedule: PlainDescriptor<undefined>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Cannot find the scheduled call.
|
|
1136
|
+
*/
|
|
1137
|
+
NotFound: PlainDescriptor<undefined>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Given target block number is in the past.
|
|
1140
|
+
*/
|
|
1141
|
+
TargetBlockNumberInPast: PlainDescriptor<undefined>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Reschedule failed because it does not change scheduled time.
|
|
1144
|
+
*/
|
|
1145
|
+
RescheduleNoChange: PlainDescriptor<undefined>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Attempt to use a non-named function on a named task.
|
|
1148
|
+
*/
|
|
1149
|
+
Named: PlainDescriptor<undefined>;
|
|
1150
|
+
};
|
|
537
1151
|
Balances: {
|
|
538
1152
|
/**
|
|
539
1153
|
* Vesting balance too high to send value.
|
|
@@ -607,27 +1221,54 @@ type IError = {
|
|
|
607
1221
|
*/
|
|
608
1222
|
InvalidScheduleParams: PlainDescriptor<undefined>;
|
|
609
1223
|
};
|
|
610
|
-
|
|
1224
|
+
Claims: {
|
|
611
1225
|
/**
|
|
612
|
-
*
|
|
1226
|
+
* Invalid Ethereum signature.
|
|
613
1227
|
*/
|
|
614
|
-
|
|
1228
|
+
InvalidEthereumSignature: PlainDescriptor<undefined>;
|
|
615
1229
|
/**
|
|
616
|
-
*
|
|
1230
|
+
* Ethereum address has no claim.
|
|
617
1231
|
*/
|
|
618
|
-
|
|
1232
|
+
SignerHasNoClaim: PlainDescriptor<undefined>;
|
|
619
1233
|
/**
|
|
620
|
-
* Account
|
|
1234
|
+
* Account ID sending transaction has no claim.
|
|
621
1235
|
*/
|
|
622
|
-
|
|
1236
|
+
SenderHasNoClaim: PlainDescriptor<undefined>;
|
|
623
1237
|
/**
|
|
624
|
-
*
|
|
1238
|
+
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
1239
|
+
* logic error.
|
|
625
1240
|
*/
|
|
626
|
-
|
|
1241
|
+
PotUnderflow: PlainDescriptor<undefined>;
|
|
627
1242
|
/**
|
|
628
|
-
*
|
|
1243
|
+
* A needed statement was not included.
|
|
629
1244
|
*/
|
|
630
|
-
|
|
1245
|
+
InvalidStatement: PlainDescriptor<undefined>;
|
|
1246
|
+
/**
|
|
1247
|
+
* The account already has a vested balance.
|
|
1248
|
+
*/
|
|
1249
|
+
VestedBalanceExists: PlainDescriptor<undefined>;
|
|
1250
|
+
};
|
|
1251
|
+
CollatorSelection: {
|
|
1252
|
+
/**
|
|
1253
|
+
* The pallet has too many candidates.
|
|
1254
|
+
*/
|
|
1255
|
+
TooManyCandidates: PlainDescriptor<undefined>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Leaving would result in too few candidates.
|
|
1258
|
+
*/
|
|
1259
|
+
TooFewEligibleCollators: PlainDescriptor<undefined>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Account is already a candidate.
|
|
1262
|
+
*/
|
|
1263
|
+
AlreadyCandidate: PlainDescriptor<undefined>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Account is not a candidate.
|
|
1266
|
+
*/
|
|
1267
|
+
NotCandidate: PlainDescriptor<undefined>;
|
|
1268
|
+
/**
|
|
1269
|
+
* There are too many Invulnerables.
|
|
1270
|
+
*/
|
|
1271
|
+
TooManyInvulnerables: PlainDescriptor<undefined>;
|
|
631
1272
|
/**
|
|
632
1273
|
* Account is already an Invulnerable.
|
|
633
1274
|
*/
|
|
@@ -800,858 +1441,1768 @@ type IError = {
|
|
|
800
1441
|
/**
|
|
801
1442
|
* A remote lock with the corresponding data could not be found.
|
|
802
1443
|
*/
|
|
803
|
-
LockNotFound: PlainDescriptor<undefined>;
|
|
1444
|
+
LockNotFound: PlainDescriptor<undefined>;
|
|
1445
|
+
/**
|
|
1446
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
1447
|
+
*/
|
|
1448
|
+
InUse: PlainDescriptor<undefined>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
1451
|
+
*/
|
|
1452
|
+
InvalidAssetUnknownReserve: PlainDescriptor<undefined>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
1455
|
+
*/
|
|
1456
|
+
InvalidAssetUnsupportedReserve: PlainDescriptor<undefined>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
1459
|
+
*/
|
|
1460
|
+
TooManyReserves: PlainDescriptor<undefined>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Local XCM execution incomplete.
|
|
1463
|
+
*/
|
|
1464
|
+
LocalExecutionIncomplete: PlainDescriptor<undefined>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Too many locations authorized to alias origin.
|
|
1467
|
+
*/
|
|
1468
|
+
TooManyAuthorizedAliases: PlainDescriptor<undefined>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Expiry block number is in the past.
|
|
1471
|
+
*/
|
|
1472
|
+
ExpiresInPast: PlainDescriptor<undefined>;
|
|
1473
|
+
/**
|
|
1474
|
+
* The alias to remove authorization for was not found.
|
|
1475
|
+
*/
|
|
1476
|
+
AliasNotFound: PlainDescriptor<undefined>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
1479
|
+
* instruction that caused the error.
|
|
1480
|
+
*/
|
|
1481
|
+
LocalExecutionIncompleteWithError: PlainDescriptor<Anonymize<I5r8t4iaend96p>>;
|
|
1482
|
+
};
|
|
1483
|
+
MessageQueue: {
|
|
1484
|
+
/**
|
|
1485
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1486
|
+
* enough.
|
|
1487
|
+
*/
|
|
1488
|
+
NotReapable: PlainDescriptor<undefined>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Page to be reaped does not exist.
|
|
1491
|
+
*/
|
|
1492
|
+
NoPage: PlainDescriptor<undefined>;
|
|
1493
|
+
/**
|
|
1494
|
+
* The referenced message could not be found.
|
|
1495
|
+
*/
|
|
1496
|
+
NoMessage: PlainDescriptor<undefined>;
|
|
1497
|
+
/**
|
|
1498
|
+
* The message was already processed and cannot be processed again.
|
|
1499
|
+
*/
|
|
1500
|
+
AlreadyProcessed: PlainDescriptor<undefined>;
|
|
1501
|
+
/**
|
|
1502
|
+
* The message is queued for future execution.
|
|
1503
|
+
*/
|
|
1504
|
+
Queued: PlainDescriptor<undefined>;
|
|
1505
|
+
/**
|
|
1506
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
1507
|
+
*/
|
|
1508
|
+
InsufficientWeight: PlainDescriptor<undefined>;
|
|
1509
|
+
/**
|
|
1510
|
+
* This message is temporarily unprocessable.
|
|
1511
|
+
*
|
|
1512
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
1513
|
+
* retrying.
|
|
1514
|
+
*/
|
|
1515
|
+
TemporarilyUnprocessable: PlainDescriptor<undefined>;
|
|
1516
|
+
/**
|
|
1517
|
+
* The queue is paused and no message can be executed from it.
|
|
1518
|
+
*
|
|
1519
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
1520
|
+
*/
|
|
1521
|
+
QueuePaused: PlainDescriptor<undefined>;
|
|
1522
|
+
/**
|
|
1523
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
1524
|
+
*/
|
|
1525
|
+
RecursiveDisallowed: PlainDescriptor<undefined>;
|
|
1526
|
+
};
|
|
1527
|
+
SnowbridgeSystemFrontend: {
|
|
1528
|
+
/**
|
|
1529
|
+
* Convert versioned location failure
|
|
1530
|
+
*/
|
|
1531
|
+
UnsupportedLocationVersion: PlainDescriptor<undefined>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Check location failure, should start from the dispatch origin as owner
|
|
1534
|
+
*/
|
|
1535
|
+
InvalidAssetOwner: PlainDescriptor<undefined>;
|
|
1536
|
+
/**
|
|
1537
|
+
* Send xcm message failure
|
|
1538
|
+
*/
|
|
1539
|
+
SendFailure: PlainDescriptor<undefined>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Withdraw fee asset failure
|
|
1542
|
+
*/
|
|
1543
|
+
FeesNotMet: PlainDescriptor<undefined>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Convert to reanchored location failure
|
|
1546
|
+
*/
|
|
1547
|
+
LocationConversionFailed: PlainDescriptor<undefined>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Message export is halted
|
|
1550
|
+
*/
|
|
1551
|
+
Halted: PlainDescriptor<undefined>;
|
|
1552
|
+
/**
|
|
1553
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
1554
|
+
* to it.
|
|
1555
|
+
*/
|
|
1556
|
+
Unreachable: PlainDescriptor<undefined>;
|
|
1557
|
+
/**
|
|
1558
|
+
* The asset provided for the tip is unsupported.
|
|
1559
|
+
*/
|
|
1560
|
+
UnsupportedAsset: PlainDescriptor<undefined>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Unable to withdraw asset.
|
|
1563
|
+
*/
|
|
1564
|
+
WithdrawError: PlainDescriptor<undefined>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Account could not be converted to a location.
|
|
1567
|
+
*/
|
|
1568
|
+
InvalidAccount: PlainDescriptor<undefined>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Provided tip asset could not be swapped for ether.
|
|
1571
|
+
*/
|
|
1572
|
+
SwapError: PlainDescriptor<undefined>;
|
|
1573
|
+
/**
|
|
1574
|
+
* Ether could not be burned.
|
|
1575
|
+
*/
|
|
1576
|
+
BurnError: PlainDescriptor<undefined>;
|
|
1577
|
+
/**
|
|
1578
|
+
* The tip provided is zero.
|
|
1579
|
+
*/
|
|
1580
|
+
TipAmountZero: PlainDescriptor<undefined>;
|
|
1581
|
+
};
|
|
1582
|
+
Utility: {
|
|
1583
|
+
/**
|
|
1584
|
+
* Too many calls batched.
|
|
1585
|
+
*/
|
|
1586
|
+
TooManyCalls: PlainDescriptor<undefined>;
|
|
1587
|
+
};
|
|
1588
|
+
Multisig: {
|
|
1589
|
+
/**
|
|
1590
|
+
* Threshold must be 2 or greater.
|
|
1591
|
+
*/
|
|
1592
|
+
MinimumThreshold: PlainDescriptor<undefined>;
|
|
1593
|
+
/**
|
|
1594
|
+
* Call is already approved by this signatory.
|
|
1595
|
+
*/
|
|
1596
|
+
AlreadyApproved: PlainDescriptor<undefined>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Call doesn't need any (more) approvals.
|
|
1599
|
+
*/
|
|
1600
|
+
NoApprovalsNeeded: PlainDescriptor<undefined>;
|
|
1601
|
+
/**
|
|
1602
|
+
* There are too few signatories in the list.
|
|
1603
|
+
*/
|
|
1604
|
+
TooFewSignatories: PlainDescriptor<undefined>;
|
|
1605
|
+
/**
|
|
1606
|
+
* There are too many signatories in the list.
|
|
1607
|
+
*/
|
|
1608
|
+
TooManySignatories: PlainDescriptor<undefined>;
|
|
1609
|
+
/**
|
|
1610
|
+
* The signatories were provided out of order; they should be ordered.
|
|
1611
|
+
*/
|
|
1612
|
+
SignatoriesOutOfOrder: PlainDescriptor<undefined>;
|
|
1613
|
+
/**
|
|
1614
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
1615
|
+
*/
|
|
1616
|
+
SenderInSignatories: PlainDescriptor<undefined>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Multisig operation not found in storage.
|
|
1619
|
+
*/
|
|
1620
|
+
NotFound: PlainDescriptor<undefined>;
|
|
1621
|
+
/**
|
|
1622
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
1623
|
+
* its deposits.
|
|
1624
|
+
*/
|
|
1625
|
+
NotOwner: PlainDescriptor<undefined>;
|
|
1626
|
+
/**
|
|
1627
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
1628
|
+
*/
|
|
1629
|
+
NoTimepoint: PlainDescriptor<undefined>;
|
|
1630
|
+
/**
|
|
1631
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
1632
|
+
*/
|
|
1633
|
+
WrongTimepoint: PlainDescriptor<undefined>;
|
|
1634
|
+
/**
|
|
1635
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
1636
|
+
*/
|
|
1637
|
+
UnexpectedTimepoint: PlainDescriptor<undefined>;
|
|
1638
|
+
/**
|
|
1639
|
+
* The maximum weight information provided was too low.
|
|
1640
|
+
*/
|
|
1641
|
+
MaxWeightTooLow: PlainDescriptor<undefined>;
|
|
1642
|
+
/**
|
|
1643
|
+
* The data to be stored is already stored.
|
|
1644
|
+
*/
|
|
1645
|
+
AlreadyStored: PlainDescriptor<undefined>;
|
|
1646
|
+
};
|
|
1647
|
+
Proxy: {
|
|
1648
|
+
/**
|
|
1649
|
+
* There are too many proxies registered or too many announcements pending.
|
|
1650
|
+
*/
|
|
1651
|
+
TooMany: PlainDescriptor<undefined>;
|
|
1652
|
+
/**
|
|
1653
|
+
* Proxy registration not found.
|
|
1654
|
+
*/
|
|
1655
|
+
NotFound: PlainDescriptor<undefined>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Sender is not a proxy of the account to be proxied.
|
|
1658
|
+
*/
|
|
1659
|
+
NotProxy: PlainDescriptor<undefined>;
|
|
1660
|
+
/**
|
|
1661
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1662
|
+
*/
|
|
1663
|
+
Unproxyable: PlainDescriptor<undefined>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Account is already a proxy.
|
|
1666
|
+
*/
|
|
1667
|
+
Duplicate: PlainDescriptor<undefined>;
|
|
1668
|
+
/**
|
|
1669
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
1670
|
+
*/
|
|
1671
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
1672
|
+
/**
|
|
1673
|
+
* Announcement, if made at all, was made too recently.
|
|
1674
|
+
*/
|
|
1675
|
+
Unannounced: PlainDescriptor<undefined>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Cannot add self as proxy.
|
|
1678
|
+
*/
|
|
1679
|
+
NoSelfProxy: PlainDescriptor<undefined>;
|
|
1680
|
+
};
|
|
1681
|
+
Indices: {
|
|
1682
|
+
/**
|
|
1683
|
+
* The index was not already assigned.
|
|
1684
|
+
*/
|
|
1685
|
+
NotAssigned: PlainDescriptor<undefined>;
|
|
1686
|
+
/**
|
|
1687
|
+
* The index is assigned to another account.
|
|
1688
|
+
*/
|
|
1689
|
+
NotOwner: PlainDescriptor<undefined>;
|
|
1690
|
+
/**
|
|
1691
|
+
* The index was not available.
|
|
1692
|
+
*/
|
|
1693
|
+
InUse: PlainDescriptor<undefined>;
|
|
1694
|
+
/**
|
|
1695
|
+
* The source and destination accounts are identical.
|
|
1696
|
+
*/
|
|
1697
|
+
NotTransfer: PlainDescriptor<undefined>;
|
|
1698
|
+
/**
|
|
1699
|
+
* The index is permanent and may not be freed/changed.
|
|
1700
|
+
*/
|
|
1701
|
+
Permanent: PlainDescriptor<undefined>;
|
|
1702
|
+
};
|
|
1703
|
+
Assets: {
|
|
1704
|
+
/**
|
|
1705
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
1706
|
+
*/
|
|
1707
|
+
BalanceLow: PlainDescriptor<undefined>;
|
|
1708
|
+
/**
|
|
1709
|
+
* The account to alter does not exist.
|
|
1710
|
+
*/
|
|
1711
|
+
NoAccount: PlainDescriptor<undefined>;
|
|
1712
|
+
/**
|
|
1713
|
+
* The signing account has no permission to do the operation.
|
|
1714
|
+
*/
|
|
1715
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
1716
|
+
/**
|
|
1717
|
+
* The given asset ID is unknown.
|
|
1718
|
+
*/
|
|
1719
|
+
Unknown: PlainDescriptor<undefined>;
|
|
1720
|
+
/**
|
|
1721
|
+
* The origin account is frozen.
|
|
1722
|
+
*/
|
|
1723
|
+
Frozen: PlainDescriptor<undefined>;
|
|
1724
|
+
/**
|
|
1725
|
+
* The asset ID is already taken.
|
|
1726
|
+
*/
|
|
1727
|
+
InUse: PlainDescriptor<undefined>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Invalid witness data given.
|
|
1730
|
+
*/
|
|
1731
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
1732
|
+
/**
|
|
1733
|
+
* Minimum balance should be non-zero.
|
|
1734
|
+
*/
|
|
1735
|
+
MinBalanceZero: PlainDescriptor<undefined>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1738
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1739
|
+
* fewer then the maximum number of consumers has been reached.
|
|
1740
|
+
*/
|
|
1741
|
+
UnavailableConsumer: PlainDescriptor<undefined>;
|
|
1742
|
+
/**
|
|
1743
|
+
* Invalid metadata given.
|
|
1744
|
+
*/
|
|
1745
|
+
BadMetadata: PlainDescriptor<undefined>;
|
|
1746
|
+
/**
|
|
1747
|
+
* No approval exists that would allow the transfer.
|
|
1748
|
+
*/
|
|
1749
|
+
Unapproved: PlainDescriptor<undefined>;
|
|
1750
|
+
/**
|
|
1751
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
1752
|
+
*/
|
|
1753
|
+
WouldDie: PlainDescriptor<undefined>;
|
|
1754
|
+
/**
|
|
1755
|
+
* The asset-account already exists.
|
|
1756
|
+
*/
|
|
1757
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
1758
|
+
/**
|
|
1759
|
+
* The asset-account doesn't have an associated deposit.
|
|
1760
|
+
*/
|
|
1761
|
+
NoDeposit: PlainDescriptor<undefined>;
|
|
1762
|
+
/**
|
|
1763
|
+
* The operation would result in funds being burned.
|
|
1764
|
+
*/
|
|
1765
|
+
WouldBurn: PlainDescriptor<undefined>;
|
|
1766
|
+
/**
|
|
1767
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1768
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1769
|
+
*/
|
|
1770
|
+
LiveAsset: PlainDescriptor<undefined>;
|
|
1771
|
+
/**
|
|
1772
|
+
* The asset is not live, and likely being destroyed.
|
|
1773
|
+
*/
|
|
1774
|
+
AssetNotLive: PlainDescriptor<undefined>;
|
|
1775
|
+
/**
|
|
1776
|
+
* The asset status is not the expected status.
|
|
1777
|
+
*/
|
|
1778
|
+
IncorrectStatus: PlainDescriptor<undefined>;
|
|
1779
|
+
/**
|
|
1780
|
+
* The asset should be frozen before the given operation.
|
|
1781
|
+
*/
|
|
1782
|
+
NotFrozen: PlainDescriptor<undefined>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Callback action resulted in error
|
|
1785
|
+
*/
|
|
1786
|
+
CallbackFailed: PlainDescriptor<undefined>;
|
|
1787
|
+
/**
|
|
1788
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
1789
|
+
*/
|
|
1790
|
+
BadAssetId: PlainDescriptor<undefined>;
|
|
1791
|
+
/**
|
|
1792
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1793
|
+
*/
|
|
1794
|
+
ContainsFreezes: PlainDescriptor<undefined>;
|
|
1795
|
+
/**
|
|
1796
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1797
|
+
*/
|
|
1798
|
+
ContainsHolds: PlainDescriptor<undefined>;
|
|
1799
|
+
};
|
|
1800
|
+
Uniques: {
|
|
1801
|
+
/**
|
|
1802
|
+
* The signing account has no permission to do the operation.
|
|
1803
|
+
*/
|
|
1804
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
1805
|
+
/**
|
|
1806
|
+
* The given item ID is unknown.
|
|
1807
|
+
*/
|
|
1808
|
+
UnknownCollection: PlainDescriptor<undefined>;
|
|
1809
|
+
/**
|
|
1810
|
+
* The item ID has already been used for an item.
|
|
1811
|
+
*/
|
|
1812
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
1813
|
+
/**
|
|
1814
|
+
* The owner turned out to be different to what was expected.
|
|
1815
|
+
*/
|
|
1816
|
+
WrongOwner: PlainDescriptor<undefined>;
|
|
1817
|
+
/**
|
|
1818
|
+
* Invalid witness data given.
|
|
1819
|
+
*/
|
|
1820
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
1821
|
+
/**
|
|
1822
|
+
* The item ID is already taken.
|
|
1823
|
+
*/
|
|
1824
|
+
InUse: PlainDescriptor<undefined>;
|
|
1825
|
+
/**
|
|
1826
|
+
* The item or collection is frozen.
|
|
1827
|
+
*/
|
|
1828
|
+
Frozen: PlainDescriptor<undefined>;
|
|
1829
|
+
/**
|
|
1830
|
+
* The delegate turned out to be different to what was expected.
|
|
1831
|
+
*/
|
|
1832
|
+
WrongDelegate: PlainDescriptor<undefined>;
|
|
1833
|
+
/**
|
|
1834
|
+
* There is no delegate approved.
|
|
1835
|
+
*/
|
|
1836
|
+
NoDelegate: PlainDescriptor<undefined>;
|
|
1837
|
+
/**
|
|
1838
|
+
* No approval exists that would allow the transfer.
|
|
1839
|
+
*/
|
|
1840
|
+
Unapproved: PlainDescriptor<undefined>;
|
|
1841
|
+
/**
|
|
1842
|
+
* The named owner has not signed ownership of the collection is acceptable.
|
|
1843
|
+
*/
|
|
1844
|
+
Unaccepted: PlainDescriptor<undefined>;
|
|
1845
|
+
/**
|
|
1846
|
+
* The item is locked.
|
|
1847
|
+
*/
|
|
1848
|
+
Locked: PlainDescriptor<undefined>;
|
|
1849
|
+
/**
|
|
1850
|
+
* All items have been minted.
|
|
1851
|
+
*/
|
|
1852
|
+
MaxSupplyReached: PlainDescriptor<undefined>;
|
|
1853
|
+
/**
|
|
1854
|
+
* The max supply has already been set.
|
|
1855
|
+
*/
|
|
1856
|
+
MaxSupplyAlreadySet: PlainDescriptor<undefined>;
|
|
1857
|
+
/**
|
|
1858
|
+
* The provided max supply is less to the amount of items a collection already has.
|
|
1859
|
+
*/
|
|
1860
|
+
MaxSupplyTooSmall: PlainDescriptor<undefined>;
|
|
1861
|
+
/**
|
|
1862
|
+
* The given item ID is unknown.
|
|
1863
|
+
*/
|
|
1864
|
+
UnknownItem: PlainDescriptor<undefined>;
|
|
1865
|
+
/**
|
|
1866
|
+
* Item is not for sale.
|
|
1867
|
+
*/
|
|
1868
|
+
NotForSale: PlainDescriptor<undefined>;
|
|
1869
|
+
/**
|
|
1870
|
+
* The provided bid is too low.
|
|
1871
|
+
*/
|
|
1872
|
+
BidTooLow: PlainDescriptor<undefined>;
|
|
1873
|
+
/**
|
|
1874
|
+
* No metadata is found.
|
|
1875
|
+
*/
|
|
1876
|
+
NoMetadata: PlainDescriptor<undefined>;
|
|
1877
|
+
/**
|
|
1878
|
+
* Wrong metadata key/value bytes supplied.
|
|
1879
|
+
*/
|
|
1880
|
+
WrongMetadata: PlainDescriptor<undefined>;
|
|
1881
|
+
/**
|
|
1882
|
+
* An attribute is not found.
|
|
1883
|
+
*/
|
|
1884
|
+
AttributeNotFound: PlainDescriptor<undefined>;
|
|
1885
|
+
/**
|
|
1886
|
+
* Wrong attribute key/value bytes supplied.
|
|
1887
|
+
*/
|
|
1888
|
+
WrongAttribute: PlainDescriptor<undefined>;
|
|
1889
|
+
};
|
|
1890
|
+
Nfts: {
|
|
1891
|
+
/**
|
|
1892
|
+
* The signing account has no permission to do the operation.
|
|
1893
|
+
*/
|
|
1894
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
1895
|
+
/**
|
|
1896
|
+
* The given item ID is unknown.
|
|
1897
|
+
*/
|
|
1898
|
+
UnknownCollection: PlainDescriptor<undefined>;
|
|
1899
|
+
/**
|
|
1900
|
+
* The item ID has already been used for an item.
|
|
1901
|
+
*/
|
|
1902
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
1903
|
+
/**
|
|
1904
|
+
* The approval had a deadline that expired, so the approval isn't valid anymore.
|
|
1905
|
+
*/
|
|
1906
|
+
ApprovalExpired: PlainDescriptor<undefined>;
|
|
1907
|
+
/**
|
|
1908
|
+
* The owner turned out to be different to what was expected.
|
|
1909
|
+
*/
|
|
1910
|
+
WrongOwner: PlainDescriptor<undefined>;
|
|
1911
|
+
/**
|
|
1912
|
+
* The witness data given does not match the current state of the chain.
|
|
1913
|
+
*/
|
|
1914
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
1915
|
+
/**
|
|
1916
|
+
* Collection ID is already taken.
|
|
1917
|
+
*/
|
|
1918
|
+
CollectionIdInUse: PlainDescriptor<undefined>;
|
|
1919
|
+
/**
|
|
1920
|
+
* Items within that collection are non-transferable.
|
|
1921
|
+
*/
|
|
1922
|
+
ItemsNonTransferable: PlainDescriptor<undefined>;
|
|
1923
|
+
/**
|
|
1924
|
+
* The provided account is not a delegate.
|
|
1925
|
+
*/
|
|
1926
|
+
NotDelegate: PlainDescriptor<undefined>;
|
|
1927
|
+
/**
|
|
1928
|
+
* The delegate turned out to be different to what was expected.
|
|
1929
|
+
*/
|
|
1930
|
+
WrongDelegate: PlainDescriptor<undefined>;
|
|
1931
|
+
/**
|
|
1932
|
+
* No approval exists that would allow the transfer.
|
|
1933
|
+
*/
|
|
1934
|
+
Unapproved: PlainDescriptor<undefined>;
|
|
1935
|
+
/**
|
|
1936
|
+
* The named owner has not signed ownership acceptance of the collection.
|
|
1937
|
+
*/
|
|
1938
|
+
Unaccepted: PlainDescriptor<undefined>;
|
|
1939
|
+
/**
|
|
1940
|
+
* The item is locked (non-transferable).
|
|
1941
|
+
*/
|
|
1942
|
+
ItemLocked: PlainDescriptor<undefined>;
|
|
1943
|
+
/**
|
|
1944
|
+
* Item's attributes are locked.
|
|
1945
|
+
*/
|
|
1946
|
+
LockedItemAttributes: PlainDescriptor<undefined>;
|
|
1947
|
+
/**
|
|
1948
|
+
* Collection's attributes are locked.
|
|
1949
|
+
*/
|
|
1950
|
+
LockedCollectionAttributes: PlainDescriptor<undefined>;
|
|
1951
|
+
/**
|
|
1952
|
+
* Item's metadata is locked.
|
|
1953
|
+
*/
|
|
1954
|
+
LockedItemMetadata: PlainDescriptor<undefined>;
|
|
1955
|
+
/**
|
|
1956
|
+
* Collection's metadata is locked.
|
|
1957
|
+
*/
|
|
1958
|
+
LockedCollectionMetadata: PlainDescriptor<undefined>;
|
|
1959
|
+
/**
|
|
1960
|
+
* All items have been minted.
|
|
1961
|
+
*/
|
|
1962
|
+
MaxSupplyReached: PlainDescriptor<undefined>;
|
|
1963
|
+
/**
|
|
1964
|
+
* The max supply is locked and can't be changed.
|
|
1965
|
+
*/
|
|
1966
|
+
MaxSupplyLocked: PlainDescriptor<undefined>;
|
|
1967
|
+
/**
|
|
1968
|
+
* The provided max supply is less than the number of items a collection already has.
|
|
1969
|
+
*/
|
|
1970
|
+
MaxSupplyTooSmall: PlainDescriptor<undefined>;
|
|
1971
|
+
/**
|
|
1972
|
+
* The given item ID is unknown.
|
|
1973
|
+
*/
|
|
1974
|
+
UnknownItem: PlainDescriptor<undefined>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Swap doesn't exist.
|
|
1977
|
+
*/
|
|
1978
|
+
UnknownSwap: PlainDescriptor<undefined>;
|
|
1979
|
+
/**
|
|
1980
|
+
* The given item has no metadata set.
|
|
1981
|
+
*/
|
|
1982
|
+
MetadataNotFound: PlainDescriptor<undefined>;
|
|
1983
|
+
/**
|
|
1984
|
+
* The provided attribute can't be found.
|
|
1985
|
+
*/
|
|
1986
|
+
AttributeNotFound: PlainDescriptor<undefined>;
|
|
1987
|
+
/**
|
|
1988
|
+
* Item is not for sale.
|
|
1989
|
+
*/
|
|
1990
|
+
NotForSale: PlainDescriptor<undefined>;
|
|
1991
|
+
/**
|
|
1992
|
+
* The provided bid is too low.
|
|
1993
|
+
*/
|
|
1994
|
+
BidTooLow: PlainDescriptor<undefined>;
|
|
1995
|
+
/**
|
|
1996
|
+
* The item has reached its approval limit.
|
|
1997
|
+
*/
|
|
1998
|
+
ReachedApprovalLimit: PlainDescriptor<undefined>;
|
|
1999
|
+
/**
|
|
2000
|
+
* The deadline has already expired.
|
|
2001
|
+
*/
|
|
2002
|
+
DeadlineExpired: PlainDescriptor<undefined>;
|
|
2003
|
+
/**
|
|
2004
|
+
* The duration provided should be less than or equal to `MaxDeadlineDuration`.
|
|
2005
|
+
*/
|
|
2006
|
+
WrongDuration: PlainDescriptor<undefined>;
|
|
2007
|
+
/**
|
|
2008
|
+
* The method is disabled by system settings.
|
|
2009
|
+
*/
|
|
2010
|
+
MethodDisabled: PlainDescriptor<undefined>;
|
|
2011
|
+
/**
|
|
2012
|
+
* The provided setting can't be set.
|
|
2013
|
+
*/
|
|
2014
|
+
WrongSetting: PlainDescriptor<undefined>;
|
|
2015
|
+
/**
|
|
2016
|
+
* Item's config already exists and should be equal to the provided one.
|
|
2017
|
+
*/
|
|
2018
|
+
InconsistentItemConfig: PlainDescriptor<undefined>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Config for a collection or an item can't be found.
|
|
2021
|
+
*/
|
|
2022
|
+
NoConfig: PlainDescriptor<undefined>;
|
|
2023
|
+
/**
|
|
2024
|
+
* Some roles were not cleared.
|
|
2025
|
+
*/
|
|
2026
|
+
RolesNotCleared: PlainDescriptor<undefined>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Mint has not started yet.
|
|
2029
|
+
*/
|
|
2030
|
+
MintNotStarted: PlainDescriptor<undefined>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Mint has already ended.
|
|
2033
|
+
*/
|
|
2034
|
+
MintEnded: PlainDescriptor<undefined>;
|
|
2035
|
+
/**
|
|
2036
|
+
* The provided Item was already used for claiming.
|
|
2037
|
+
*/
|
|
2038
|
+
AlreadyClaimed: PlainDescriptor<undefined>;
|
|
2039
|
+
/**
|
|
2040
|
+
* The provided data is incorrect.
|
|
2041
|
+
*/
|
|
2042
|
+
IncorrectData: PlainDescriptor<undefined>;
|
|
2043
|
+
/**
|
|
2044
|
+
* The extrinsic was sent by the wrong origin.
|
|
2045
|
+
*/
|
|
2046
|
+
WrongOrigin: PlainDescriptor<undefined>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The provided signature is incorrect.
|
|
2049
|
+
*/
|
|
2050
|
+
WrongSignature: PlainDescriptor<undefined>;
|
|
2051
|
+
/**
|
|
2052
|
+
* The provided metadata might be too long.
|
|
2053
|
+
*/
|
|
2054
|
+
IncorrectMetadata: PlainDescriptor<undefined>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Can't set more attributes per one call.
|
|
2057
|
+
*/
|
|
2058
|
+
MaxAttributesLimitReached: PlainDescriptor<undefined>;
|
|
2059
|
+
/**
|
|
2060
|
+
* The provided namespace isn't supported in this call.
|
|
2061
|
+
*/
|
|
2062
|
+
WrongNamespace: PlainDescriptor<undefined>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Can't delete non-empty collections.
|
|
2065
|
+
*/
|
|
2066
|
+
CollectionNotEmpty: PlainDescriptor<undefined>;
|
|
2067
|
+
/**
|
|
2068
|
+
* The witness data should be provided.
|
|
2069
|
+
*/
|
|
2070
|
+
WitnessRequired: PlainDescriptor<undefined>;
|
|
2071
|
+
};
|
|
2072
|
+
ForeignAssets: {
|
|
2073
|
+
/**
|
|
2074
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
2075
|
+
*/
|
|
2076
|
+
BalanceLow: PlainDescriptor<undefined>;
|
|
2077
|
+
/**
|
|
2078
|
+
* The account to alter does not exist.
|
|
2079
|
+
*/
|
|
2080
|
+
NoAccount: PlainDescriptor<undefined>;
|
|
2081
|
+
/**
|
|
2082
|
+
* The signing account has no permission to do the operation.
|
|
2083
|
+
*/
|
|
2084
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
2085
|
+
/**
|
|
2086
|
+
* The given asset ID is unknown.
|
|
2087
|
+
*/
|
|
2088
|
+
Unknown: PlainDescriptor<undefined>;
|
|
2089
|
+
/**
|
|
2090
|
+
* The origin account is frozen.
|
|
2091
|
+
*/
|
|
2092
|
+
Frozen: PlainDescriptor<undefined>;
|
|
2093
|
+
/**
|
|
2094
|
+
* The asset ID is already taken.
|
|
2095
|
+
*/
|
|
2096
|
+
InUse: PlainDescriptor<undefined>;
|
|
2097
|
+
/**
|
|
2098
|
+
* Invalid witness data given.
|
|
2099
|
+
*/
|
|
2100
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Minimum balance should be non-zero.
|
|
2103
|
+
*/
|
|
2104
|
+
MinBalanceZero: PlainDescriptor<undefined>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
2107
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
2108
|
+
* fewer then the maximum number of consumers has been reached.
|
|
2109
|
+
*/
|
|
2110
|
+
UnavailableConsumer: PlainDescriptor<undefined>;
|
|
2111
|
+
/**
|
|
2112
|
+
* Invalid metadata given.
|
|
2113
|
+
*/
|
|
2114
|
+
BadMetadata: PlainDescriptor<undefined>;
|
|
2115
|
+
/**
|
|
2116
|
+
* No approval exists that would allow the transfer.
|
|
2117
|
+
*/
|
|
2118
|
+
Unapproved: PlainDescriptor<undefined>;
|
|
2119
|
+
/**
|
|
2120
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
2121
|
+
*/
|
|
2122
|
+
WouldDie: PlainDescriptor<undefined>;
|
|
2123
|
+
/**
|
|
2124
|
+
* The asset-account already exists.
|
|
2125
|
+
*/
|
|
2126
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
2127
|
+
/**
|
|
2128
|
+
* The asset-account doesn't have an associated deposit.
|
|
2129
|
+
*/
|
|
2130
|
+
NoDeposit: PlainDescriptor<undefined>;
|
|
2131
|
+
/**
|
|
2132
|
+
* The operation would result in funds being burned.
|
|
2133
|
+
*/
|
|
2134
|
+
WouldBurn: PlainDescriptor<undefined>;
|
|
2135
|
+
/**
|
|
2136
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
2137
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
2138
|
+
*/
|
|
2139
|
+
LiveAsset: PlainDescriptor<undefined>;
|
|
2140
|
+
/**
|
|
2141
|
+
* The asset is not live, and likely being destroyed.
|
|
2142
|
+
*/
|
|
2143
|
+
AssetNotLive: PlainDescriptor<undefined>;
|
|
2144
|
+
/**
|
|
2145
|
+
* The asset status is not the expected status.
|
|
2146
|
+
*/
|
|
2147
|
+
IncorrectStatus: PlainDescriptor<undefined>;
|
|
2148
|
+
/**
|
|
2149
|
+
* The asset should be frozen before the given operation.
|
|
2150
|
+
*/
|
|
2151
|
+
NotFrozen: PlainDescriptor<undefined>;
|
|
2152
|
+
/**
|
|
2153
|
+
* Callback action resulted in error
|
|
2154
|
+
*/
|
|
2155
|
+
CallbackFailed: PlainDescriptor<undefined>;
|
|
2156
|
+
/**
|
|
2157
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
2158
|
+
*/
|
|
2159
|
+
BadAssetId: PlainDescriptor<undefined>;
|
|
2160
|
+
/**
|
|
2161
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
2162
|
+
*/
|
|
2163
|
+
ContainsFreezes: PlainDescriptor<undefined>;
|
|
2164
|
+
/**
|
|
2165
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
2166
|
+
*/
|
|
2167
|
+
ContainsHolds: PlainDescriptor<undefined>;
|
|
2168
|
+
};
|
|
2169
|
+
PoolAssets: {
|
|
2170
|
+
/**
|
|
2171
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
2172
|
+
*/
|
|
2173
|
+
BalanceLow: PlainDescriptor<undefined>;
|
|
2174
|
+
/**
|
|
2175
|
+
* The account to alter does not exist.
|
|
2176
|
+
*/
|
|
2177
|
+
NoAccount: PlainDescriptor<undefined>;
|
|
2178
|
+
/**
|
|
2179
|
+
* The signing account has no permission to do the operation.
|
|
2180
|
+
*/
|
|
2181
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
2182
|
+
/**
|
|
2183
|
+
* The given asset ID is unknown.
|
|
2184
|
+
*/
|
|
2185
|
+
Unknown: PlainDescriptor<undefined>;
|
|
2186
|
+
/**
|
|
2187
|
+
* The origin account is frozen.
|
|
2188
|
+
*/
|
|
2189
|
+
Frozen: PlainDescriptor<undefined>;
|
|
2190
|
+
/**
|
|
2191
|
+
* The asset ID is already taken.
|
|
2192
|
+
*/
|
|
2193
|
+
InUse: PlainDescriptor<undefined>;
|
|
2194
|
+
/**
|
|
2195
|
+
* Invalid witness data given.
|
|
2196
|
+
*/
|
|
2197
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
2198
|
+
/**
|
|
2199
|
+
* Minimum balance should be non-zero.
|
|
2200
|
+
*/
|
|
2201
|
+
MinBalanceZero: PlainDescriptor<undefined>;
|
|
2202
|
+
/**
|
|
2203
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
2204
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
2205
|
+
* fewer then the maximum number of consumers has been reached.
|
|
2206
|
+
*/
|
|
2207
|
+
UnavailableConsumer: PlainDescriptor<undefined>;
|
|
2208
|
+
/**
|
|
2209
|
+
* Invalid metadata given.
|
|
2210
|
+
*/
|
|
2211
|
+
BadMetadata: PlainDescriptor<undefined>;
|
|
2212
|
+
/**
|
|
2213
|
+
* No approval exists that would allow the transfer.
|
|
2214
|
+
*/
|
|
2215
|
+
Unapproved: PlainDescriptor<undefined>;
|
|
2216
|
+
/**
|
|
2217
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
2218
|
+
*/
|
|
2219
|
+
WouldDie: PlainDescriptor<undefined>;
|
|
2220
|
+
/**
|
|
2221
|
+
* The asset-account already exists.
|
|
2222
|
+
*/
|
|
2223
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
2224
|
+
/**
|
|
2225
|
+
* The asset-account doesn't have an associated deposit.
|
|
2226
|
+
*/
|
|
2227
|
+
NoDeposit: PlainDescriptor<undefined>;
|
|
2228
|
+
/**
|
|
2229
|
+
* The operation would result in funds being burned.
|
|
2230
|
+
*/
|
|
2231
|
+
WouldBurn: PlainDescriptor<undefined>;
|
|
2232
|
+
/**
|
|
2233
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
2234
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
2235
|
+
*/
|
|
2236
|
+
LiveAsset: PlainDescriptor<undefined>;
|
|
2237
|
+
/**
|
|
2238
|
+
* The asset is not live, and likely being destroyed.
|
|
2239
|
+
*/
|
|
2240
|
+
AssetNotLive: PlainDescriptor<undefined>;
|
|
2241
|
+
/**
|
|
2242
|
+
* The asset status is not the expected status.
|
|
2243
|
+
*/
|
|
2244
|
+
IncorrectStatus: PlainDescriptor<undefined>;
|
|
2245
|
+
/**
|
|
2246
|
+
* The asset should be frozen before the given operation.
|
|
2247
|
+
*/
|
|
2248
|
+
NotFrozen: PlainDescriptor<undefined>;
|
|
2249
|
+
/**
|
|
2250
|
+
* Callback action resulted in error
|
|
2251
|
+
*/
|
|
2252
|
+
CallbackFailed: PlainDescriptor<undefined>;
|
|
2253
|
+
/**
|
|
2254
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
2255
|
+
*/
|
|
2256
|
+
BadAssetId: PlainDescriptor<undefined>;
|
|
2257
|
+
/**
|
|
2258
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
2259
|
+
*/
|
|
2260
|
+
ContainsFreezes: PlainDescriptor<undefined>;
|
|
2261
|
+
/**
|
|
2262
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
2263
|
+
*/
|
|
2264
|
+
ContainsHolds: PlainDescriptor<undefined>;
|
|
2265
|
+
};
|
|
2266
|
+
AssetConversion: {
|
|
2267
|
+
/**
|
|
2268
|
+
* Provided asset pair is not supported for pool.
|
|
2269
|
+
*/
|
|
2270
|
+
InvalidAssetPair: PlainDescriptor<undefined>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Pool already exists.
|
|
2273
|
+
*/
|
|
2274
|
+
PoolExists: PlainDescriptor<undefined>;
|
|
2275
|
+
/**
|
|
2276
|
+
* Desired amount can't be zero.
|
|
2277
|
+
*/
|
|
2278
|
+
WrongDesiredAmount: PlainDescriptor<undefined>;
|
|
2279
|
+
/**
|
|
2280
|
+
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
2281
|
+
* minimal amount.
|
|
2282
|
+
*/
|
|
2283
|
+
AmountOneLessThanMinimal: PlainDescriptor<undefined>;
|
|
2284
|
+
/**
|
|
2285
|
+
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
2286
|
+
* minimal amount.
|
|
2287
|
+
*/
|
|
2288
|
+
AmountTwoLessThanMinimal: PlainDescriptor<undefined>;
|
|
2289
|
+
/**
|
|
2290
|
+
* Reserve needs to always be greater than or equal to the existential deposit/asset's
|
|
2291
|
+
* minimal amount.
|
|
2292
|
+
*/
|
|
2293
|
+
ReserveLeftLessThanMinimal: PlainDescriptor<undefined>;
|
|
2294
|
+
/**
|
|
2295
|
+
* Desired amount can't be equal to the pool reserve.
|
|
2296
|
+
*/
|
|
2297
|
+
AmountOutTooHigh: PlainDescriptor<undefined>;
|
|
2298
|
+
/**
|
|
2299
|
+
* The pool doesn't exist.
|
|
2300
|
+
*/
|
|
2301
|
+
PoolNotFound: PlainDescriptor<undefined>;
|
|
2302
|
+
/**
|
|
2303
|
+
* An overflow happened.
|
|
2304
|
+
*/
|
|
2305
|
+
Overflow: PlainDescriptor<undefined>;
|
|
2306
|
+
/**
|
|
2307
|
+
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
2308
|
+
*/
|
|
2309
|
+
AssetOneDepositDidNotMeetMinimum: PlainDescriptor<undefined>;
|
|
2310
|
+
/**
|
|
2311
|
+
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
2312
|
+
*/
|
|
2313
|
+
AssetTwoDepositDidNotMeetMinimum: PlainDescriptor<undefined>;
|
|
2314
|
+
/**
|
|
2315
|
+
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
2316
|
+
*/
|
|
2317
|
+
AssetOneWithdrawalDidNotMeetMinimum: PlainDescriptor<undefined>;
|
|
2318
|
+
/**
|
|
2319
|
+
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
2320
|
+
*/
|
|
2321
|
+
AssetTwoWithdrawalDidNotMeetMinimum: PlainDescriptor<undefined>;
|
|
2322
|
+
/**
|
|
2323
|
+
* Optimal calculated amount is less than desired.
|
|
2324
|
+
*/
|
|
2325
|
+
OptimalAmountLessThanDesired: PlainDescriptor<undefined>;
|
|
2326
|
+
/**
|
|
2327
|
+
* Insufficient liquidity minted.
|
|
2328
|
+
*/
|
|
2329
|
+
InsufficientLiquidityMinted: PlainDescriptor<undefined>;
|
|
2330
|
+
/**
|
|
2331
|
+
* Requested liquidity can't be zero.
|
|
2332
|
+
*/
|
|
2333
|
+
ZeroLiquidity: PlainDescriptor<undefined>;
|
|
2334
|
+
/**
|
|
2335
|
+
* Amount can't be zero.
|
|
2336
|
+
*/
|
|
2337
|
+
ZeroAmount: PlainDescriptor<undefined>;
|
|
804
2338
|
/**
|
|
805
|
-
*
|
|
2339
|
+
* Calculated amount out is less than provided minimum amount.
|
|
806
2340
|
*/
|
|
807
|
-
|
|
2341
|
+
ProvidedMinimumNotSufficientForSwap: PlainDescriptor<undefined>;
|
|
808
2342
|
/**
|
|
809
|
-
*
|
|
2343
|
+
* Provided maximum amount is not sufficient for swap.
|
|
810
2344
|
*/
|
|
811
|
-
|
|
2345
|
+
ProvidedMaximumNotSufficientForSwap: PlainDescriptor<undefined>;
|
|
812
2346
|
/**
|
|
813
|
-
*
|
|
2347
|
+
* The provided path must consists of 2 assets at least.
|
|
814
2348
|
*/
|
|
815
|
-
|
|
2349
|
+
InvalidPath: PlainDescriptor<undefined>;
|
|
816
2350
|
/**
|
|
817
|
-
*
|
|
2351
|
+
* The provided path must consists of unique assets.
|
|
818
2352
|
*/
|
|
819
|
-
|
|
2353
|
+
NonUniquePath: PlainDescriptor<undefined>;
|
|
820
2354
|
/**
|
|
821
|
-
*
|
|
2355
|
+
* It was not possible to get or increment the Id of the pool.
|
|
822
2356
|
*/
|
|
823
|
-
|
|
2357
|
+
IncorrectPoolAssetId: PlainDescriptor<undefined>;
|
|
824
2358
|
/**
|
|
825
|
-
*
|
|
2359
|
+
* The destination account cannot exist with the swapped funds.
|
|
826
2360
|
*/
|
|
827
|
-
|
|
2361
|
+
BelowMinimum: PlainDescriptor<undefined>;
|
|
2362
|
+
};
|
|
2363
|
+
Treasury: {
|
|
828
2364
|
/**
|
|
829
|
-
*
|
|
2365
|
+
* No proposal, bounty or spend at that index.
|
|
830
2366
|
*/
|
|
831
|
-
|
|
2367
|
+
InvalidIndex: PlainDescriptor<undefined>;
|
|
832
2368
|
/**
|
|
833
|
-
*
|
|
2369
|
+
* Too many approvals in the queue.
|
|
834
2370
|
*/
|
|
835
|
-
|
|
836
|
-
};
|
|
837
|
-
MessageQueue: {
|
|
2371
|
+
TooManyApprovals: PlainDescriptor<undefined>;
|
|
838
2372
|
/**
|
|
839
|
-
*
|
|
840
|
-
*
|
|
2373
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2374
|
+
* amount to be spent.
|
|
841
2375
|
*/
|
|
842
|
-
|
|
2376
|
+
InsufficientPermission: PlainDescriptor<undefined>;
|
|
843
2377
|
/**
|
|
844
|
-
*
|
|
2378
|
+
* Proposal has not been approved.
|
|
845
2379
|
*/
|
|
846
|
-
|
|
2380
|
+
ProposalNotApproved: PlainDescriptor<undefined>;
|
|
847
2381
|
/**
|
|
848
|
-
* The
|
|
2382
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
849
2383
|
*/
|
|
850
|
-
|
|
2384
|
+
FailedToConvertBalance: PlainDescriptor<undefined>;
|
|
851
2385
|
/**
|
|
852
|
-
* The
|
|
2386
|
+
* The spend has expired and cannot be claimed.
|
|
853
2387
|
*/
|
|
854
|
-
|
|
2388
|
+
SpendExpired: PlainDescriptor<undefined>;
|
|
855
2389
|
/**
|
|
856
|
-
* The
|
|
2390
|
+
* The spend is not yet eligible for payout.
|
|
857
2391
|
*/
|
|
858
|
-
|
|
2392
|
+
EarlyPayout: PlainDescriptor<undefined>;
|
|
859
2393
|
/**
|
|
860
|
-
*
|
|
2394
|
+
* The payment has already been attempted.
|
|
861
2395
|
*/
|
|
862
|
-
|
|
2396
|
+
AlreadyAttempted: PlainDescriptor<undefined>;
|
|
863
2397
|
/**
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
867
|
-
* retrying.
|
|
2398
|
+
* There was some issue with the mechanism of payment.
|
|
868
2399
|
*/
|
|
869
|
-
|
|
2400
|
+
PayoutError: PlainDescriptor<undefined>;
|
|
870
2401
|
/**
|
|
871
|
-
* The
|
|
872
|
-
*
|
|
873
|
-
* This can change at any time and may resolve in the future by re-trying.
|
|
2402
|
+
* The payout was not yet attempted/claimed.
|
|
874
2403
|
*/
|
|
875
|
-
|
|
2404
|
+
NotAttempted: PlainDescriptor<undefined>;
|
|
876
2405
|
/**
|
|
877
|
-
*
|
|
2406
|
+
* The payment has neither failed nor succeeded yet.
|
|
878
2407
|
*/
|
|
879
|
-
|
|
2408
|
+
Inconclusive: PlainDescriptor<undefined>;
|
|
880
2409
|
};
|
|
881
|
-
|
|
2410
|
+
ConvictionVoting: {
|
|
882
2411
|
/**
|
|
883
|
-
*
|
|
2412
|
+
* Poll is not ongoing.
|
|
884
2413
|
*/
|
|
885
|
-
|
|
886
|
-
};
|
|
887
|
-
Multisig: {
|
|
2414
|
+
NotOngoing: PlainDescriptor<undefined>;
|
|
888
2415
|
/**
|
|
889
|
-
*
|
|
2416
|
+
* The given account did not vote on the poll.
|
|
890
2417
|
*/
|
|
891
|
-
|
|
2418
|
+
NotVoter: PlainDescriptor<undefined>;
|
|
892
2419
|
/**
|
|
893
|
-
*
|
|
2420
|
+
* The actor has no permission to conduct the action.
|
|
894
2421
|
*/
|
|
895
|
-
|
|
2422
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
896
2423
|
/**
|
|
897
|
-
*
|
|
2424
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
898
2425
|
*/
|
|
899
|
-
|
|
2426
|
+
NoPermissionYet: PlainDescriptor<undefined>;
|
|
900
2427
|
/**
|
|
901
|
-
*
|
|
2428
|
+
* The account is already delegating.
|
|
902
2429
|
*/
|
|
903
|
-
|
|
2430
|
+
AlreadyDelegating: PlainDescriptor<undefined>;
|
|
904
2431
|
/**
|
|
905
|
-
*
|
|
2432
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
2433
|
+
* these are removed through `remove_vote`.
|
|
906
2434
|
*/
|
|
907
|
-
|
|
2435
|
+
AlreadyVoting: PlainDescriptor<undefined>;
|
|
908
2436
|
/**
|
|
909
|
-
*
|
|
2437
|
+
* Too high a balance was provided that the account cannot afford.
|
|
910
2438
|
*/
|
|
911
|
-
|
|
2439
|
+
InsufficientFunds: PlainDescriptor<undefined>;
|
|
912
2440
|
/**
|
|
913
|
-
* The
|
|
2441
|
+
* The account is not currently delegating.
|
|
914
2442
|
*/
|
|
915
|
-
|
|
2443
|
+
NotDelegating: PlainDescriptor<undefined>;
|
|
916
2444
|
/**
|
|
917
|
-
*
|
|
2445
|
+
* Delegation to oneself makes no sense.
|
|
918
2446
|
*/
|
|
919
|
-
|
|
2447
|
+
Nonsense: PlainDescriptor<undefined>;
|
|
920
2448
|
/**
|
|
921
|
-
*
|
|
922
|
-
* its deposits.
|
|
2449
|
+
* Maximum number of votes reached.
|
|
923
2450
|
*/
|
|
924
|
-
|
|
2451
|
+
MaxVotesReached: PlainDescriptor<undefined>;
|
|
925
2452
|
/**
|
|
926
|
-
*
|
|
2453
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
927
2454
|
*/
|
|
928
|
-
|
|
2455
|
+
ClassNeeded: PlainDescriptor<undefined>;
|
|
929
2456
|
/**
|
|
930
|
-
*
|
|
2457
|
+
* The class ID supplied is invalid.
|
|
931
2458
|
*/
|
|
932
|
-
|
|
2459
|
+
BadClass: PlainDescriptor<undefined>;
|
|
2460
|
+
};
|
|
2461
|
+
Referenda: {
|
|
933
2462
|
/**
|
|
934
|
-
*
|
|
2463
|
+
* Referendum is not ongoing.
|
|
935
2464
|
*/
|
|
936
|
-
|
|
2465
|
+
NotOngoing: PlainDescriptor<undefined>;
|
|
937
2466
|
/**
|
|
938
|
-
*
|
|
2467
|
+
* Referendum's decision deposit is already paid.
|
|
939
2468
|
*/
|
|
940
|
-
|
|
2469
|
+
HasDeposit: PlainDescriptor<undefined>;
|
|
941
2470
|
/**
|
|
942
|
-
* The
|
|
2471
|
+
* The track identifier given was invalid.
|
|
943
2472
|
*/
|
|
944
|
-
|
|
945
|
-
};
|
|
946
|
-
Proxy: {
|
|
2473
|
+
BadTrack: PlainDescriptor<undefined>;
|
|
947
2474
|
/**
|
|
948
|
-
* There are
|
|
2475
|
+
* There are already a full complement of referenda in progress for this track.
|
|
949
2476
|
*/
|
|
950
|
-
|
|
2477
|
+
Full: PlainDescriptor<undefined>;
|
|
951
2478
|
/**
|
|
952
|
-
*
|
|
2479
|
+
* The queue of the track is empty.
|
|
953
2480
|
*/
|
|
954
|
-
|
|
2481
|
+
QueueEmpty: PlainDescriptor<undefined>;
|
|
955
2482
|
/**
|
|
956
|
-
*
|
|
2483
|
+
* The referendum index provided is invalid in this context.
|
|
957
2484
|
*/
|
|
958
|
-
|
|
2485
|
+
BadReferendum: PlainDescriptor<undefined>;
|
|
959
2486
|
/**
|
|
960
|
-
*
|
|
2487
|
+
* There was nothing to do in the advancement.
|
|
961
2488
|
*/
|
|
962
|
-
|
|
2489
|
+
NothingToDo: PlainDescriptor<undefined>;
|
|
963
2490
|
/**
|
|
964
|
-
*
|
|
2491
|
+
* No track exists for the proposal origin.
|
|
965
2492
|
*/
|
|
966
|
-
|
|
2493
|
+
NoTrack: PlainDescriptor<undefined>;
|
|
967
2494
|
/**
|
|
968
|
-
*
|
|
2495
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
969
2496
|
*/
|
|
970
|
-
|
|
2497
|
+
Unfinished: PlainDescriptor<undefined>;
|
|
971
2498
|
/**
|
|
972
|
-
*
|
|
2499
|
+
* The deposit refunder is not the depositor.
|
|
973
2500
|
*/
|
|
974
|
-
|
|
2501
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
975
2502
|
/**
|
|
976
|
-
*
|
|
2503
|
+
* The deposit cannot be refunded since none was made.
|
|
977
2504
|
*/
|
|
978
|
-
|
|
979
|
-
};
|
|
980
|
-
Assets: {
|
|
2505
|
+
NoDeposit: PlainDescriptor<undefined>;
|
|
981
2506
|
/**
|
|
982
|
-
*
|
|
2507
|
+
* The referendum status is invalid for this operation.
|
|
983
2508
|
*/
|
|
984
|
-
|
|
2509
|
+
BadStatus: PlainDescriptor<undefined>;
|
|
985
2510
|
/**
|
|
986
|
-
* The
|
|
2511
|
+
* The preimage does not exist.
|
|
987
2512
|
*/
|
|
988
|
-
|
|
2513
|
+
PreimageNotExist: PlainDescriptor<undefined>;
|
|
989
2514
|
/**
|
|
990
|
-
* The
|
|
2515
|
+
* The preimage is stored with a different length than the one provided.
|
|
991
2516
|
*/
|
|
992
|
-
|
|
2517
|
+
PreimageStoredWithDifferentLength: PlainDescriptor<undefined>;
|
|
2518
|
+
};
|
|
2519
|
+
Whitelist: {
|
|
993
2520
|
/**
|
|
994
|
-
* The
|
|
2521
|
+
* The preimage of the call hash could not be loaded.
|
|
995
2522
|
*/
|
|
996
|
-
|
|
2523
|
+
UnavailablePreImage: PlainDescriptor<undefined>;
|
|
997
2524
|
/**
|
|
998
|
-
* The
|
|
2525
|
+
* The call could not be decoded.
|
|
999
2526
|
*/
|
|
1000
|
-
|
|
2527
|
+
UndecodableCall: PlainDescriptor<undefined>;
|
|
1001
2528
|
/**
|
|
1002
|
-
* The
|
|
2529
|
+
* The weight of the decoded call was higher than the witness.
|
|
1003
2530
|
*/
|
|
1004
|
-
|
|
2531
|
+
InvalidCallWeightWitness: PlainDescriptor<undefined>;
|
|
1005
2532
|
/**
|
|
1006
|
-
*
|
|
2533
|
+
* The call was not whitelisted.
|
|
1007
2534
|
*/
|
|
1008
|
-
|
|
2535
|
+
CallIsNotWhitelisted: PlainDescriptor<undefined>;
|
|
1009
2536
|
/**
|
|
1010
|
-
*
|
|
2537
|
+
* The call was already whitelisted; No-Op.
|
|
1011
2538
|
*/
|
|
1012
|
-
|
|
2539
|
+
CallAlreadyWhitelisted: PlainDescriptor<undefined>;
|
|
2540
|
+
};
|
|
2541
|
+
Bounties: {
|
|
1013
2542
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1016
|
-
* fewer then the maximum number of consumers has been reached.
|
|
2543
|
+
* Proposer's balance is too low.
|
|
1017
2544
|
*/
|
|
1018
|
-
|
|
2545
|
+
InsufficientProposersBalance: PlainDescriptor<undefined>;
|
|
1019
2546
|
/**
|
|
1020
|
-
*
|
|
2547
|
+
* No proposal or bounty at that index.
|
|
1021
2548
|
*/
|
|
1022
|
-
|
|
2549
|
+
InvalidIndex: PlainDescriptor<undefined>;
|
|
1023
2550
|
/**
|
|
1024
|
-
*
|
|
2551
|
+
* The reason given is just too big.
|
|
1025
2552
|
*/
|
|
1026
|
-
|
|
2553
|
+
ReasonTooBig: PlainDescriptor<undefined>;
|
|
1027
2554
|
/**
|
|
1028
|
-
* The
|
|
2555
|
+
* The bounty status is unexpected.
|
|
1029
2556
|
*/
|
|
1030
|
-
|
|
2557
|
+
UnexpectedStatus: PlainDescriptor<undefined>;
|
|
1031
2558
|
/**
|
|
1032
|
-
*
|
|
2559
|
+
* Require bounty curator.
|
|
1033
2560
|
*/
|
|
1034
|
-
|
|
2561
|
+
RequireCurator: PlainDescriptor<undefined>;
|
|
1035
2562
|
/**
|
|
1036
|
-
*
|
|
2563
|
+
* Invalid bounty value.
|
|
1037
2564
|
*/
|
|
1038
|
-
|
|
2565
|
+
InvalidValue: PlainDescriptor<undefined>;
|
|
1039
2566
|
/**
|
|
1040
|
-
*
|
|
2567
|
+
* Invalid bounty fee.
|
|
1041
2568
|
*/
|
|
1042
|
-
|
|
2569
|
+
InvalidFee: PlainDescriptor<undefined>;
|
|
1043
2570
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
2571
|
+
* A bounty payout is pending.
|
|
2572
|
+
* To cancel the bounty, you must unassign and slash the curator.
|
|
1046
2573
|
*/
|
|
1047
|
-
|
|
2574
|
+
PendingPayout: PlainDescriptor<undefined>;
|
|
1048
2575
|
/**
|
|
1049
|
-
* The
|
|
2576
|
+
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
1050
2577
|
*/
|
|
1051
|
-
|
|
2578
|
+
Premature: PlainDescriptor<undefined>;
|
|
1052
2579
|
/**
|
|
1053
|
-
* The
|
|
2580
|
+
* The bounty cannot be closed because it has active child bounties.
|
|
1054
2581
|
*/
|
|
1055
|
-
|
|
2582
|
+
HasActiveChildBounty: PlainDescriptor<undefined>;
|
|
1056
2583
|
/**
|
|
1057
|
-
*
|
|
2584
|
+
* Too many approvals are already queued.
|
|
1058
2585
|
*/
|
|
1059
|
-
|
|
2586
|
+
TooManyQueued: PlainDescriptor<undefined>;
|
|
1060
2587
|
/**
|
|
1061
|
-
*
|
|
2588
|
+
* User is not the proposer of the bounty.
|
|
1062
2589
|
*/
|
|
1063
|
-
|
|
2590
|
+
NotProposer: PlainDescriptor<undefined>;
|
|
2591
|
+
};
|
|
2592
|
+
ChildBounties: {
|
|
1064
2593
|
/**
|
|
1065
|
-
* The
|
|
2594
|
+
* The parent bounty is not in active state.
|
|
1066
2595
|
*/
|
|
1067
|
-
|
|
2596
|
+
ParentBountyNotActive: PlainDescriptor<undefined>;
|
|
1068
2597
|
/**
|
|
1069
|
-
* The
|
|
2598
|
+
* The bounty balance is not enough to add new child-bounty.
|
|
1070
2599
|
*/
|
|
1071
|
-
|
|
2600
|
+
InsufficientBountyBalance: PlainDescriptor<undefined>;
|
|
1072
2601
|
/**
|
|
1073
|
-
*
|
|
2602
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
1074
2603
|
*/
|
|
1075
|
-
|
|
2604
|
+
TooManyChildBounties: PlainDescriptor<undefined>;
|
|
1076
2605
|
};
|
|
1077
|
-
|
|
2606
|
+
AssetRate: {
|
|
1078
2607
|
/**
|
|
1079
|
-
* The
|
|
2608
|
+
* The given asset ID is unknown.
|
|
1080
2609
|
*/
|
|
1081
|
-
|
|
2610
|
+
UnknownAssetKind: PlainDescriptor<undefined>;
|
|
1082
2611
|
/**
|
|
1083
|
-
* The given
|
|
2612
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
1084
2613
|
*/
|
|
1085
|
-
|
|
2614
|
+
AlreadyExists: PlainDescriptor<undefined>;
|
|
1086
2615
|
/**
|
|
1087
|
-
*
|
|
2616
|
+
* Overflow ocurred when calculating the inverse rate.
|
|
1088
2617
|
*/
|
|
1089
|
-
|
|
2618
|
+
Overflow: PlainDescriptor<undefined>;
|
|
2619
|
+
};
|
|
2620
|
+
StateTrieMigration: {
|
|
1090
2621
|
/**
|
|
1091
|
-
*
|
|
2622
|
+
* Max signed limits not respected.
|
|
1092
2623
|
*/
|
|
1093
|
-
|
|
2624
|
+
MaxSignedLimits: PlainDescriptor<undefined>;
|
|
1094
2625
|
/**
|
|
1095
|
-
*
|
|
2626
|
+
* A key was longer than the configured maximum.
|
|
2627
|
+
*
|
|
2628
|
+
* This means that the migration halted at the current [`Progress`] and
|
|
2629
|
+
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
2630
|
+
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
2631
|
+
* The value should only be increased to avoid a storage migration for the currently
|
|
2632
|
+
* stored [`crate::Progress::LastKey`].
|
|
1096
2633
|
*/
|
|
1097
|
-
|
|
2634
|
+
KeyTooLong: PlainDescriptor<undefined>;
|
|
1098
2635
|
/**
|
|
1099
|
-
*
|
|
2636
|
+
* submitter does not have enough funds.
|
|
1100
2637
|
*/
|
|
1101
|
-
|
|
2638
|
+
NotEnoughFunds: PlainDescriptor<undefined>;
|
|
1102
2639
|
/**
|
|
1103
|
-
*
|
|
2640
|
+
* Bad witness data provided.
|
|
1104
2641
|
*/
|
|
1105
|
-
|
|
2642
|
+
BadWitness: PlainDescriptor<undefined>;
|
|
1106
2643
|
/**
|
|
1107
|
-
*
|
|
2644
|
+
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1108
2645
|
*/
|
|
1109
|
-
|
|
2646
|
+
SignedMigrationNotAllowed: PlainDescriptor<undefined>;
|
|
1110
2647
|
/**
|
|
1111
|
-
*
|
|
2648
|
+
* Bad child root provided.
|
|
1112
2649
|
*/
|
|
1113
|
-
|
|
2650
|
+
BadChildRoot: PlainDescriptor<undefined>;
|
|
2651
|
+
};
|
|
2652
|
+
NominationPools: {
|
|
1114
2653
|
/**
|
|
1115
|
-
*
|
|
2654
|
+
* A (bonded) pool id does not exist.
|
|
1116
2655
|
*/
|
|
1117
|
-
|
|
2656
|
+
PoolNotFound: PlainDescriptor<undefined>;
|
|
1118
2657
|
/**
|
|
1119
|
-
*
|
|
2658
|
+
* An account is not a member.
|
|
1120
2659
|
*/
|
|
1121
|
-
|
|
2660
|
+
PoolMemberNotFound: PlainDescriptor<undefined>;
|
|
1122
2661
|
/**
|
|
1123
|
-
*
|
|
2662
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1124
2663
|
*/
|
|
1125
|
-
|
|
2664
|
+
RewardPoolNotFound: PlainDescriptor<undefined>;
|
|
1126
2665
|
/**
|
|
1127
|
-
*
|
|
2666
|
+
* A sub pool does not exist.
|
|
1128
2667
|
*/
|
|
1129
|
-
|
|
2668
|
+
SubPoolsNotFound: PlainDescriptor<undefined>;
|
|
1130
2669
|
/**
|
|
1131
|
-
*
|
|
2670
|
+
* An account is already delegating in another pool. An account may only belong to one
|
|
2671
|
+
* pool at a time.
|
|
1132
2672
|
*/
|
|
1133
|
-
|
|
2673
|
+
AccountBelongsToOtherPool: PlainDescriptor<undefined>;
|
|
1134
2674
|
/**
|
|
1135
|
-
* The
|
|
2675
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
2676
|
+
* anymore to, for example, collect rewards).
|
|
1136
2677
|
*/
|
|
1137
|
-
|
|
2678
|
+
FullyUnbonding: PlainDescriptor<undefined>;
|
|
1138
2679
|
/**
|
|
1139
|
-
* The
|
|
2680
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
1140
2681
|
*/
|
|
1141
|
-
|
|
2682
|
+
MaxUnbondingLimit: PlainDescriptor<undefined>;
|
|
1142
2683
|
/**
|
|
1143
|
-
*
|
|
2684
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1144
2685
|
*/
|
|
1145
|
-
|
|
2686
|
+
CannotWithdrawAny: PlainDescriptor<undefined>;
|
|
1146
2687
|
/**
|
|
1147
|
-
* The
|
|
2688
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
2689
|
+
*
|
|
2690
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
2691
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
2692
|
+
* value below `MinJoinBond`.
|
|
1148
2693
|
*/
|
|
1149
|
-
|
|
1150
|
-
};
|
|
1151
|
-
Nfts: {
|
|
2694
|
+
MinimumBondNotMet: PlainDescriptor<undefined>;
|
|
1152
2695
|
/**
|
|
1153
|
-
* The
|
|
2696
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
1154
2697
|
*/
|
|
1155
|
-
|
|
2698
|
+
OverflowRisk: PlainDescriptor<undefined>;
|
|
1156
2699
|
/**
|
|
1157
|
-
*
|
|
2700
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
2701
|
+
* other members to be permissionlessly unbonded.
|
|
1158
2702
|
*/
|
|
1159
|
-
|
|
2703
|
+
NotDestroying: PlainDescriptor<undefined>;
|
|
1160
2704
|
/**
|
|
1161
|
-
* The
|
|
2705
|
+
* The caller does not have nominating permissions for the pool.
|
|
1162
2706
|
*/
|
|
1163
|
-
|
|
2707
|
+
NotNominator: PlainDescriptor<undefined>;
|
|
1164
2708
|
/**
|
|
1165
|
-
*
|
|
2709
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1166
2710
|
*/
|
|
1167
|
-
|
|
2711
|
+
NotKickerOrDestroying: PlainDescriptor<undefined>;
|
|
1168
2712
|
/**
|
|
1169
|
-
* The
|
|
2713
|
+
* The pool is not open to join
|
|
1170
2714
|
*/
|
|
1171
|
-
|
|
2715
|
+
NotOpen: PlainDescriptor<undefined>;
|
|
1172
2716
|
/**
|
|
1173
|
-
* The
|
|
2717
|
+
* The system is maxed out on pools.
|
|
1174
2718
|
*/
|
|
1175
|
-
|
|
2719
|
+
MaxPools: PlainDescriptor<undefined>;
|
|
1176
2720
|
/**
|
|
1177
|
-
*
|
|
2721
|
+
* Too many members in the pool or system.
|
|
1178
2722
|
*/
|
|
1179
|
-
|
|
2723
|
+
MaxPoolMembers: PlainDescriptor<undefined>;
|
|
1180
2724
|
/**
|
|
1181
|
-
*
|
|
2725
|
+
* The pools state cannot be changed.
|
|
1182
2726
|
*/
|
|
1183
|
-
|
|
2727
|
+
CanNotChangeState: PlainDescriptor<undefined>;
|
|
1184
2728
|
/**
|
|
1185
|
-
* The
|
|
2729
|
+
* The caller does not have adequate permissions.
|
|
1186
2730
|
*/
|
|
1187
|
-
|
|
2731
|
+
DoesNotHavePermission: PlainDescriptor<undefined>;
|
|
1188
2732
|
/**
|
|
1189
|
-
*
|
|
2733
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
1190
2734
|
*/
|
|
1191
|
-
|
|
2735
|
+
MetadataExceedsMaxLen: PlainDescriptor<undefined>;
|
|
1192
2736
|
/**
|
|
1193
|
-
*
|
|
2737
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
2738
|
+
* maintainers.
|
|
1194
2739
|
*/
|
|
1195
|
-
|
|
2740
|
+
Defensive: PlainDescriptor<Anonymize<Ie2db4l6126rkt>>;
|
|
2741
|
+
/**
|
|
2742
|
+
* Partial unbonding now allowed permissionlessly.
|
|
2743
|
+
*/
|
|
2744
|
+
PartialUnbondNotAllowedPermissionlessly: PlainDescriptor<undefined>;
|
|
1196
2745
|
/**
|
|
1197
|
-
* The
|
|
2746
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
1198
2747
|
*/
|
|
1199
|
-
|
|
2748
|
+
MaxCommissionRestricted: PlainDescriptor<undefined>;
|
|
1200
2749
|
/**
|
|
1201
|
-
* The
|
|
2750
|
+
* The supplied commission exceeds the max allowed commission.
|
|
1202
2751
|
*/
|
|
1203
|
-
|
|
2752
|
+
CommissionExceedsMaximum: PlainDescriptor<undefined>;
|
|
1204
2753
|
/**
|
|
1205
|
-
*
|
|
2754
|
+
* The supplied commission exceeds global maximum commission.
|
|
1206
2755
|
*/
|
|
1207
|
-
|
|
2756
|
+
CommissionExceedsGlobalMaximum: PlainDescriptor<undefined>;
|
|
1208
2757
|
/**
|
|
1209
|
-
*
|
|
2758
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
1210
2759
|
*/
|
|
1211
|
-
|
|
2760
|
+
CommissionChangeThrottled: PlainDescriptor<undefined>;
|
|
1212
2761
|
/**
|
|
1213
|
-
*
|
|
2762
|
+
* The submitted changes to commission change rate are not allowed.
|
|
1214
2763
|
*/
|
|
1215
|
-
|
|
2764
|
+
CommissionChangeRateNotAllowed: PlainDescriptor<undefined>;
|
|
1216
2765
|
/**
|
|
1217
|
-
*
|
|
2766
|
+
* There is no pending commission to claim.
|
|
1218
2767
|
*/
|
|
1219
|
-
|
|
2768
|
+
NoPendingCommission: PlainDescriptor<undefined>;
|
|
1220
2769
|
/**
|
|
1221
|
-
*
|
|
2770
|
+
* No commission current has been set.
|
|
1222
2771
|
*/
|
|
1223
|
-
|
|
2772
|
+
NoCommissionCurrentSet: PlainDescriptor<undefined>;
|
|
1224
2773
|
/**
|
|
1225
|
-
*
|
|
2774
|
+
* Pool id currently in use.
|
|
1226
2775
|
*/
|
|
1227
|
-
|
|
2776
|
+
PoolIdInUse: PlainDescriptor<undefined>;
|
|
1228
2777
|
/**
|
|
1229
|
-
*
|
|
2778
|
+
* Pool id provided is not correct/usable.
|
|
1230
2779
|
*/
|
|
1231
|
-
|
|
2780
|
+
InvalidPoolId: PlainDescriptor<undefined>;
|
|
1232
2781
|
/**
|
|
1233
|
-
*
|
|
2782
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
1234
2783
|
*/
|
|
1235
|
-
|
|
2784
|
+
BondExtraRestricted: PlainDescriptor<undefined>;
|
|
1236
2785
|
/**
|
|
1237
|
-
*
|
|
2786
|
+
* No imbalance in the ED deposit for the pool.
|
|
1238
2787
|
*/
|
|
1239
|
-
|
|
2788
|
+
NothingToAdjust: PlainDescriptor<undefined>;
|
|
1240
2789
|
/**
|
|
1241
|
-
*
|
|
2790
|
+
* No slash pending that can be applied to the member.
|
|
1242
2791
|
*/
|
|
1243
|
-
|
|
2792
|
+
NothingToSlash: PlainDescriptor<undefined>;
|
|
1244
2793
|
/**
|
|
1245
|
-
* The
|
|
2794
|
+
* The slash amount is too low to be applied.
|
|
1246
2795
|
*/
|
|
1247
|
-
|
|
2796
|
+
SlashTooLow: PlainDescriptor<undefined>;
|
|
1248
2797
|
/**
|
|
1249
|
-
*
|
|
2798
|
+
* The pool or member delegation has already migrated to delegate stake.
|
|
1250
2799
|
*/
|
|
1251
|
-
|
|
2800
|
+
AlreadyMigrated: PlainDescriptor<undefined>;
|
|
1252
2801
|
/**
|
|
1253
|
-
* The
|
|
2802
|
+
* The pool or member delegation has not migrated yet to delegate stake.
|
|
1254
2803
|
*/
|
|
1255
|
-
|
|
2804
|
+
NotMigrated: PlainDescriptor<undefined>;
|
|
1256
2805
|
/**
|
|
1257
|
-
*
|
|
2806
|
+
* This call is not allowed in the current state of the pallet.
|
|
1258
2807
|
*/
|
|
1259
|
-
|
|
2808
|
+
NotSupported: PlainDescriptor<undefined>;
|
|
1260
2809
|
/**
|
|
1261
|
-
*
|
|
2810
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
2811
|
+
* staking in another way already.
|
|
1262
2812
|
*/
|
|
1263
|
-
|
|
2813
|
+
Restricted: PlainDescriptor<undefined>;
|
|
2814
|
+
};
|
|
2815
|
+
VoterList: {
|
|
1264
2816
|
/**
|
|
1265
|
-
*
|
|
2817
|
+
* A error in the list interface implementation.
|
|
1266
2818
|
*/
|
|
1267
|
-
|
|
2819
|
+
List: PlainDescriptor<Anonymize<Ictkqqlhdjt761>>;
|
|
1268
2820
|
/**
|
|
1269
|
-
*
|
|
2821
|
+
* Could not update a node, because the pallet is locked.
|
|
1270
2822
|
*/
|
|
1271
|
-
|
|
2823
|
+
Locked: PlainDescriptor<undefined>;
|
|
2824
|
+
};
|
|
2825
|
+
DelegatedStaking: {
|
|
1272
2826
|
/**
|
|
1273
|
-
* The
|
|
2827
|
+
* The account cannot perform this operation.
|
|
1274
2828
|
*/
|
|
1275
|
-
|
|
2829
|
+
NotAllowed: PlainDescriptor<undefined>;
|
|
1276
2830
|
/**
|
|
1277
|
-
*
|
|
2831
|
+
* An existing staker cannot perform this action.
|
|
1278
2832
|
*/
|
|
1279
|
-
|
|
2833
|
+
AlreadyStaking: PlainDescriptor<undefined>;
|
|
1280
2834
|
/**
|
|
1281
|
-
*
|
|
2835
|
+
* Reward Destination cannot be same as `Agent` account.
|
|
1282
2836
|
*/
|
|
1283
|
-
|
|
2837
|
+
InvalidRewardDestination: PlainDescriptor<undefined>;
|
|
1284
2838
|
/**
|
|
1285
|
-
*
|
|
2839
|
+
* Delegation conditions are not met.
|
|
2840
|
+
*
|
|
2841
|
+
* Possible issues are
|
|
2842
|
+
* 1) Cannot delegate to self,
|
|
2843
|
+
* 2) Cannot delegate to multiple delegates.
|
|
1286
2844
|
*/
|
|
1287
|
-
|
|
2845
|
+
InvalidDelegation: PlainDescriptor<undefined>;
|
|
1288
2846
|
/**
|
|
1289
|
-
*
|
|
2847
|
+
* The account does not have enough funds to perform the operation.
|
|
1290
2848
|
*/
|
|
1291
|
-
|
|
2849
|
+
NotEnoughFunds: PlainDescriptor<undefined>;
|
|
1292
2850
|
/**
|
|
1293
|
-
*
|
|
2851
|
+
* Not an existing `Agent` account.
|
|
1294
2852
|
*/
|
|
1295
|
-
|
|
2853
|
+
NotAgent: PlainDescriptor<undefined>;
|
|
1296
2854
|
/**
|
|
1297
|
-
*
|
|
2855
|
+
* Not a Delegator account.
|
|
1298
2856
|
*/
|
|
1299
|
-
|
|
2857
|
+
NotDelegator: PlainDescriptor<undefined>;
|
|
1300
2858
|
/**
|
|
1301
|
-
*
|
|
2859
|
+
* Some corruption in internal state.
|
|
1302
2860
|
*/
|
|
1303
|
-
|
|
2861
|
+
BadState: PlainDescriptor<undefined>;
|
|
1304
2862
|
/**
|
|
1305
|
-
*
|
|
2863
|
+
* Unapplied pending slash restricts operation on `Agent`.
|
|
1306
2864
|
*/
|
|
1307
|
-
|
|
2865
|
+
UnappliedSlash: PlainDescriptor<undefined>;
|
|
1308
2866
|
/**
|
|
1309
|
-
*
|
|
2867
|
+
* `Agent` has no pending slash to be applied.
|
|
1310
2868
|
*/
|
|
1311
|
-
|
|
2869
|
+
NothingToSlash: PlainDescriptor<undefined>;
|
|
1312
2870
|
/**
|
|
1313
|
-
*
|
|
2871
|
+
* Failed to withdraw amount from Core Staking.
|
|
1314
2872
|
*/
|
|
1315
|
-
|
|
2873
|
+
WithdrawFailed: PlainDescriptor<undefined>;
|
|
1316
2874
|
/**
|
|
1317
|
-
*
|
|
2875
|
+
* Operation not supported by this pallet.
|
|
1318
2876
|
*/
|
|
1319
|
-
|
|
2877
|
+
NotSupported: PlainDescriptor<undefined>;
|
|
2878
|
+
};
|
|
2879
|
+
MultiBlockElection: {
|
|
1320
2880
|
/**
|
|
1321
|
-
*
|
|
2881
|
+
* Triggering the `Fallback` failed.
|
|
1322
2882
|
*/
|
|
1323
|
-
|
|
2883
|
+
Fallback: PlainDescriptor<undefined>;
|
|
1324
2884
|
/**
|
|
1325
|
-
*
|
|
2885
|
+
* Unexpected phase
|
|
1326
2886
|
*/
|
|
1327
|
-
|
|
2887
|
+
UnexpectedPhase: PlainDescriptor<undefined>;
|
|
1328
2888
|
/**
|
|
1329
|
-
*
|
|
2889
|
+
* Snapshot was unavailable.
|
|
1330
2890
|
*/
|
|
1331
|
-
|
|
2891
|
+
Snapshot: PlainDescriptor<undefined>;
|
|
1332
2892
|
};
|
|
1333
|
-
|
|
2893
|
+
MultiBlockElectionSigned: {
|
|
1334
2894
|
/**
|
|
1335
|
-
*
|
|
2895
|
+
* The phase is not signed.
|
|
1336
2896
|
*/
|
|
1337
|
-
|
|
2897
|
+
PhaseNotSigned: PlainDescriptor<undefined>;
|
|
1338
2898
|
/**
|
|
1339
|
-
* The
|
|
2899
|
+
* The submission is a duplicate.
|
|
1340
2900
|
*/
|
|
1341
|
-
|
|
2901
|
+
Duplicate: PlainDescriptor<undefined>;
|
|
1342
2902
|
/**
|
|
1343
|
-
* The
|
|
2903
|
+
* The queue is full.
|
|
1344
2904
|
*/
|
|
1345
|
-
|
|
2905
|
+
QueueFull: PlainDescriptor<undefined>;
|
|
1346
2906
|
/**
|
|
1347
|
-
* The
|
|
2907
|
+
* The page index is out of bounds.
|
|
1348
2908
|
*/
|
|
1349
|
-
|
|
2909
|
+
BadPageIndex: PlainDescriptor<undefined>;
|
|
1350
2910
|
/**
|
|
1351
|
-
* The
|
|
2911
|
+
* The account is not registered.
|
|
1352
2912
|
*/
|
|
1353
|
-
|
|
2913
|
+
NotRegistered: PlainDescriptor<undefined>;
|
|
1354
2914
|
/**
|
|
1355
|
-
*
|
|
2915
|
+
* No submission found.
|
|
1356
2916
|
*/
|
|
1357
|
-
|
|
2917
|
+
NoSubmission: PlainDescriptor<undefined>;
|
|
1358
2918
|
/**
|
|
1359
|
-
*
|
|
2919
|
+
* Round is not yet over.
|
|
1360
2920
|
*/
|
|
1361
|
-
|
|
2921
|
+
RoundNotOver: PlainDescriptor<undefined>;
|
|
1362
2922
|
/**
|
|
1363
|
-
*
|
|
2923
|
+
* Bad witness data provided.
|
|
1364
2924
|
*/
|
|
1365
|
-
|
|
2925
|
+
BadWitnessData: PlainDescriptor<undefined>;
|
|
1366
2926
|
/**
|
|
1367
|
-
*
|
|
1368
|
-
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1369
|
-
* fewer then the maximum number of consumers has been reached.
|
|
2927
|
+
* Too many invulnerable accounts are provided,
|
|
1370
2928
|
*/
|
|
1371
|
-
|
|
2929
|
+
TooManyInvulnerables: PlainDescriptor<undefined>;
|
|
2930
|
+
};
|
|
2931
|
+
Staking: {
|
|
1372
2932
|
/**
|
|
1373
|
-
*
|
|
2933
|
+
* Not a controller account.
|
|
1374
2934
|
*/
|
|
1375
|
-
|
|
2935
|
+
NotController: PlainDescriptor<undefined>;
|
|
1376
2936
|
/**
|
|
1377
|
-
*
|
|
2937
|
+
* Not a stash account.
|
|
1378
2938
|
*/
|
|
1379
|
-
|
|
2939
|
+
NotStash: PlainDescriptor<undefined>;
|
|
1380
2940
|
/**
|
|
1381
|
-
*
|
|
2941
|
+
* Stash is already bonded.
|
|
1382
2942
|
*/
|
|
1383
|
-
|
|
2943
|
+
AlreadyBonded: PlainDescriptor<undefined>;
|
|
1384
2944
|
/**
|
|
1385
|
-
*
|
|
2945
|
+
* Controller is already paired.
|
|
1386
2946
|
*/
|
|
1387
|
-
|
|
2947
|
+
AlreadyPaired: PlainDescriptor<undefined>;
|
|
1388
2948
|
/**
|
|
1389
|
-
*
|
|
2949
|
+
* Targets cannot be empty.
|
|
1390
2950
|
*/
|
|
1391
|
-
|
|
2951
|
+
EmptyTargets: PlainDescriptor<undefined>;
|
|
1392
2952
|
/**
|
|
1393
|
-
*
|
|
2953
|
+
* Duplicate index.
|
|
1394
2954
|
*/
|
|
1395
|
-
|
|
2955
|
+
DuplicateIndex: PlainDescriptor<undefined>;
|
|
1396
2956
|
/**
|
|
1397
|
-
*
|
|
1398
|
-
* as `start_destroy` which require the asset to be in a destroying state.
|
|
2957
|
+
* Slash record not found.
|
|
1399
2958
|
*/
|
|
1400
|
-
|
|
2959
|
+
InvalidSlashRecord: PlainDescriptor<undefined>;
|
|
1401
2960
|
/**
|
|
1402
|
-
*
|
|
2961
|
+
* Cannot bond, nominate or validate with value less than the minimum defined by
|
|
2962
|
+
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
2963
|
+
* intention, `chill` first to remove one's role as validator/nominator.
|
|
1403
2964
|
*/
|
|
1404
|
-
|
|
2965
|
+
InsufficientBond: PlainDescriptor<undefined>;
|
|
1405
2966
|
/**
|
|
1406
|
-
*
|
|
2967
|
+
* Can not schedule more unlock chunks.
|
|
1407
2968
|
*/
|
|
1408
|
-
|
|
2969
|
+
NoMoreChunks: PlainDescriptor<undefined>;
|
|
1409
2970
|
/**
|
|
1410
|
-
*
|
|
2971
|
+
* Can not rebond without unlocking chunks.
|
|
1411
2972
|
*/
|
|
1412
|
-
|
|
2973
|
+
NoUnlockChunk: PlainDescriptor<undefined>;
|
|
1413
2974
|
/**
|
|
1414
|
-
*
|
|
2975
|
+
* Attempting to target a stash that still has funds.
|
|
1415
2976
|
*/
|
|
1416
|
-
|
|
2977
|
+
FundedTarget: PlainDescriptor<undefined>;
|
|
1417
2978
|
/**
|
|
1418
|
-
*
|
|
2979
|
+
* Invalid era to reward.
|
|
1419
2980
|
*/
|
|
1420
|
-
|
|
2981
|
+
InvalidEraToReward: PlainDescriptor<undefined>;
|
|
1421
2982
|
/**
|
|
1422
|
-
*
|
|
2983
|
+
* Invalid number of nominations.
|
|
1423
2984
|
*/
|
|
1424
|
-
|
|
2985
|
+
InvalidNumberOfNominations: PlainDescriptor<undefined>;
|
|
1425
2986
|
/**
|
|
1426
|
-
*
|
|
2987
|
+
* Rewards for this era have already been claimed for this validator.
|
|
1427
2988
|
*/
|
|
1428
|
-
|
|
1429
|
-
};
|
|
1430
|
-
PoolAssets: {
|
|
2989
|
+
AlreadyClaimed: PlainDescriptor<undefined>;
|
|
1431
2990
|
/**
|
|
1432
|
-
*
|
|
2991
|
+
* No nominators exist on this page.
|
|
1433
2992
|
*/
|
|
1434
|
-
|
|
2993
|
+
InvalidPage: PlainDescriptor<undefined>;
|
|
1435
2994
|
/**
|
|
1436
|
-
*
|
|
2995
|
+
* Incorrect previous history depth input provided.
|
|
1437
2996
|
*/
|
|
1438
|
-
|
|
2997
|
+
IncorrectHistoryDepth: PlainDescriptor<undefined>;
|
|
1439
2998
|
/**
|
|
1440
|
-
*
|
|
2999
|
+
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
1441
3000
|
*/
|
|
1442
|
-
|
|
3001
|
+
BadState: PlainDescriptor<undefined>;
|
|
1443
3002
|
/**
|
|
1444
|
-
*
|
|
3003
|
+
* Too many nomination targets supplied.
|
|
1445
3004
|
*/
|
|
1446
|
-
|
|
3005
|
+
TooManyTargets: PlainDescriptor<undefined>;
|
|
1447
3006
|
/**
|
|
1448
|
-
*
|
|
3007
|
+
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
1449
3008
|
*/
|
|
1450
|
-
|
|
3009
|
+
BadTarget: PlainDescriptor<undefined>;
|
|
1451
3010
|
/**
|
|
1452
|
-
* The
|
|
3011
|
+
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
1453
3012
|
*/
|
|
1454
|
-
|
|
3013
|
+
CannotChillOther: PlainDescriptor<undefined>;
|
|
1455
3014
|
/**
|
|
1456
|
-
*
|
|
3015
|
+
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
3016
|
+
* settings to keep things safe for the runtime.
|
|
1457
3017
|
*/
|
|
1458
|
-
|
|
3018
|
+
TooManyNominators: PlainDescriptor<undefined>;
|
|
1459
3019
|
/**
|
|
1460
|
-
*
|
|
3020
|
+
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
3021
|
+
* staking settings to keep things safe for the runtime.
|
|
1461
3022
|
*/
|
|
1462
|
-
|
|
3023
|
+
TooManyValidators: PlainDescriptor<undefined>;
|
|
1463
3024
|
/**
|
|
1464
|
-
*
|
|
1465
|
-
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1466
|
-
* fewer then the maximum number of consumers has been reached.
|
|
3025
|
+
* Commission is too low. Must be at least `MinCommission`.
|
|
1467
3026
|
*/
|
|
1468
|
-
|
|
3027
|
+
CommissionTooLow: PlainDescriptor<undefined>;
|
|
1469
3028
|
/**
|
|
1470
|
-
*
|
|
3029
|
+
* Some bound is not met.
|
|
1471
3030
|
*/
|
|
1472
|
-
|
|
3031
|
+
BoundNotMet: PlainDescriptor<undefined>;
|
|
1473
3032
|
/**
|
|
1474
|
-
*
|
|
3033
|
+
* Used when attempting to use deprecated controller account logic.
|
|
1475
3034
|
*/
|
|
1476
|
-
|
|
3035
|
+
ControllerDeprecated: PlainDescriptor<undefined>;
|
|
1477
3036
|
/**
|
|
1478
|
-
*
|
|
3037
|
+
* Cannot reset a ledger.
|
|
1479
3038
|
*/
|
|
1480
|
-
|
|
3039
|
+
CannotRestoreLedger: PlainDescriptor<undefined>;
|
|
1481
3040
|
/**
|
|
1482
|
-
*
|
|
3041
|
+
* Provided reward destination is not allowed.
|
|
1483
3042
|
*/
|
|
1484
|
-
|
|
3043
|
+
RewardDestinationRestricted: PlainDescriptor<undefined>;
|
|
1485
3044
|
/**
|
|
1486
|
-
*
|
|
3045
|
+
* Not enough funds available to withdraw.
|
|
1487
3046
|
*/
|
|
1488
|
-
|
|
3047
|
+
NotEnoughFunds: PlainDescriptor<undefined>;
|
|
1489
3048
|
/**
|
|
1490
|
-
*
|
|
3049
|
+
* Operation not allowed for virtual stakers.
|
|
1491
3050
|
*/
|
|
1492
|
-
|
|
3051
|
+
VirtualStakerNotAllowed: PlainDescriptor<undefined>;
|
|
1493
3052
|
/**
|
|
1494
|
-
*
|
|
1495
|
-
* as `start_destroy` which require the asset to be in a destroying state.
|
|
3053
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
1496
3054
|
*/
|
|
1497
|
-
|
|
3055
|
+
CannotReapStash: PlainDescriptor<undefined>;
|
|
1498
3056
|
/**
|
|
1499
|
-
* The
|
|
3057
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
1500
3058
|
*/
|
|
1501
|
-
|
|
3059
|
+
AlreadyMigrated: PlainDescriptor<undefined>;
|
|
1502
3060
|
/**
|
|
1503
|
-
*
|
|
3061
|
+
* Era not yet started.
|
|
1504
3062
|
*/
|
|
1505
|
-
|
|
3063
|
+
EraNotStarted: PlainDescriptor<undefined>;
|
|
1506
3064
|
/**
|
|
1507
|
-
*
|
|
3065
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
3066
|
+
* staking in another way already, such as via pool.
|
|
1508
3067
|
*/
|
|
1509
|
-
|
|
3068
|
+
Restricted: PlainDescriptor<undefined>;
|
|
1510
3069
|
/**
|
|
1511
|
-
*
|
|
3070
|
+
* Unapplied slashes in the recently concluded era is blocking this operation.
|
|
3071
|
+
* See `Call::apply_slash` to apply them.
|
|
1512
3072
|
*/
|
|
1513
|
-
|
|
3073
|
+
UnappliedSlashesInPreviousEra: PlainDescriptor<undefined>;
|
|
1514
3074
|
/**
|
|
1515
|
-
* The
|
|
3075
|
+
* The era is not eligible for pruning.
|
|
1516
3076
|
*/
|
|
1517
|
-
|
|
3077
|
+
EraNotPrunable: PlainDescriptor<undefined>;
|
|
1518
3078
|
/**
|
|
1519
|
-
* The
|
|
3079
|
+
* The slash has been cancelled and cannot be applied.
|
|
1520
3080
|
*/
|
|
1521
|
-
|
|
3081
|
+
CancelledSlash: PlainDescriptor<undefined>;
|
|
3082
|
+
};
|
|
3083
|
+
AhOps: {
|
|
1522
3084
|
/**
|
|
1523
|
-
*
|
|
3085
|
+
* Either no lease deposit or already unreserved.
|
|
1524
3086
|
*/
|
|
1525
|
-
|
|
1526
|
-
};
|
|
1527
|
-
AssetConversion: {
|
|
3087
|
+
NoLeaseReserve: PlainDescriptor<undefined>;
|
|
1528
3088
|
/**
|
|
1529
|
-
*
|
|
3089
|
+
* Either no crowdloan contribution or already withdrawn.
|
|
1530
3090
|
*/
|
|
1531
|
-
|
|
3091
|
+
NoCrowdloanContribution: PlainDescriptor<undefined>;
|
|
1532
3092
|
/**
|
|
1533
|
-
*
|
|
3093
|
+
* Either no crowdloan reserve or already unreserved.
|
|
1534
3094
|
*/
|
|
1535
|
-
|
|
3095
|
+
NoCrowdloanReserve: PlainDescriptor<undefined>;
|
|
1536
3096
|
/**
|
|
1537
|
-
*
|
|
3097
|
+
* Failed to withdraw crowdloan contribution.
|
|
1538
3098
|
*/
|
|
1539
|
-
|
|
3099
|
+
FailedToWithdrawCrowdloanContribution: PlainDescriptor<undefined>;
|
|
1540
3100
|
/**
|
|
1541
|
-
*
|
|
1542
|
-
* minimal amount.
|
|
3101
|
+
* Block number is not yet reached.
|
|
1543
3102
|
*/
|
|
1544
|
-
|
|
3103
|
+
NotYet: PlainDescriptor<undefined>;
|
|
1545
3104
|
/**
|
|
1546
|
-
*
|
|
1547
|
-
* minimal amount.
|
|
3105
|
+
* Not all contributions are withdrawn.
|
|
1548
3106
|
*/
|
|
1549
|
-
|
|
3107
|
+
ContributionsRemaining: PlainDescriptor<undefined>;
|
|
1550
3108
|
/**
|
|
1551
|
-
*
|
|
1552
|
-
* minimal amount.
|
|
3109
|
+
* The account is not a derived account.
|
|
1553
3110
|
*/
|
|
1554
|
-
|
|
3111
|
+
WrongDerivedTranslation: PlainDescriptor<undefined>;
|
|
1555
3112
|
/**
|
|
1556
|
-
*
|
|
3113
|
+
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
1557
3114
|
*/
|
|
1558
|
-
|
|
3115
|
+
NotSovereign: PlainDescriptor<undefined>;
|
|
1559
3116
|
/**
|
|
1560
|
-
*
|
|
3117
|
+
* Internal error, please bug report.
|
|
1561
3118
|
*/
|
|
1562
|
-
|
|
3119
|
+
InternalError: PlainDescriptor<undefined>;
|
|
1563
3120
|
/**
|
|
1564
|
-
*
|
|
3121
|
+
* The Asset Hub migration is not completed.
|
|
1565
3122
|
*/
|
|
1566
|
-
|
|
3123
|
+
MigrationNotCompleted: PlainDescriptor<undefined>;
|
|
1567
3124
|
/**
|
|
1568
|
-
* The
|
|
3125
|
+
* The balance is zero.
|
|
1569
3126
|
*/
|
|
1570
|
-
|
|
3127
|
+
ZeroBalance: PlainDescriptor<undefined>;
|
|
3128
|
+
};
|
|
3129
|
+
AhMigrator: {
|
|
1571
3130
|
/**
|
|
1572
|
-
*
|
|
3131
|
+
* Failed to unreserve deposit.
|
|
1573
3132
|
*/
|
|
1574
|
-
|
|
3133
|
+
FailedToUnreserveDeposit: PlainDescriptor<undefined>;
|
|
1575
3134
|
/**
|
|
1576
|
-
*
|
|
3135
|
+
* Failed to process an account data from RC.
|
|
1577
3136
|
*/
|
|
1578
|
-
|
|
3137
|
+
FailedToProcessAccount: PlainDescriptor<undefined>;
|
|
1579
3138
|
/**
|
|
1580
|
-
*
|
|
3139
|
+
* Some item could not be inserted because it already exists.
|
|
1581
3140
|
*/
|
|
1582
|
-
|
|
3141
|
+
InsertConflict: PlainDescriptor<undefined>;
|
|
1583
3142
|
/**
|
|
1584
|
-
*
|
|
3143
|
+
* Failed to convert RC type to AH type.
|
|
1585
3144
|
*/
|
|
1586
|
-
|
|
3145
|
+
FailedToConvertType: PlainDescriptor<undefined>;
|
|
1587
3146
|
/**
|
|
1588
|
-
*
|
|
3147
|
+
* Failed to fetch preimage.
|
|
1589
3148
|
*/
|
|
1590
|
-
|
|
3149
|
+
PreimageNotFound: PlainDescriptor<undefined>;
|
|
1591
3150
|
/**
|
|
1592
|
-
*
|
|
3151
|
+
* Failed to convert RC call to AH call.
|
|
1593
3152
|
*/
|
|
1594
|
-
|
|
3153
|
+
FailedToConvertCall: PlainDescriptor<undefined>;
|
|
1595
3154
|
/**
|
|
1596
|
-
*
|
|
3155
|
+
* Failed to bound a call.
|
|
1597
3156
|
*/
|
|
1598
|
-
|
|
3157
|
+
FailedToBoundCall: PlainDescriptor<undefined>;
|
|
1599
3158
|
/**
|
|
1600
|
-
*
|
|
3159
|
+
* Failed to send XCM message.
|
|
1601
3160
|
*/
|
|
1602
|
-
|
|
3161
|
+
XcmError: PlainDescriptor<undefined>;
|
|
1603
3162
|
/**
|
|
1604
|
-
*
|
|
3163
|
+
* Failed to integrate a vesting schedule.
|
|
1605
3164
|
*/
|
|
1606
|
-
|
|
3165
|
+
FailedToIntegrateVestingSchedule: PlainDescriptor<undefined>;
|
|
1607
3166
|
/**
|
|
1608
|
-
*
|
|
3167
|
+
* Checking account overflow or underflow.
|
|
1609
3168
|
*/
|
|
1610
|
-
|
|
3169
|
+
FailedToCalculateCheckingAccount: PlainDescriptor<undefined>;
|
|
1611
3170
|
/**
|
|
1612
|
-
*
|
|
3171
|
+
* Vector did not fit into its compile-time bound.
|
|
1613
3172
|
*/
|
|
1614
|
-
|
|
3173
|
+
FailedToBoundVector: PlainDescriptor<undefined>;
|
|
1615
3174
|
/**
|
|
1616
|
-
*
|
|
3175
|
+
* The DMP queue priority is already set to the same value.
|
|
1617
3176
|
*/
|
|
1618
|
-
|
|
3177
|
+
DmpQueuePriorityAlreadySet: PlainDescriptor<undefined>;
|
|
1619
3178
|
/**
|
|
1620
|
-
*
|
|
3179
|
+
* Invalid parameter.
|
|
1621
3180
|
*/
|
|
1622
|
-
|
|
1623
|
-
};
|
|
1624
|
-
StateTrieMigration: {
|
|
3181
|
+
InvalidParameter: PlainDescriptor<undefined>;
|
|
1625
3182
|
/**
|
|
1626
|
-
*
|
|
3183
|
+
* Preimage missing.
|
|
1627
3184
|
*/
|
|
1628
|
-
|
|
3185
|
+
PreimageMissing: PlainDescriptor<undefined>;
|
|
1629
3186
|
/**
|
|
1630
|
-
*
|
|
1631
|
-
*
|
|
1632
|
-
* This means that the migration halted at the current [`Progress`] and
|
|
1633
|
-
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
1634
|
-
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
1635
|
-
* The value should only be increased to avoid a storage migration for the currently
|
|
1636
|
-
* stored [`crate::Progress::LastKey`].
|
|
3187
|
+
* Preimage too big.
|
|
1637
3188
|
*/
|
|
1638
|
-
|
|
3189
|
+
PreimageTooBig: PlainDescriptor<undefined>;
|
|
1639
3190
|
/**
|
|
1640
|
-
*
|
|
3191
|
+
* Preimage chunk missing.
|
|
1641
3192
|
*/
|
|
1642
|
-
|
|
3193
|
+
PreimageChunkMissing: PlainDescriptor<undefined>;
|
|
1643
3194
|
/**
|
|
1644
|
-
*
|
|
3195
|
+
* Preimage status invalid.
|
|
1645
3196
|
*/
|
|
1646
|
-
|
|
3197
|
+
PreimageStatusInvalid: PlainDescriptor<undefined>;
|
|
1647
3198
|
/**
|
|
1648
|
-
*
|
|
3199
|
+
* The XCM version is invalid.
|
|
1649
3200
|
*/
|
|
1650
|
-
|
|
3201
|
+
BadXcmVersion: PlainDescriptor<undefined>;
|
|
1651
3202
|
/**
|
|
1652
|
-
*
|
|
3203
|
+
* The origin is invalid.
|
|
1653
3204
|
*/
|
|
1654
|
-
|
|
3205
|
+
InvalidOrigin: PlainDescriptor<undefined>;
|
|
1655
3206
|
};
|
|
1656
3207
|
};
|
|
1657
3208
|
type IConstants = {
|
|
@@ -1754,11 +3305,11 @@ type IRuntimeCalls = {
|
|
|
1754
3305
|
/**
|
|
1755
3306
|
* Dry run call V2.
|
|
1756
3307
|
*/
|
|
1757
|
-
dry_run_call: RuntimeDescriptor<[origin: Anonymize<
|
|
3308
|
+
dry_run_call: RuntimeDescriptor<[origin: Anonymize<I9mrsespe1jciv>, call: Anonymize<I1ndeq00vn7nno>, result_xcms_version: number], Anonymize<I1ot6qmf1h8h63>>;
|
|
1758
3309
|
/**
|
|
1759
3310
|
* Dry run XCM program
|
|
1760
3311
|
*/
|
|
1761
|
-
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<
|
|
3312
|
+
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<Iov7b207cnpr7>>;
|
|
1762
3313
|
};
|
|
1763
3314
|
/**
|
|
1764
3315
|
* This runtime api allows people to query the size of the liquidity pools
|
|
@@ -1771,22 +3322,22 @@ type IRuntimeCalls = {
|
|
|
1771
3322
|
* Note that the price may have changed by the time the transaction is executed.
|
|
1772
3323
|
* (Use `amount_in_max` to control slippage.)
|
|
1773
3324
|
*/
|
|
1774
|
-
quote_price_tokens_for_exact_tokens: RuntimeDescriptor<[asset1: Anonymize<
|
|
3325
|
+
quote_price_tokens_for_exact_tokens: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>, amount: bigint, include_fee: boolean], Anonymize<I35p85j063s0il>>;
|
|
1775
3326
|
/**
|
|
1776
3327
|
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].
|
|
1777
3328
|
*
|
|
1778
3329
|
* Note that the price may have changed by the time the transaction is executed.
|
|
1779
3330
|
* (Use `amount_out_min` to control slippage.)
|
|
1780
3331
|
*/
|
|
1781
|
-
quote_price_exact_tokens_for_tokens: RuntimeDescriptor<[asset1: Anonymize<
|
|
3332
|
+
quote_price_exact_tokens_for_tokens: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>, amount: bigint, include_fee: boolean], Anonymize<I35p85j063s0il>>;
|
|
1782
3333
|
/**
|
|
1783
3334
|
* Returns the size of the liquidity pool for the given asset pair.
|
|
1784
3335
|
*/
|
|
1785
|
-
get_reserves: RuntimeDescriptor<[asset1: Anonymize<
|
|
3336
|
+
get_reserves: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>], Anonymize<I5vv5n03oo8gas>>;
|
|
1786
3337
|
};
|
|
1787
3338
|
};
|
|
1788
3339
|
export type HubDispatchError = unknown;
|
|
1789
|
-
type IAsset = PlainDescriptor<Anonymize<
|
|
3340
|
+
type IAsset = PlainDescriptor<Anonymize<If9iqq7i64mur8>>;
|
|
1790
3341
|
export type HubExtensions = {};
|
|
1791
3342
|
type PalletsTypedef = {
|
|
1792
3343
|
__storage: IStorage;
|
|
@@ -1816,7 +3367,7 @@ export type HubEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
|
1816
3367
|
export type HubErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
1817
3368
|
export type HubConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
1818
3369
|
export type HubViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
1819
|
-
export type HubCallData = Anonymize<
|
|
3370
|
+
export type HubCallData = Anonymize<I1ndeq00vn7nno> & {
|
|
1820
3371
|
value: {
|
|
1821
3372
|
type: string;
|
|
1822
3373
|
};
|
|
@@ -1829,28 +3380,49 @@ type AllInteractions = {
|
|
|
1829
3380
|
};
|
|
1830
3381
|
tx: {
|
|
1831
3382
|
PolkadotXcm: ['send', 'teleport_assets', 'reserve_transfer_assets', 'execute', 'force_xcm_version', 'force_default_xcm_version', 'force_subscribe_version_notify', 'force_unsubscribe_version_notify', 'limited_reserve_transfer_assets', 'limited_teleport_assets', 'force_suspension', 'transfer_assets', 'claim_assets', 'transfer_assets_using_type_and_then', 'add_authorized_alias', 'remove_authorized_alias', 'remove_all_authorized_aliases'];
|
|
3383
|
+
Assets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all'];
|
|
1832
3384
|
};
|
|
1833
3385
|
events: {};
|
|
1834
3386
|
errors: {
|
|
1835
|
-
System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'];
|
|
3387
|
+
System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'InvalidTask', 'FailedTask', 'NothingAuthorized', 'Unauthorized'];
|
|
1836
3388
|
ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'];
|
|
3389
|
+
Preimage: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'];
|
|
3390
|
+
Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'];
|
|
1837
3391
|
Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'];
|
|
1838
3392
|
Vesting: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams'];
|
|
3393
|
+
Claims: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists'];
|
|
1839
3394
|
CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve'];
|
|
1840
3395
|
Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
|
|
1841
3396
|
XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'];
|
|
1842
|
-
PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound'];
|
|
3397
|
+
PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound', 'LocalExecutionIncompleteWithError'];
|
|
1843
3398
|
MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'];
|
|
3399
|
+
SnowbridgeSystemFrontend: ['UnsupportedLocationVersion', 'InvalidAssetOwner', 'SendFailure', 'FeesNotMet', 'LocationConversionFailed', 'Halted', 'Unreachable', 'UnsupportedAsset', 'WithdrawError', 'InvalidAccount', 'SwapError', 'BurnError', 'TipAmountZero'];
|
|
1844
3400
|
Utility: ['TooManyCalls'];
|
|
1845
3401
|
Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'];
|
|
1846
3402
|
Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'];
|
|
3403
|
+
Indices: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'];
|
|
1847
3404
|
Assets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds'];
|
|
1848
|
-
Uniques: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow'];
|
|
3405
|
+
Uniques: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow', 'NoMetadata', 'WrongMetadata', 'AttributeNotFound', 'WrongAttribute'];
|
|
1849
3406
|
Nfts: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'ApprovalExpired', 'WrongOwner', 'BadWitness', 'CollectionIdInUse', 'ItemsNonTransferable', 'NotDelegate', 'WrongDelegate', 'Unapproved', 'Unaccepted', 'ItemLocked', 'LockedItemAttributes', 'LockedCollectionAttributes', 'LockedItemMetadata', 'LockedCollectionMetadata', 'MaxSupplyReached', 'MaxSupplyLocked', 'MaxSupplyTooSmall', 'UnknownItem', 'UnknownSwap', 'MetadataNotFound', 'AttributeNotFound', 'NotForSale', 'BidTooLow', 'ReachedApprovalLimit', 'DeadlineExpired', 'WrongDuration', 'MethodDisabled', 'WrongSetting', 'InconsistentItemConfig', 'NoConfig', 'RolesNotCleared', 'MintNotStarted', 'MintEnded', 'AlreadyClaimed', 'IncorrectData', 'WrongOrigin', 'WrongSignature', 'IncorrectMetadata', 'MaxAttributesLimitReached', 'WrongNamespace', 'CollectionNotEmpty', 'WitnessRequired'];
|
|
1850
3407
|
ForeignAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds'];
|
|
1851
3408
|
PoolAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds'];
|
|
1852
3409
|
AssetConversion: ['InvalidAssetPair', 'PoolExists', 'WrongDesiredAmount', 'AmountOneLessThanMinimal', 'AmountTwoLessThanMinimal', 'ReserveLeftLessThanMinimal', 'AmountOutTooHigh', 'PoolNotFound', 'Overflow', 'AssetOneDepositDidNotMeetMinimum', 'AssetTwoDepositDidNotMeetMinimum', 'AssetOneWithdrawalDidNotMeetMinimum', 'AssetTwoWithdrawalDidNotMeetMinimum', 'OptimalAmountLessThanDesired', 'InsufficientLiquidityMinted', 'ZeroLiquidity', 'ZeroAmount', 'ProvidedMinimumNotSufficientForSwap', 'ProvidedMaximumNotSufficientForSwap', 'InvalidPath', 'NonUniquePath', 'IncorrectPoolAssetId', 'BelowMinimum'];
|
|
3410
|
+
Treasury: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'];
|
|
3411
|
+
ConvictionVoting: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'];
|
|
3412
|
+
Referenda: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'];
|
|
3413
|
+
Whitelist: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted'];
|
|
3414
|
+
Bounties: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty', 'TooManyQueued', 'NotProposer'];
|
|
3415
|
+
ChildBounties: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties'];
|
|
3416
|
+
AssetRate: ['UnknownAssetKind', 'AlreadyExists', 'Overflow'];
|
|
1853
3417
|
StateTrieMigration: ['MaxSignedLimits', 'KeyTooLong', 'NotEnoughFunds', 'BadWitness', 'SignedMigrationNotAllowed', 'BadChildRoot'];
|
|
3418
|
+
NominationPools: ['PoolNotFound', 'PoolMemberNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'AccountBelongsToOtherPool', 'FullyUnbonding', 'MaxUnbondingLimit', 'CannotWithdrawAny', 'MinimumBondNotMet', 'OverflowRisk', 'NotDestroying', 'NotNominator', 'NotKickerOrDestroying', 'NotOpen', 'MaxPools', 'MaxPoolMembers', 'CanNotChangeState', 'DoesNotHavePermission', 'MetadataExceedsMaxLen', 'Defensive', 'PartialUnbondNotAllowedPermissionlessly', 'MaxCommissionRestricted', 'CommissionExceedsMaximum', 'CommissionExceedsGlobalMaximum', 'CommissionChangeThrottled', 'CommissionChangeRateNotAllowed', 'NoPendingCommission', 'NoCommissionCurrentSet', 'PoolIdInUse', 'InvalidPoolId', 'BondExtraRestricted', 'NothingToAdjust', 'NothingToSlash', 'SlashTooLow', 'AlreadyMigrated', 'NotMigrated', 'NotSupported', 'Restricted'];
|
|
3419
|
+
VoterList: ['List', 'Locked'];
|
|
3420
|
+
DelegatedStaking: ['NotAllowed', 'AlreadyStaking', 'InvalidRewardDestination', 'InvalidDelegation', 'NotEnoughFunds', 'NotAgent', 'NotDelegator', 'BadState', 'UnappliedSlash', 'NothingToSlash', 'WithdrawFailed', 'NotSupported'];
|
|
3421
|
+
MultiBlockElection: ['Fallback', 'UnexpectedPhase', 'Snapshot'];
|
|
3422
|
+
MultiBlockElectionSigned: ['PhaseNotSigned', 'Duplicate', 'QueueFull', 'BadPageIndex', 'NotRegistered', 'NoSubmission', 'RoundNotOver', 'BadWitnessData', 'TooManyInvulnerables'];
|
|
3423
|
+
Staking: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashRecord', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'AlreadyClaimed', 'InvalidPage', 'IncorrectHistoryDepth', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', 'ControllerDeprecated', 'CannotRestoreLedger', 'RewardDestinationRestricted', 'NotEnoughFunds', 'VirtualStakerNotAllowed', 'CannotReapStash', 'AlreadyMigrated', 'EraNotStarted', 'Restricted', 'UnappliedSlashesInPreviousEra', 'EraNotPrunable', 'CancelledSlash'];
|
|
3424
|
+
AhOps: ['NoLeaseReserve', 'NoCrowdloanContribution', 'NoCrowdloanReserve', 'FailedToWithdrawCrowdloanContribution', 'NotYet', 'ContributionsRemaining', 'WrongDerivedTranslation', 'NotSovereign', 'InternalError', 'MigrationNotCompleted', 'ZeroBalance'];
|
|
3425
|
+
AhMigrator: ['FailedToUnreserveDeposit', 'FailedToProcessAccount', 'InsertConflict', 'FailedToConvertType', 'PreimageNotFound', 'FailedToConvertCall', 'FailedToBoundCall', 'XcmError', 'FailedToIntegrateVestingSchedule', 'FailedToCalculateCheckingAccount', 'FailedToBoundVector', 'DmpQueuePriorityAlreadySet', 'InvalidParameter', 'PreimageMissing', 'PreimageTooBig', 'PreimageChunkMissing', 'PreimageStatusInvalid', 'BadXcmVersion', 'InvalidOrigin'];
|
|
1854
3426
|
};
|
|
1855
3427
|
constants: {
|
|
1856
3428
|
System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix'];
|