@dedot/chaintypes 0.211.0 → 0.213.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.
@@ -1246,6 +1246,89 @@ export interface ChainConsts extends GenericChainConsts {
1246
1246
  **/
1247
1247
  [name: string]: any;
1248
1248
  };
1249
+ /**
1250
+ * Pallet `Signet`'s constants
1251
+ **/
1252
+ signet: {
1253
+ /**
1254
+ * The pallet's unique ID for deriving its account
1255
+ **/
1256
+ palletId: FrameSupportPalletId;
1257
+
1258
+ /**
1259
+ * Maximum length for chain ID
1260
+ **/
1261
+ maxChainIdLength: number;
1262
+
1263
+ /**
1264
+ * Maximum length of transaction data
1265
+ **/
1266
+ maxDataLength: number;
1267
+ maxSignatureDeposit: bigint;
1268
+
1269
+ /**
1270
+ * Generic pallet constant
1271
+ **/
1272
+ [name: string]: any;
1273
+ };
1274
+ /**
1275
+ * Pallet `EthDispenser`'s constants
1276
+ **/
1277
+ ethDispenser: {
1278
+ /**
1279
+ * Minimum amount of faucet asset that can be requested in a single call.
1280
+ **/
1281
+ minimumRequestAmount: bigint;
1282
+
1283
+ /**
1284
+ * Maximum amount of faucet asset that can be requested in a single call.
1285
+ **/
1286
+ maxDispenseAmount: bigint;
1287
+
1288
+ /**
1289
+ * Flat fee charged in `FeeAsset` for each faucet request.
1290
+ **/
1291
+ dispenserFee: bigint;
1292
+
1293
+ /**
1294
+ * Asset ID used to charge the faucet request fee.
1295
+ * (HDX - 0)
1296
+ **/
1297
+ feeAsset: number;
1298
+
1299
+ /**
1300
+ * Asset ID deducted to receive faucet on the destination chain.
1301
+ * (WETH - 20)
1302
+ **/
1303
+ faucetAsset: number;
1304
+
1305
+ /**
1306
+ * Account that receives the collected dispenser fees and faucet asset.
1307
+ **/
1308
+ feeDestination: AccountId32;
1309
+
1310
+ /**
1311
+ * EVM address of the external gas faucet contract.
1312
+ **/
1313
+ faucetAddress: FixedBytes<20>;
1314
+
1315
+ /**
1316
+ * Pallet ID used to derive the pallet's sovereign account.
1317
+ **/
1318
+ palletId: FrameSupportPalletId;
1319
+
1320
+ /**
1321
+ * Minimum remaining ETH (in wei) that must be available in the faucet
1322
+ * after servicing a request. Requests are rejected if this threshold
1323
+ * would be breached.
1324
+ **/
1325
+ minFaucetEthThreshold: bigint;
1326
+
1327
+ /**
1328
+ * Generic pallet constant
1329
+ **/
1330
+ [name: string]: any;
1331
+ };
1249
1332
  /**
1250
1333
  * Pallet `Tokens`'s constants
1251
1334
  **/
