@dedot/chaintypes 0.0.1-alpha.46 → 0.0.1-alpha.48

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.
@@ -253,6 +253,16 @@ export interface ChainConsts extends GenericChainConsts {
253
253
  **/
254
254
  minDelegation: bigint;
255
255
 
256
+ /**
257
+ * Get the slot duration in milliseconds
258
+ **/
259
+ slotDuration: bigint;
260
+
261
+ /**
262
+ * Get the average time beetween 2 blocks in milliseconds
263
+ **/
264
+ blockTime: bigint;
265
+
256
266
  /**
257
267
  * Maximum candidates
258
268
  **/
@@ -483,6 +493,15 @@ export interface ChainConsts extends GenericChainConsts {
483
493
  **/
484
494
  [name: string]: any;
485
495
  };
496
+ /**
497
+ * Pallet `MoonbeamLazyMigrations`'s constants
498
+ **/
499
+ moonbeamLazyMigrations: {
500
+ /**
501
+ * Generic pallet constant
502
+ **/
503
+ [name: string]: any;
504
+ };
486
505
  /**
487
506
  * Pallet `EthereumChainId`'s constants
488
507
  **/
@@ -694,34 +713,6 @@ export interface ChainConsts extends GenericChainConsts {
694
713
  **/
695
714
  [name: string]: any;
696
715
  };
697
- /**
698
- * Pallet `CouncilCollective`'s constants
699
- **/
700
- councilCollective: {
701
- /**
702
- * The maximum weight of a dispatch call that can be proposed and executed.
703
- **/
704
- maxProposalWeight: SpWeightsWeightV2Weight;
705
-
706
- /**
707
- * Generic pallet constant
708
- **/
709
- [name: string]: any;
710
- };
711
- /**
712
- * Pallet `TechCommitteeCollective`'s constants
713
- **/
714
- techCommitteeCollective: {
715
- /**
716
- * The maximum weight of a dispatch call that can be proposed and executed.
717
- **/
718
- maxProposalWeight: SpWeightsWeightV2Weight;
719
-
720
- /**
721
- * Generic pallet constant
722
- **/
723
- [name: string]: any;
724
- };
725
716
  /**
726
717
  * Pallet `TreasuryCouncilCollective`'s constants
727
718
  **/
@@ -970,54 +961,6 @@ export interface ChainConsts extends GenericChainConsts {
970
961
  **/
971
962
  [name: string]: any;
972
963
  };
973
- /**
974
- * Pallet `LocalAssets`'s constants
975
- **/
976
- localAssets: {
977
- /**
978
- * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
979
- *
980
- * Must be configured to result in a weight that makes each call fit in a block.
981
- **/
982
- removeItemsLimit: number;
983
-
984
- /**
985
- * The basic amount of funds that must be reserved for an asset.
986
- **/
987
- assetDeposit: bigint;
988
-
989
- /**
990
- * The amount of funds that must be reserved for a non-provider asset account to be
991
- * maintained.
992
- **/
993
- assetAccountDeposit: bigint;
994
-
995
- /**
996
- * The basic amount of funds that must be reserved when adding metadata to your asset.
997
- **/
998
- metadataDepositBase: bigint;
999
-
1000
- /**
1001
- * The additional funds that must be reserved for the number of bytes you store in your
1002
- * metadata.
1003
- **/
1004
- metadataDepositPerByte: bigint;
1005
-
1006
- /**
1007
- * The amount of funds that must be reserved when creating a new approval.
1008
- **/
1009
- approvalDeposit: bigint;
1010
-
1011
- /**
1012
- * The maximum length of a name or symbol stored on-chain.
1013
- **/
1014
- stringLimit: number;
1015
-
1016
- /**
1017
- * Generic pallet constant
1018
- **/
1019
- [name: string]: any;
1020
- };
1021
964
  /**
1022
965
  * Pallet `EthereumXcm`'s constants
1023
966
  **/
@@ -637,6 +637,45 @@ export interface ChainErrors extends GenericChainErrors {
637
637
  **/
638
638
  [error: string]: GenericPalletError;
639
639
  };
640
+ /**
641
+ * Pallet `MoonbeamLazyMigrations`'s errors
642
+ **/
643
+ moonbeamLazyMigrations: {
644
+ /**
645
+ * There are no more storage entries to be removed
646
+ **/
647
+ AllStorageEntriesHaveBeenRemoved: GenericPalletError;
648
+
649
+ /**
650
+ * The limit cannot be zero
651
+ **/
652
+ LimitCannotBeZero: GenericPalletError;
653
+
654
+ /**
655
+ * The limit for unlocking funds is too high
656
+ **/
657
+ UnlockLimitTooHigh: GenericPalletError;
658
+
659
+ /**
660
+ * There are no more VotingOf entries to be removed and democracy funds to be unlocked
661
+ **/
662
+ AllDemocracyFundsUnlocked: GenericPalletError;
663
+
664
+ /**
665
+ * There must be at least one address
666
+ **/
667
+ AddressesLengthCannotBeZero: GenericPalletError;
668
+
669
+ /**
670
+ * The contract is not corrupted (Still exist or properly suicided)
671
+ **/
672
+ ContractNotCorrupted: GenericPalletError;
673
+
674
+ /**
675
+ * Generic pallet error
676
+ **/
677
+ [error: string]: GenericPalletError;
678
+ };
640
679
  /**
641
680
  * Pallet `EVM`'s errors
642
681
  **/
@@ -701,6 +740,11 @@ export interface ChainErrors extends GenericChainErrors {
701
740
  **/
702
741
  TransactionMustComeFromEOA: GenericPalletError;
703
742
 
743
+ /**
744
+ * Invalid Transaction
745
+ **/
746
+ InvalidTransaction: GenericPalletError;
747
+
704
748
  /**
705
749
  * Undefined error.
706
750
  **/
@@ -1121,134 +1165,6 @@ export interface ChainErrors extends GenericChainErrors {
1121
1165
  **/
1122
1166
  [error: string]: GenericPalletError;
1123
1167
  };
1124
- /**
1125
- * Pallet `CouncilCollective`'s errors
1126
- **/
1127
- councilCollective: {
1128
- /**
1129
- * Account is not a member
1130
- **/
1131
- NotMember: GenericPalletError;
1132
-
1133
- /**
1134
- * Duplicate proposals not allowed
1135
- **/
1136
- DuplicateProposal: GenericPalletError;
1137
-
1138
- /**
1139
- * Proposal must exist
1140
- **/
1141
- ProposalMissing: GenericPalletError;
1142
-
1143
- /**
1144
- * Mismatched index
1145
- **/
1146
- WrongIndex: GenericPalletError;
1147
-
1148
- /**
1149
- * Duplicate vote ignored
1150
- **/
1151
- DuplicateVote: GenericPalletError;
1152
-
1153
- /**
1154
- * Members are already initialized!
1155
- **/
1156
- AlreadyInitialized: GenericPalletError;
1157
-
1158
- /**
1159
- * The close call was made too early, before the end of the voting.
1160
- **/
1161
- TooEarly: GenericPalletError;
1162
-
1163
- /**
1164
- * There can only be a maximum of `MaxProposals` active proposals.
1165
- **/
1166
- TooManyProposals: GenericPalletError;
1167
-
1168
- /**
1169
- * The given weight bound for the proposal was too low.
1170
- **/
1171
- WrongProposalWeight: GenericPalletError;
1172
-
1173
- /**
1174
- * The given length bound for the proposal was too low.
1175
- **/
1176
- WrongProposalLength: GenericPalletError;
1177
-
1178
- /**
1179
- * Prime account is not a member
1180
- **/
1181
- PrimeAccountNotMember: GenericPalletError;
1182
-
1183
- /**
1184
- * Generic pallet error
1185
- **/
1186
- [error: string]: GenericPalletError;
1187
- };
1188
- /**
1189
- * Pallet `TechCommitteeCollective`'s errors
1190
- **/
1191
- techCommitteeCollective: {
1192
- /**
1193
- * Account is not a member
1194
- **/
1195
- NotMember: GenericPalletError;
1196
-
1197
- /**
1198
- * Duplicate proposals not allowed
1199
- **/
1200
- DuplicateProposal: GenericPalletError;
1201
-
1202
- /**
1203
- * Proposal must exist
1204
- **/
1205
- ProposalMissing: GenericPalletError;
1206
-
1207
- /**
1208
- * Mismatched index
1209
- **/
1210
- WrongIndex: GenericPalletError;
1211
-
1212
- /**
1213
- * Duplicate vote ignored
1214
- **/
1215
- DuplicateVote: GenericPalletError;
1216
-
1217
- /**
1218
- * Members are already initialized!
1219
- **/
1220
- AlreadyInitialized: GenericPalletError;
1221
-
1222
- /**
1223
- * The close call was made too early, before the end of the voting.
1224
- **/
1225
- TooEarly: GenericPalletError;
1226
-
1227
- /**
1228
- * There can only be a maximum of `MaxProposals` active proposals.
1229
- **/
1230
- TooManyProposals: GenericPalletError;
1231
-
1232
- /**
1233
- * The given weight bound for the proposal was too low.
1234
- **/
1235
- WrongProposalWeight: GenericPalletError;
1236
-
1237
- /**
1238
- * The given length bound for the proposal was too low.
1239
- **/
1240
- WrongProposalLength: GenericPalletError;
1241
-
1242
- /**
1243
- * Prime account is not a member
1244
- **/
1245
- PrimeAccountNotMember: GenericPalletError;
1246
-
1247
- /**
1248
- * Generic pallet error
1249
- **/
1250
- [error: string]: GenericPalletError;
1251
- };
1252
1168
  /**
1253
1169
  * Pallet `TreasuryCouncilCollective`'s errors
1254
1170
  **/
@@ -1984,118 +1900,6 @@ export interface ChainErrors extends GenericChainErrors {
1984
1900
  **/
1985
1901
  [error: string]: GenericPalletError;
1986
1902
  };
1987
- /**
1988
- * Pallet `LocalAssets`'s errors
1989
- **/
1990
- localAssets: {
1991
- /**
1992
- * Account balance must be greater than or equal to the transfer amount.
1993
- **/
1994
- BalanceLow: GenericPalletError;
1995
-
1996
- /**
1997
- * The account to alter does not exist.
1998
- **/
1999
- NoAccount: GenericPalletError;
2000
-
2001
- /**
2002
- * The signing account has no permission to do the operation.
2003
- **/
2004
- NoPermission: GenericPalletError;
2005
-
2006
- /**
2007
- * The given asset ID is unknown.
2008
- **/
2009
- Unknown: GenericPalletError;
2010
-
2011
- /**
2012
- * The origin account is frozen.
2013
- **/
2014
- Frozen: GenericPalletError;
2015
-
2016
- /**
2017
- * The asset ID is already taken.
2018
- **/
2019
- InUse: GenericPalletError;
2020
-
2021
- /**
2022
- * Invalid witness data given.
2023
- **/
2024
- BadWitness: GenericPalletError;
2025
-
2026
- /**
2027
- * Minimum balance should be non-zero.
2028
- **/
2029
- MinBalanceZero: GenericPalletError;
2030
-
2031
- /**
2032
- * Unable to increment the consumer reference counters on the account. Either no provider
2033
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
2034
- * fewer then the maximum number of consumers has been reached.
2035
- **/
2036
- UnavailableConsumer: GenericPalletError;
2037
-
2038
- /**
2039
- * Invalid metadata given.
2040
- **/
2041
- BadMetadata: GenericPalletError;
2042
-
2043
- /**
2044
- * No approval exists that would allow the transfer.
2045
- **/
2046
- Unapproved: GenericPalletError;
2047
-
2048
- /**
2049
- * The source account would not survive the transfer and it needs to stay alive.
2050
- **/
2051
- WouldDie: GenericPalletError;
2052
-
2053
- /**
2054
- * The asset-account already exists.
2055
- **/
2056
- AlreadyExists: GenericPalletError;
2057
-
2058
- /**
2059
- * The asset-account doesn't have an associated deposit.
2060
- **/
2061
- NoDeposit: GenericPalletError;
2062
-
2063
- /**
2064
- * The operation would result in funds being burned.
2065
- **/
2066
- WouldBurn: GenericPalletError;
2067
-
2068
- /**
2069
- * The asset is a live asset and is actively being used. Usually emit for operations such
2070
- * as `start_destroy` which require the asset to be in a destroying state.
2071
- **/
2072
- LiveAsset: GenericPalletError;
2073
-
2074
- /**
2075
- * The asset is not live, and likely being destroyed.
2076
- **/
2077
- AssetNotLive: GenericPalletError;
2078
-
2079
- /**
2080
- * The asset status is not the expected status.
2081
- **/
2082
- IncorrectStatus: GenericPalletError;
2083
-
2084
- /**
2085
- * The asset should be frozen before the given operation.
2086
- **/
2087
- NotFrozen: GenericPalletError;
2088
-
2089
- /**
2090
- * Callback action resulted in error
2091
- **/
2092
- CallbackFailed: GenericPalletError;
2093
-
2094
- /**
2095
- * Generic pallet error
2096
- **/
2097
- [error: string]: GenericPalletError;
2098
- };
2099
1903
  /**
2100
1904
  * Pallet `EthereumXcm`'s errors
2101
1905
  **/