@dedot/chaintypes 0.93.0 → 0.94.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/moonbeam/errors.d.ts +8 -1
- package/moonbeam/events.d.ts +8 -2
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +24 -2
- package/moonbeam/tx.d.ts +3 -88
- package/moonbeam/types.d.ts +49 -53
- package/package.json +2 -2
package/moonbeam/errors.d.ts
CHANGED
|
@@ -237,7 +237,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
237
237
|
TooLowCandidateCountWeightHintGoOffline: GenericPalletError<Rv>;
|
|
238
238
|
CandidateLimitReached: GenericPalletError<Rv>;
|
|
239
239
|
CannotSetAboveMaxCandidates: GenericPalletError<Rv>;
|
|
240
|
-
RemovedCall: GenericPalletError<Rv>;
|
|
241
240
|
MarkingOfflineNotEnabled: GenericPalletError<Rv>;
|
|
242
241
|
CurrentRoundTooLow: GenericPalletError<Rv>;
|
|
243
242
|
|
|
@@ -1839,6 +1838,14 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1839
1838
|
EvmCallPauseFail: GenericPalletError<Rv>;
|
|
1840
1839
|
EvmCallUnpauseFail: GenericPalletError<Rv>;
|
|
1841
1840
|
EvmInternalError: GenericPalletError<Rv>;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Account has insufficient balance for locking
|
|
1844
|
+
**/
|
|
1845
|
+
InsufficientBalance: GenericPalletError<Rv>;
|
|
1846
|
+
CannotConvertLocationToAccount: GenericPalletError<Rv>;
|
|
1847
|
+
LocationOutsideOfOrigin: GenericPalletError<Rv>;
|
|
1848
|
+
AssetNotInSiblingPara: GenericPalletError<Rv>;
|
|
1842
1849
|
InvalidSymbol: GenericPalletError<Rv>;
|
|
1843
1850
|
InvalidTokenName: GenericPalletError<Rv>;
|
|
1844
1851
|
LocationAlreadyExists: GenericPalletError<Rv>;
|
package/moonbeam/events.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type {
|
|
|
12
12
|
Result,
|
|
13
13
|
Bytes,
|
|
14
14
|
H160,
|
|
15
|
+
U256,
|
|
15
16
|
} from 'dedot/codecs';
|
|
16
17
|
import type {
|
|
17
18
|
SpWeightsWeightV2Weight,
|
|
@@ -2891,7 +2892,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2891
2892
|
Rv,
|
|
2892
2893
|
'EvmForeignAssets',
|
|
2893
2894
|
'ForeignAssetCreated',
|
|
2894
|
-
{ contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV4Location }
|
|
2895
|
+
{ contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV4Location; deposit?: bigint | undefined }
|
|
2895
2896
|
>;
|
|
2896
2897
|
|
|
2897
2898
|
/**
|
|
@@ -2901,7 +2902,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2901
2902
|
Rv,
|
|
2902
2903
|
'EvmForeignAssets',
|
|
2903
2904
|
'ForeignAssetXcmLocationChanged',
|
|
2904
|
-
{ assetId: bigint; newXcmLocation: StagingXcmV4Location }
|
|
2905
|
+
{ assetId: bigint; previousXcmLocation: StagingXcmV4Location; newXcmLocation: StagingXcmV4Location }
|
|
2905
2906
|
>;
|
|
2906
2907
|
ForeignAssetFrozen: GenericPalletEvent<
|
|
2907
2908
|
Rv,
|
|
@@ -2916,6 +2917,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2916
2917
|
{ assetId: bigint; xcmLocation: StagingXcmV4Location }
|
|
2917
2918
|
>;
|
|
2918
2919
|
|
|
2920
|
+
/**
|
|
2921
|
+
* Tokens have been locked for asset creation
|
|
2922
|
+
**/
|
|
2923
|
+
TokensLocked: GenericPalletEvent<Rv, 'EvmForeignAssets', 'TokensLocked', [AccountId20, bigint, U256]>;
|
|
2924
|
+
|
|
2919
2925
|
/**
|
|
2920
2926
|
* Generic pallet event
|
|
2921
2927
|
**/
|
package/moonbeam/index.d.ts
CHANGED
package/moonbeam/query.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ import type {
|
|
|
103
103
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
104
104
|
PalletMessageQueuePage,
|
|
105
105
|
PalletMoonbeamForeignAssetsAssetStatus,
|
|
106
|
+
PalletMoonbeamForeignAssetsAssetDepositDetails,
|
|
106
107
|
PalletEmergencyParaXcmXcmMode,
|
|
107
108
|
PalletRandomnessRequestState,
|
|
108
109
|
PalletRandomnessRandomnessResult,
|
|
@@ -1363,13 +1364,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1363
1364
|
/**
|
|
1364
1365
|
* Current building block's transactions and receipts.
|
|
1365
1366
|
*
|
|
1366
|
-
* @param {
|
|
1367
|
+
* @param {number} arg
|
|
1368
|
+
* @param {Callback<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined> =} callback
|
|
1367
1369
|
**/
|
|
1368
1370
|
pending: GenericStorageQuery<
|
|
1369
1371
|
Rv,
|
|
1370
|
-
() =>
|
|
1372
|
+
(arg: number) => [EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] | undefined,
|
|
1373
|
+
number
|
|
1371
1374
|
>;
|
|
1372
1375
|
|
|
1376
|
+
/**
|
|
1377
|
+
* Counter for the related counted storage map
|
|
1378
|
+
*
|
|
1379
|
+
* @param {Callback<number> =} callback
|
|
1380
|
+
**/
|
|
1381
|
+
counterForPending: GenericStorageQuery<Rv, () => number>;
|
|
1382
|
+
|
|
1373
1383
|
/**
|
|
1374
1384
|
* The current Ethereum block.
|
|
1375
1385
|
*
|
|
@@ -2304,6 +2314,18 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2304
2314
|
StagingXcmV4Location
|
|
2305
2315
|
>;
|
|
2306
2316
|
|
|
2317
|
+
/**
|
|
2318
|
+
* Mapping from an asset id to its creation details
|
|
2319
|
+
*
|
|
2320
|
+
* @param {bigint} arg
|
|
2321
|
+
* @param {Callback<PalletMoonbeamForeignAssetsAssetDepositDetails | undefined> =} callback
|
|
2322
|
+
**/
|
|
2323
|
+
assetsCreationDetails: GenericStorageQuery<
|
|
2324
|
+
Rv,
|
|
2325
|
+
(arg: bigint) => PalletMoonbeamForeignAssetsAssetDepositDetails | undefined,
|
|
2326
|
+
bigint
|
|
2327
|
+
>;
|
|
2328
|
+
|
|
2307
2329
|
/**
|
|
2308
2330
|
* Generic pallet storage query
|
|
2309
2331
|
**/
|
package/moonbeam/tx.d.ts
CHANGED
|
@@ -1067,40 +1067,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1067
1067
|
>
|
|
1068
1068
|
>;
|
|
1069
1069
|
|
|
1070
|
-
/**
|
|
1071
|
-
* DEPRECATED use delegateWithAutoCompound
|
|
1072
|
-
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
1073
|
-
* If caller is a delegator, then makes delegation to change their delegation state
|
|
1074
|
-
*
|
|
1075
|
-
* @param {AccountId20Like} candidate
|
|
1076
|
-
* @param {bigint} amount
|
|
1077
|
-
* @param {number} candidateDelegationCount
|
|
1078
|
-
* @param {number} delegationCount
|
|
1079
|
-
**/
|
|
1080
|
-
delegate: GenericTxCall<
|
|
1081
|
-
Rv,
|
|
1082
|
-
(
|
|
1083
|
-
candidate: AccountId20Like,
|
|
1084
|
-
amount: bigint,
|
|
1085
|
-
candidateDelegationCount: number,
|
|
1086
|
-
delegationCount: number,
|
|
1087
|
-
) => ChainSubmittableExtrinsic<
|
|
1088
|
-
Rv,
|
|
1089
|
-
{
|
|
1090
|
-
pallet: 'ParachainStaking';
|
|
1091
|
-
palletCall: {
|
|
1092
|
-
name: 'Delegate';
|
|
1093
|
-
params: {
|
|
1094
|
-
candidate: AccountId20Like;
|
|
1095
|
-
amount: bigint;
|
|
1096
|
-
candidateDelegationCount: number;
|
|
1097
|
-
delegationCount: number;
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
}
|
|
1101
|
-
>
|
|
1102
|
-
>;
|
|
1103
|
-
|
|
1104
1070
|
/**
|
|
1105
1071
|
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
1106
1072
|
* If caller is a delegator, then makes delegation to change their delegation state
|
|
@@ -1141,57 +1107,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1141
1107
|
>
|
|
1142
1108
|
>;
|
|
1143
1109
|
|
|
1144
|
-
/**
|
|
1145
|
-
* REMOVED, was schedule_leave_delegators
|
|
1146
|
-
*
|
|
1147
|
-
**/
|
|
1148
|
-
removedCall19: GenericTxCall<
|
|
1149
|
-
Rv,
|
|
1150
|
-
() => ChainSubmittableExtrinsic<
|
|
1151
|
-
Rv,
|
|
1152
|
-
{
|
|
1153
|
-
pallet: 'ParachainStaking';
|
|
1154
|
-
palletCall: {
|
|
1155
|
-
name: 'RemovedCall19';
|
|
1156
|
-
};
|
|
1157
|
-
}
|
|
1158
|
-
>
|
|
1159
|
-
>;
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* REMOVED, was execute_leave_delegators
|
|
1163
|
-
*
|
|
1164
|
-
**/
|
|
1165
|
-
removedCall20: GenericTxCall<
|
|
1166
|
-
Rv,
|
|
1167
|
-
() => ChainSubmittableExtrinsic<
|
|
1168
|
-
Rv,
|
|
1169
|
-
{
|
|
1170
|
-
pallet: 'ParachainStaking';
|
|
1171
|
-
palletCall: {
|
|
1172
|
-
name: 'RemovedCall20';
|
|
1173
|
-
};
|
|
1174
|
-
}
|
|
1175
|
-
>
|
|
1176
|
-
>;
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* REMOVED, was cancel_leave_delegators
|
|
1180
|
-
*
|
|
1181
|
-
**/
|
|
1182
|
-
removedCall21: GenericTxCall<
|
|
1183
|
-
Rv,
|
|
1184
|
-
() => ChainSubmittableExtrinsic<
|
|
1185
|
-
Rv,
|
|
1186
|
-
{
|
|
1187
|
-
pallet: 'ParachainStaking';
|
|
1188
|
-
palletCall: {
|
|
1189
|
-
name: 'RemovedCall21';
|
|
1190
|
-
};
|
|
1191
|
-
}
|
|
1192
|
-
>
|
|
1193
|
-
>;
|
|
1194
|
-
|
|
1195
1110
|
/**
|
|
1196
1111
|
* Request to revoke an existing delegation. If successful, the delegation is scheduled
|
|
1197
1112
|
* to be allowed to be revoked via the `execute_delegation_request` extrinsic.
|
|
@@ -7852,7 +7767,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7852
7767
|
* Create new asset with the ForeignAssetCreator
|
|
7853
7768
|
*
|
|
7854
7769
|
* @param {bigint} assetId
|
|
7855
|
-
* @param {StagingXcmV4Location}
|
|
7770
|
+
* @param {StagingXcmV4Location} assetXcmLocation
|
|
7856
7771
|
* @param {number} decimals
|
|
7857
7772
|
* @param {BytesLike} symbol
|
|
7858
7773
|
* @param {BytesLike} name
|
|
@@ -7861,7 +7776,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7861
7776
|
Rv,
|
|
7862
7777
|
(
|
|
7863
7778
|
assetId: bigint,
|
|
7864
|
-
|
|
7779
|
+
assetXcmLocation: StagingXcmV4Location,
|
|
7865
7780
|
decimals: number,
|
|
7866
7781
|
symbol: BytesLike,
|
|
7867
7782
|
name: BytesLike,
|
|
@@ -7873,7 +7788,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7873
7788
|
name: 'CreateForeignAsset';
|
|
7874
7789
|
params: {
|
|
7875
7790
|
assetId: bigint;
|
|
7876
|
-
|
|
7791
|
+
assetXcmLocation: StagingXcmV4Location;
|
|
7877
7792
|
decimals: number;
|
|
7878
7793
|
symbol: BytesLike;
|
|
7879
7794
|
name: BytesLike;
|
package/moonbeam/types.d.ts
CHANGED
|
@@ -864,7 +864,8 @@ export type PalletParametersEvent =
|
|
|
864
864
|
|
|
865
865
|
export type MoonbeamRuntimeRuntimeParamsRuntimeParametersKey =
|
|
866
866
|
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey }
|
|
867
|
-
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey }
|
|
867
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey }
|
|
868
|
+
| { type: 'XcmConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParametersKey };
|
|
868
869
|
|
|
869
870
|
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey = {
|
|
870
871
|
type: 'FeesTreasuryProportion';
|
|
@@ -880,9 +881,17 @@ export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersK
|
|
|
880
881
|
|
|
881
882
|
export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit = {};
|
|
882
883
|
|
|
884
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParametersKey = {
|
|
885
|
+
type: 'ForeignAssetCreationDeposit';
|
|
886
|
+
value: MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigForeignAssetCreationDeposit;
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigForeignAssetCreationDeposit = {};
|
|
890
|
+
|
|
883
891
|
export type MoonbeamRuntimeRuntimeParamsRuntimeParametersValue =
|
|
884
892
|
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue }
|
|
885
|
-
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue }
|
|
893
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue }
|
|
894
|
+
| { type: 'XcmConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParametersValue };
|
|
886
895
|
|
|
887
896
|
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue = {
|
|
888
897
|
type: 'FeesTreasuryProportion';
|
|
@@ -896,6 +905,11 @@ export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersV
|
|
|
896
905
|
|
|
897
906
|
export type MoonbeamRuntimeCommonBoundedU128 = bigint;
|
|
898
907
|
|
|
908
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParametersValue = {
|
|
909
|
+
type: 'ForeignAssetCreationDeposit';
|
|
910
|
+
value: bigint;
|
|
911
|
+
};
|
|
912
|
+
|
|
899
913
|
/**
|
|
900
914
|
* The `Event` enum of this pallet
|
|
901
915
|
**/
|
|
@@ -1964,15 +1978,6 @@ export type PalletParachainStakingCall =
|
|
|
1964
1978
|
* Cancel pending request to adjust the collator candidate self bond
|
|
1965
1979
|
**/
|
|
1966
1980
|
| { name: 'CancelCandidateBondLess' }
|
|
1967
|
-
/**
|
|
1968
|
-
* DEPRECATED use delegateWithAutoCompound
|
|
1969
|
-
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
1970
|
-
* If caller is a delegator, then makes delegation to change their delegation state
|
|
1971
|
-
**/
|
|
1972
|
-
| {
|
|
1973
|
-
name: 'Delegate';
|
|
1974
|
-
params: { candidate: AccountId20; amount: bigint; candidateDelegationCount: number; delegationCount: number };
|
|
1975
|
-
}
|
|
1976
1981
|
/**
|
|
1977
1982
|
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
1978
1983
|
* If caller is a delegator, then makes delegation to change their delegation state
|
|
@@ -1989,18 +1994,6 @@ export type PalletParachainStakingCall =
|
|
|
1989
1994
|
delegationCount: number;
|
|
1990
1995
|
};
|
|
1991
1996
|
}
|
|
1992
|
-
/**
|
|
1993
|
-
* REMOVED, was schedule_leave_delegators
|
|
1994
|
-
**/
|
|
1995
|
-
| { name: 'RemovedCall19' }
|
|
1996
|
-
/**
|
|
1997
|
-
* REMOVED, was execute_leave_delegators
|
|
1998
|
-
**/
|
|
1999
|
-
| { name: 'RemovedCall20' }
|
|
2000
|
-
/**
|
|
2001
|
-
* REMOVED, was cancel_leave_delegators
|
|
2002
|
-
**/
|
|
2003
|
-
| { name: 'RemovedCall21' }
|
|
2004
1997
|
/**
|
|
2005
1998
|
* Request to revoke an existing delegation. If successful, the delegation is scheduled
|
|
2006
1999
|
* to be allowed to be revoked via the `execute_delegation_request` extrinsic.
|
|
@@ -2141,15 +2134,6 @@ export type PalletParachainStakingCallLike =
|
|
|
2141
2134
|
* Cancel pending request to adjust the collator candidate self bond
|
|
2142
2135
|
**/
|
|
2143
2136
|
| { name: 'CancelCandidateBondLess' }
|
|
2144
|
-
/**
|
|
2145
|
-
* DEPRECATED use delegateWithAutoCompound
|
|
2146
|
-
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
2147
|
-
* If caller is a delegator, then makes delegation to change their delegation state
|
|
2148
|
-
**/
|
|
2149
|
-
| {
|
|
2150
|
-
name: 'Delegate';
|
|
2151
|
-
params: { candidate: AccountId20Like; amount: bigint; candidateDelegationCount: number; delegationCount: number };
|
|
2152
|
-
}
|
|
2153
2137
|
/**
|
|
2154
2138
|
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
2155
2139
|
* If caller is a delegator, then makes delegation to change their delegation state
|
|
@@ -2166,18 +2150,6 @@ export type PalletParachainStakingCallLike =
|
|
|
2166
2150
|
delegationCount: number;
|
|
2167
2151
|
};
|
|
2168
2152
|
}
|
|
2169
|
-
/**
|
|
2170
|
-
* REMOVED, was schedule_leave_delegators
|
|
2171
|
-
**/
|
|
2172
|
-
| { name: 'RemovedCall19' }
|
|
2173
|
-
/**
|
|
2174
|
-
* REMOVED, was execute_leave_delegators
|
|
2175
|
-
**/
|
|
2176
|
-
| { name: 'RemovedCall20' }
|
|
2177
|
-
/**
|
|
2178
|
-
* REMOVED, was cancel_leave_delegators
|
|
2179
|
-
**/
|
|
2180
|
-
| { name: 'RemovedCall21' }
|
|
2181
2153
|
/**
|
|
2182
2154
|
* Request to revoke an existing delegation. If successful, the delegation is scheduled
|
|
2183
2155
|
* to be allowed to be revoked via the `execute_delegation_request` extrinsic.
|
|
@@ -3897,7 +3869,8 @@ export type PalletParametersCallLike =
|
|
|
3897
3869
|
|
|
3898
3870
|
export type MoonbeamRuntimeRuntimeParamsRuntimeParameters =
|
|
3899
3871
|
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters }
|
|
3900
|
-
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters }
|
|
3872
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters }
|
|
3873
|
+
| { type: 'XcmConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParameters };
|
|
3901
3874
|
|
|
3902
3875
|
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters = {
|
|
3903
3876
|
type: 'FeesTreasuryProportion';
|
|
@@ -3912,6 +3885,11 @@ export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters
|
|
|
3912
3885
|
];
|
|
3913
3886
|
};
|
|
3914
3887
|
|
|
3888
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigParameters = {
|
|
3889
|
+
type: 'ForeignAssetCreationDeposit';
|
|
3890
|
+
value: [MoonbeamRuntimeRuntimeParamsDynamicParamsXcmConfigForeignAssetCreationDeposit, bigint | undefined];
|
|
3891
|
+
};
|
|
3892
|
+
|
|
3915
3893
|
/**
|
|
3916
3894
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3917
3895
|
**/
|
|
@@ -8389,7 +8367,7 @@ export type PalletMoonbeamForeignAssetsCall =
|
|
|
8389
8367
|
**/
|
|
8390
8368
|
| {
|
|
8391
8369
|
name: 'CreateForeignAsset';
|
|
8392
|
-
params: { assetId: bigint;
|
|
8370
|
+
params: { assetId: bigint; assetXcmLocation: StagingXcmV4Location; decimals: number; symbol: Bytes; name: Bytes };
|
|
8393
8371
|
}
|
|
8394
8372
|
/**
|
|
8395
8373
|
* Change the xcm type mapping for a given assetId
|
|
@@ -8414,7 +8392,7 @@ export type PalletMoonbeamForeignAssetsCallLike =
|
|
|
8414
8392
|
name: 'CreateForeignAsset';
|
|
8415
8393
|
params: {
|
|
8416
8394
|
assetId: bigint;
|
|
8417
|
-
|
|
8395
|
+
assetXcmLocation: StagingXcmV4Location;
|
|
8418
8396
|
decimals: number;
|
|
8419
8397
|
symbol: BytesLike;
|
|
8420
8398
|
name: BytesLike;
|
|
@@ -9207,13 +9185,23 @@ export type PalletMoonbeamForeignAssetsEvent =
|
|
|
9207
9185
|
/**
|
|
9208
9186
|
* New asset with the asset manager is registered
|
|
9209
9187
|
**/
|
|
9210
|
-
| {
|
|
9188
|
+
| {
|
|
9189
|
+
name: 'ForeignAssetCreated';
|
|
9190
|
+
data: { contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV4Location; deposit?: bigint | undefined };
|
|
9191
|
+
}
|
|
9211
9192
|
/**
|
|
9212
9193
|
* Changed the xcm type mapping for a given asset id
|
|
9213
9194
|
**/
|
|
9214
|
-
| {
|
|
9195
|
+
| {
|
|
9196
|
+
name: 'ForeignAssetXcmLocationChanged';
|
|
9197
|
+
data: { assetId: bigint; previousXcmLocation: StagingXcmV4Location; newXcmLocation: StagingXcmV4Location };
|
|
9198
|
+
}
|
|
9215
9199
|
| { name: 'ForeignAssetFrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV4Location } }
|
|
9216
|
-
| { name: 'ForeignAssetUnfrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV4Location } }
|
|
9200
|
+
| { name: 'ForeignAssetUnfrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV4Location } }
|
|
9201
|
+
/**
|
|
9202
|
+
* Tokens have been locked for asset creation
|
|
9203
|
+
**/
|
|
9204
|
+
| { name: 'TokensLocked'; data: [AccountId20, bigint, U256] };
|
|
9217
9205
|
|
|
9218
9206
|
/**
|
|
9219
9207
|
* The `Event` enum of this pallet
|
|
@@ -9667,7 +9655,6 @@ export type PalletParachainStakingError =
|
|
|
9667
9655
|
| 'TooLowCandidateCountWeightHintGoOffline'
|
|
9668
9656
|
| 'CandidateLimitReached'
|
|
9669
9657
|
| 'CannotSetAboveMaxCandidates'
|
|
9670
|
-
| 'RemovedCall'
|
|
9671
9658
|
| 'MarkingOfflineNotEnabled'
|
|
9672
9659
|
| 'CurrentRoundTooLow';
|
|
9673
9660
|
|
|
@@ -11201,6 +11188,10 @@ export type PalletMessageQueueError =
|
|
|
11201
11188
|
|
|
11202
11189
|
export type PalletMoonbeamForeignAssetsAssetStatus = 'Active' | 'FrozenXcmDepositAllowed' | 'FrozenXcmDepositForbidden';
|
|
11203
11190
|
|
|
11191
|
+
export type PalletMoonbeamForeignAssetsAssetDepositDetails = { depositAccount: AccountId20; deposit: bigint };
|
|
11192
|
+
|
|
11193
|
+
export type MoonbeamRuntimeRuntime = {};
|
|
11194
|
+
|
|
11204
11195
|
/**
|
|
11205
11196
|
* An error that can occur while executing the mapping pallet's logic.
|
|
11206
11197
|
**/
|
|
@@ -11215,6 +11206,13 @@ export type PalletMoonbeamForeignAssetsError =
|
|
|
11215
11206
|
| 'EvmCallPauseFail'
|
|
11216
11207
|
| 'EvmCallUnpauseFail'
|
|
11217
11208
|
| 'EvmInternalError'
|
|
11209
|
+
/**
|
|
11210
|
+
* Account has insufficient balance for locking
|
|
11211
|
+
**/
|
|
11212
|
+
| 'InsufficientBalance'
|
|
11213
|
+
| 'CannotConvertLocationToAccount'
|
|
11214
|
+
| 'LocationOutsideOfOrigin'
|
|
11215
|
+
| 'AssetNotInSiblingPara'
|
|
11218
11216
|
| 'InvalidSymbol'
|
|
11219
11217
|
| 'InvalidTokenName'
|
|
11220
11218
|
| 'LocationAlreadyExists'
|
|
@@ -11324,8 +11322,6 @@ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
|
11324
11322
|
|
|
11325
11323
|
export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
|
|
11326
11324
|
|
|
11327
|
-
export type MoonbeamRuntimeRuntime = {};
|
|
11328
|
-
|
|
11329
11325
|
export type SpRuntimeTransactionValidityTransactionSource = 'InBlock' | 'Local' | 'External';
|
|
11330
11326
|
|
|
11331
11327
|
export type FpSelfContainedUncheckedExtrinsic = UncheckedExtrinsic;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "7ea2a7c61221ef57447aefef7bc43fb278409a7b",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"exports": {
|