@@ -194,6 +194,11 @@ export interface ChainErrors extends GenericChainErrors {
194
194
  **/
195
195
  EvmPermitRunnerError: GenericPalletError;
196
196
 
197
+ /**
198
+ * EVM permit must not affect account nonce.
199
+ **/
200
+ EvmPermitNonceInvariantViolated: GenericPalletError;
201
+
197
202
  /**
198
203
  * Generic pallet error
199
204
  **/
@@ -1130,6 +1135,41 @@ export interface ChainErrors extends GenericChainErrors {
1130
1135
  **/
1131
1136
  NotEvmCall: GenericPalletError;
1132
1137
 
1138
+ /**
1139
+ * The EVM call ran out of gas.
1140
+ **/
1141
+ EvmOutOfGas: GenericPalletError;
1142
+
1143
+ /**
1144
+ * The EVM call resulted in an arithmetic overflow or underflow.
1145
+ **/
1146
+ EvmArithmeticOverflowOrUnderflow: GenericPalletError;
1147
+
1148
+ /**
1149
+ * Aave - supply cap has been exceeded.
1150
+ **/
1151
+ AaveSupplyCapExceeded: GenericPalletError;
1152
+
1153
+ /**
1154
+ * Aave - borrow cap has been exceeded.
1155
+ **/
1156
+ AaveBorrowCapExceeded: GenericPalletError;
1157
+
1158
+ /**
1159
+ * Aave - health factor is not below the threshold.
1160
+ **/
1161
+ AaveHealthFactorNotBelowThreshold: GenericPalletError;
1162
+
1163
+ /**
1164
+ * Aave - health factor is lesser than the liquidation threshold
1165
+ **/
1166
+ AaveHealthFactorLowerThanLiquidationThreshold: GenericPalletError;
1167
+
1168
+ /**
1169
+ * Aave - there is not enough collateral to cover a new borrow
1170
+ **/
1171
+ CollateralCannotCoverNewBorrow: GenericPalletError;
1172
+
1133
1173
  /**
1134
1174
  * Generic pallet error
1135
1175
  **/
@@ -2325,18 +2365,6 @@ export interface ChainErrors extends GenericChainErrors {
2325
2365
  **/
2326
2366
  ZeroLiquidity: GenericPalletError;
2327
2367
 
2328
- /**
2329
- * It is not allowed to create a pool with zero initial price.
2330
- * Not used, kept for backward compatibility
2331
- **/
2332
- ZeroInitialPrice: GenericPalletError;
2333
-
2334
- /**
2335
- * Overflow
2336
- * Not used, kept for backward compatibility
2337
- **/
2338
- CreatePoolAssetAmountInvalid: GenericPalletError;
2339
-
2340
2368
  /**
2341
2369
  * Overflow
2342
2370
  **/
@@ -2407,11 +2435,6 @@ export interface ChainErrors extends GenericChainErrors {
2407
2435
  **/
2408
2436
  FeeAmountInvalid: GenericPalletError;
2409
2437
 
2410
- /**
2411
- * Overflow
2412
- **/
2413
- CannotApplyDiscount: GenericPalletError;
2414
-
2415
2438
  /**
2416
2439
  * Max fraction of pool to buy in single transaction has been exceeded.
2417
2440
  **/
@@ -2710,6 +2733,134 @@ export interface ChainErrors extends GenericChainErrors {
2710
2733
  **/
2711
2734
  [error: string]: GenericPalletError;
2712
2735
  };
2736
+ /**
2737
+ * Pallet `Signet`'s errors
2738
+ **/
2739
+ signet: {
2740
+ /**
2741
+ * The pallet has already been initialized
2742
+ **/
2743
+ AlreadyInitialized: GenericPalletError;
2744
+
2745
+ /**
2746
+ * The pallet has not been initialized yet
2747
+ **/
2748
+ NotInitialized: GenericPalletError;
2749
+
2750
+ /**
2751
+ * Unauthorized - caller is not admin
2752
+ **/
2753
+ Unauthorized: GenericPalletError;
2754
+
2755
+ /**
2756
+ * Insufficient funds for withdrawal
2757
+ **/
2758
+ InsufficientFunds: GenericPalletError;
2759
+
2760
+ /**
2761
+ * Invalid transaction data (empty)
2762
+ **/
2763
+ InvalidTransaction: GenericPalletError;
2764
+
2765
+ /**
2766
+ * Arrays must have the same length
2767
+ **/
2768
+ InvalidInputLength: GenericPalletError;
2769
+
2770
+ /**
2771
+ * The chain ID is too long
2772
+ **/
2773
+ ChainIdTooLong: GenericPalletError;
2774
+
2775
+ /**
2776
+ * Transaction data exceeds maximum allowed length
2777
+ **/
2778
+ DataTooLong: GenericPalletError;
2779
+
2780
+ /**
2781
+ * Invalid address format - must be exactly 20 bytes
2782
+ **/
2783
+ InvalidAddress: GenericPalletError;
2784
+
2785
+ /**
2786
+ * Priority fee cannot exceed max fee per gas (EIP-1559 requirement)
2787
+ **/
2788
+ InvalidGasPrice: GenericPalletError;
2789
+
2790
+ /**
2791
+ * Signature Deposit cannot exceed MaxSignatureDeposit
2792
+ **/
2793
+ MaxDepositExceeded: GenericPalletError;
2794
+
2795
+ /**
2796
+ * Generic pallet error
2797
+ **/
2798
+ [error: string]: GenericPalletError;
2799
+ };
2800
+ /**
2801
+ * Pallet `EthDispenser`'s errors
2802
+ **/
2803
+ ethDispenser: {
2804
+ /**
2805
+ * Request ID has already been used.
2806
+ **/
2807
+ DuplicateRequest: GenericPalletError;
2808
+
2809
+ /**
2810
+ * Failed to (de)serialize data.
2811
+ **/
2812
+ Serialization: GenericPalletError;
2813
+
2814
+ /**
2815
+ * Output data did not match the expected format.
2816
+ **/
2817
+ InvalidOutput: GenericPalletError;
2818
+
2819
+ /**
2820
+ * Request ID does not match the derived ID for the provided data.
2821
+ **/
2822
+ InvalidRequestId: GenericPalletError;
2823
+
2824
+ /**
2825
+ * Pallet is paused and cannot process this call.
2826
+ **/
2827
+ Paused: GenericPalletError;
2828
+
2829
+ /**
2830
+ * Requested amount is below the configured minimum.
2831
+ **/
2832
+ AmountTooSmall: GenericPalletError;
2833
+
2834
+ /**
2835
+ * Requested amount exceeds the configured maximum.
2836
+ **/
2837
+ AmountTooLarge: GenericPalletError;
2838
+
2839
+ /**
2840
+ * EVM address parameter is invalid (e.g., zero address).
2841
+ **/
2842
+ InvalidAddress: GenericPalletError;
2843
+
2844
+ /**
2845
+ * Faucet balance would fall below the configured threshold after this request.
2846
+ **/
2847
+ FaucetBalanceBelowThreshold: GenericPalletError;
2848
+
2849
+ /**
2850
+ * Caller does not have enough balance of the fee asset.
2851
+ **/
2852
+ NotEnoughFeeFunds: GenericPalletError;
2853
+
2854
+ /**
2855
+ * Caller does not have enough balance of the faucet asset.
2856
+ **/
2857
+ NotEnoughFaucetFunds: GenericPalletError;
2858
+
2859
+ /**
2860
+ * Generic pallet error
2861
+ **/
2862
+ [error: string]: GenericPalletError;
2863
+ };
2713
2864
  /**
2714
2865
  * Pallet `Tokens`'s errors
2715
2866
  **/
@@ -2940,6 +3091,21 @@ export interface ChainErrors extends GenericChainErrors {
2940
3091
  **/
2941
3092
  AddressNotWhitelisted: GenericPalletError;
2942
3093
 
3094
+ /**
3095
+ * Provided signature is invalid
3096
+ **/
3097
+ InvalidSignature: GenericPalletError;
3098
+
3099
+ /**
3100
+ * Account already exists in the system pallet
3101
+ **/
3102
+ AccountAlreadyExists: GenericPalletError;
3103
+
3104
+ /**
3105
+ * Insufficient asset balance of the claimed asset
3106
+ **/
3107
+ InsufficientAssetBalance: GenericPalletError;
3108
+
2943
3109
  /**
2944
3110
  * Generic pallet error
2945
3111
  **/
@@ -44,6 +44,7 @@ import type {
44
44
  PalletReferralsAssetAmount,
45
45
  PalletReferralsLevel,
46
46
  PalletReferralsFeeDistribution,
47
+ PalletSignetSignature,
47
48
  OrmlVestingVestingSchedule,
48
49
  EthereumLog,
49
50
  EvmCoreErrorExitReason,
@@ -2629,7 +2630,7 @@ export interface ChainEvents extends GenericChainEvents {
2629
2630
  Liquidated: GenericPalletEvent<
2630
2631
  'Liquidation',
2631
2632
  'Liquidated',
2632
- { user: H160; collateralAsset: number; debtAsset: number; debtToCover: bigint; profit: bigint }
2633
+ { user: H160; collateralAsset: number; debtAsset: number; profit: bigint }
2633
2634
  >;
2634
2635
 
2635
2636
  /**
@@ -2723,6 +2724,171 @@ export interface ChainEvents extends GenericChainEvents {
2723
2724
  **/
2724
2725
  [prop: string]: GenericPalletEvent;
2725
2726
  };
2727
+ /**
2728
+ * Pallet `Signet`'s events
2729
+ **/
2730
+ signet: {
2731
+ /**
2732
+ * Pallet has been initialized with an admin
2733
+ **/
2734
+ Initialized: GenericPalletEvent<
2735
+ 'Signet',
2736
+ 'Initialized',
2737
+ { admin: AccountId32; signatureDeposit: bigint; chainId: Bytes }
2738
+ >;
2739
+
2740
+ /**
2741
+ * Signature deposit amount has been updated
2742
+ **/
2743
+ DepositUpdated: GenericPalletEvent<'Signet', 'DepositUpdated', { oldDeposit: bigint; newDeposit: bigint }>;
2744
+
2745
+ /**
2746
+ * Funds have been withdrawn from the pallet
2747
+ **/
2748
+ FundsWithdrawn: GenericPalletEvent<'Signet', 'FundsWithdrawn', { amount: bigint; recipient: AccountId32 }>;
2749
+
2750
+ /**
2751
+ * A signature has been requested
2752
+ **/
2753
+ SignatureRequested: GenericPalletEvent<
2754
+ 'Signet',
2755
+ 'SignatureRequested',
2756
+ {
2757
+ sender: AccountId32;
2758
+ payload: FixedBytes<32>;
2759
+ keyVersion: number;
2760
+ deposit: bigint;
2761
+ chainId: Bytes;
2762
+ path: Bytes;
2763
+ algo: Bytes;
2764
+ dest: Bytes;
2765
+ params: Bytes;
2766
+ }
2767
+ >;
2768
+
2769
+ /**
2770
+ * Sign bidirectional request event
2771
+ **/
2772
+ SignBidirectionalRequested: GenericPalletEvent<
2773
+ 'Signet',
2774
+ 'SignBidirectionalRequested',
2775
+ {
2776
+ sender: AccountId32;
2777
+ serializedTransaction: Bytes;
2778
+ caip2Id: Bytes;
2779
+ keyVersion: number;
2780
+ deposit: bigint;
2781
+ path: Bytes;
2782
+ algo: Bytes;
2783
+ dest: Bytes;
2784
+ params: Bytes;
2785
+ outputDeserializationSchema: Bytes;
2786
+ respondSerializationSchema: Bytes;
2787
+ }
2788
+ >;
2789
+
2790
+ /**
2791
+ * Signature response event
2792
+ **/
2793
+ SignatureResponded: GenericPalletEvent<
2794
+ 'Signet',
2795
+ 'SignatureResponded',
2796
+ { requestId: FixedBytes<32>; responder: AccountId32; signature: PalletSignetSignature }
2797
+ >;
2798
+
2799
+ /**
2800
+ * Signature error event
2801
+ **/
2802
+ SignatureError: GenericPalletEvent<
2803
+ 'Signet',
2804
+ 'SignatureError',
2805
+ { requestId: FixedBytes<32>; responder: AccountId32; error: Bytes }
2806
+ >;
2807
+
2808
+ /**
2809
+ * Respond bidirectional event
2810
+ **/
2811
+ RespondBidirectionalEvent: GenericPalletEvent<
2812
+ 'Signet',
2813
+ 'RespondBidirectionalEvent',
2814
+ { requestId: FixedBytes<32>; responder: AccountId32; serializedOutput: Bytes; signature: PalletSignetSignature }
2815
+ >;
2816
+
2817
+ /**
2818
+ * Generic pallet event
2819
+ **/
2820
+ [prop: string]: GenericPalletEvent;
2821
+ };
2822
+ /**
2823
+ * Pallet `EthDispenser`'s events
2824
+ **/
2825
+ ethDispenser: {
2826
+ /**
2827
+ * Dispenser has been paused. No new requests will be accepted.
2828
+ **/
2829
+ Paused: GenericPalletEvent<'EthDispenser', 'Paused', null>;
2830
+
2831
+ /**
2832
+ * Dispenser has been unpaused. New requests are allowed again.
2833
+ **/
2834
+ Unpaused: GenericPalletEvent<'EthDispenser', 'Unpaused', null>;
2835
+
2836
+ /**
2837
+ * A funding request has been submitted to SigNet.
2838
+ *
2839
+ * Note: This indicates the request was formed and submitted, not that
2840
+ * the EVM transaction has been included on the target chain.
2841
+ **/
2842
+ FundRequested: GenericPalletEvent<
2843
+ 'EthDispenser',
2844
+ 'FundRequested',
2845
+ {
2846
+ /**
2847
+ * Unique request ID derived from request parameters.
2848
+ **/
2849
+ requestId: FixedBytes<32>;
2850
+
2851
+ /**
2852
+ * Account that initiated the request.
2853
+ **/
2854
+ requester: AccountId32;
2855
+
2856
+ /**
2857
+ * Target EVM address to receive ETH.
2858
+ **/
2859
+ to: FixedBytes<20>;
2860
+
2861
+ /**
2862
+ * Requested amount of ETH (in wei).
2863
+ **/
2864
+ amount: bigint;
2865
+ }
2866
+ >;
2867
+
2868
+ /**
2869
+ * Tracked faucet ETH balance has been updated.
2870
+ **/
2871
+ FaucetBalanceUpdated: GenericPalletEvent<
2872
+ 'EthDispenser',
2873
+ 'FaucetBalanceUpdated',
2874
+ {
2875
+ /**
2876
+ * Previous tracked balance (in wei).
2877
+ **/
2878
+ oldBalanceWei: bigint;
2879
+
2880
+ /**
2881
+ * New tracked balance (in wei).
2882
+ **/
2883
+ newBalanceWei: bigint;
2884
+ }
2885
+ >;
2886
+
2887
+ /**
2888
+ * Generic pallet event
2889
+ **/
2890
+ [prop: string]: GenericPalletEvent;
2891
+ };
2726
2892
  /**
2727
2893
  * Pallet `Tokens`'s events
2728
2894
  **/
@@ -2987,6 +3153,11 @@ export interface ChainEvents extends GenericChainEvents {
2987
3153
  **/
2988
3154
  ContractDisapproved: GenericPalletEvent<'EVMAccounts', 'ContractDisapproved', { address: H160 }>;
2989
3155
 
3156
+ /**
3157
+ * Account was claimed.
3158
+ **/
3159
+ AccountClaimed: GenericPalletEvent<'EVMAccounts', 'AccountClaimed', { account: AccountId32; assetId: number }>;
3160
+
2990
3161
  /**
2991
3162
  * Generic pallet event
2992
3163
  **/
@@ -52,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
52
52
 
53
53
  /**
54
54
  * @name: HydrationApi
55
- * @specVersion: 360
55
+ * @specVersion: 378
56
56
  **/
57
57
  export interface HydrationApi extends GenericSubstrateApi {
58
58
  rpc: ChainJsonRpcApis;
@@ -12,6 +12,7 @@ import type {
12
12
  Data,
13
13
  BytesLike,
14
14
  FixedBytes,
15
+ Permill,
15
16
  H160,
16
17
  U256,
17
18
  } from 'dedot/codecs';
@@ -83,6 +84,7 @@ import type {
83
84
  PalletReferralsLevel,
84
85
  PalletReferralsFeeDistribution,
85
86
  PalletHsmCollateralInfo,
87
+ PalletDispenserDispenserConfigData,
86
88
  OrmlTokensBalanceLock,
87
89
  OrmlTokensAccountData,
88
90
  OrmlTokensReserveData,
@@ -1654,6 +1656,14 @@ export interface ChainStorage extends GenericChainStorage {
1654
1656
  **/
1655
1657
  poolSnapshots: GenericStorageQuery<(arg: number) => PalletStableswapPoolSnapshot | undefined, number>;
1656
1658
 
1659
+ /**
1660
+ * Temporary pool's trade fee for current block.
1661
+ *
1662
+ * @param {number} arg
1663
+ * @param {Callback<Permill | undefined> =} callback
1664
+ **/
1665
+ blockFee: GenericStorageQuery<(arg: number) => Permill | undefined, number>;
1666
+
1657
1667
  /**
1658
1668
  * Generic pallet storage query
1659
1669
  **/
@@ -1913,6 +1923,75 @@ export interface ChainStorage extends GenericChainStorage {
1913
1923
  **/
1914
1924
  [storage: string]: GenericStorageQuery;
1915
1925
  };
1926
+ /**
1927
+ * Pallet `Signet`'s storage queries
1928
+ **/
1929
+ signet: {
1930
+ /**
1931
+ * The admin account that controls this pallet
1932
+ *
1933
+ * @param {Callback<AccountId32 | undefined> =} callback
1934
+ **/
1935
+ admin: GenericStorageQuery<() => AccountId32 | undefined>;
1936
+
1937
+ /**
1938
+ * The amount required as deposit for signature requests
1939
+ *
1940
+ * @param {Callback<bigint> =} callback
1941
+ **/
1942
+ signatureDeposit: GenericStorageQuery<() => bigint>;
1943
+
1944
+ /**
1945
+ * The CAIP-2 chain identifier
1946
+ *
1947
+ * @param {Callback<Bytes> =} callback
1948
+ **/
1949
+ chainId: GenericStorageQuery<() => Bytes>;
1950
+
1951
+ /**
1952
+ * Generic pallet storage query
1953
+ **/
1954
+ [storage: string]: GenericStorageQuery;
1955
+ };
1956
+ /**
1957
+ * Pallet `EthDispenser`'s storage queries
1958
+ **/
1959
+ ethDispenser: {
1960
+ /**
1961
+ * Global configuration for the dispenser.
1962
+ *
1963
+ * Currently only tracks whether the pallet is paused. If `None`, defaults
1964
+ * to unpaused.
1965
+ *
1966
+ * @param {Callback<PalletDispenserDispenserConfigData | undefined> =} callback
1967
+ **/
1968
+ dispenserConfig: GenericStorageQuery<() => PalletDispenserDispenserConfigData | undefined>;
1969
+
1970
+ /**
1971
+ * Tracked ETH balance (in wei) currently available in the external faucet.
1972
+ *
1973
+ * This value is updated manually via governance and is used as a guardrail
1974
+ * to prevent issuing requests that would over-spend the faucet.
1975
+ *
1976
+ * @param {Callback<bigint> =} callback
1977
+ **/
1978
+ faucetBalanceWei: GenericStorageQuery<() => bigint>;
1979
+
1980
+ /**
1981
+ * Request IDs that have already been used.
1982
+ *
1983
+ * This prevents accidental or malicious re-submission of the same request.
1984
+ *
1985
+ * @param {FixedBytes<32>} arg
1986
+ * @param {Callback<[] | undefined> =} callback
1987
+ **/
1988
+ usedRequestIds: GenericStorageQuery<(arg: FixedBytes<32>) => [] | undefined, FixedBytes<32>>;
1989
+
1990
+ /**
1991
+ * Generic pallet storage query
1992
+ **/
1993
+ [storage: string]: GenericStorageQuery;
1994
+ };
1916
1995
  /**
1917
1996
  * Pallet `Tokens`'s storage queries
1918
1997
  **/
@@ -2118,6 +2197,27 @@ export interface ChainStorage extends GenericChainStorage {
2118
2197
  **/
2119
2198
  approvedContract: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
2120
2199
 
2200
+ /**
2201
+ * Tracks accounts that have been marked as EVM accounts.
2202
+ * An account is marked as EVM account right before we charge the evm fee
2203
+ * This is used to avoid resetting frame system nonce of accounts.
2204
+ * When we mark account as EVM account, we increase its sufficients counter by one.
2205
+ * We never decrease this sufficients, so side effect is that account can never be reaped
2206
+ *
2207
+ * @param {AccountId32Like} arg
2208
+ * @param {Callback<[] | undefined> =} callback
2209
+ **/
2210
+ markedEvmAccounts: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
2211
+
2212
+ /**
2213
+ * ERC20-style allowances storage for the MultiCurrency precompile:
2214
+ * (asset_id, owner, spender) -> allowance
2215
+ *
2216
+ * @param {[number, H160, H160]} arg
2217
+ * @param {Callback<bigint> =} callback
2218
+ **/
2219
+ allowances: GenericStorageQuery<(arg: [number, H160, H160]) => bigint, [number, H160, H160]>;
2220
+
2121
2221
  /**
2122
2222
  * Generic pallet storage query
2123
2223
  **/
@@ -667,6 +667,24 @@ export interface RuntimeApis extends GenericRuntimeApis {
667
667
  **/
668
668
  [method: string]: GenericRuntimeApiMethod;
669
669
  };
670
+ /**
671
+ * @runtimeapi: DusterApi - 0x34a3d488166b5a55
672
+ **/
673
+ dusterApi: {
674
+ /**
675
+ * Check if an account is whitelisted (protected from dusting).
676
+ * Returns true if the account is whitelisted, false otherwise.
677
+ *
678
+ * @callname: DusterApi_is_whitelisted
679
+ * @param {AccountId32Like} account
680
+ **/
681
+ isWhitelisted: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<boolean>>;
682
+
683
+ /**
684
+ * Generic runtime api call
685
+ **/
686
+ [method: string]: GenericRuntimeApiMethod;
687
+ };
670
688
  /**
671
689
  * @runtimeapi: Erc20MappingApi - 0x542334fe4fd7cada
672
690
  **/