@dedot/chaintypes 0.203.0 → 0.205.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.
@@ -2777,7 +2777,16 @@ export type PalletReviveEvent =
2777
2777
  /**
2778
2778
  * Contract deployed by deployer at the specified address.
2779
2779
  **/
2780
- | { name: 'Instantiated'; data: { deployer: H160; contract: H160 } };
2780
+ | { name: 'Instantiated'; data: { deployer: H160; contract: H160 } }
2781
+ /**
2782
+ * Emitted when an Ethereum transaction reverts.
2783
+ *
2784
+ * Ethereum transactions always complete successfully at the extrinsic level,
2785
+ * as even reverted calls must store their `ReceiptInfo`.
2786
+ * To distinguish reverted calls from successful ones, this event is emitted
2787
+ * for failed Ethereum transactions.
2788
+ **/
2789
+ | { name: 'EthExtrinsicRevert'; data: { dispatchError: DispatchError } };
2781
2790
 
2782
2791
  /**
2783
2792
  * Inner events of this pallet.
@@ -6857,6 +6866,7 @@ export type AssetHubKusamaRuntimeOriginCaller =
6857
6866
  | { type: 'System'; value: FrameSupportDispatchRawOrigin }
6858
6867
  | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
6859
6868
  | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
6869
+ | { type: 'Revive'; value: PalletReviveOrigin }
6860
6870
  | { type: 'Origins'; value: AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin };
6861
6871
 
6862
6872
  export type FrameSupportDispatchRawOrigin =
@@ -6873,6 +6883,8 @@ export type CumulusPalletXcmOrigin =
6873
6883
  | { type: 'Relay' }
6874
6884
  | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
6875
6885
 
6886
+ export type PalletReviveOrigin = { type: 'EthTransaction'; value: AccountId32 };
6887
+
6876
6888
  export type AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
6877
6889
  | 'StakingAdmin'
6878
6890
  | 'Treasurer'
@@ -8457,9 +8469,10 @@ export type PalletAssetsCall =
8457
8469
  *
8458
8470
  * A deposit will be taken from the signer account.
8459
8471
  *
8460
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
8461
- * must have sufficient funds for a deposit to be taken.
8462
- * - `id`: The identifier of the asset for the account to be created.
8472
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
8473
+ * to be taken.
8474
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
8475
+ * be live.
8463
8476
  * - `who`: The account to be created.
8464
8477
  *
8465
8478
  * Emits `Touched` event when successful.
@@ -9028,9 +9041,10 @@ export type PalletAssetsCallLike =
9028
9041
  *
9029
9042
  * A deposit will be taken from the signer account.
9030
9043
  *
9031
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
9032
- * must have sufficient funds for a deposit to be taken.
9033
- * - `id`: The identifier of the asset for the account to be created.
9044
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
9045
+ * to be taken.
9046
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
9047
+ * be live.
9034
9048
  * - `who`: The account to be created.
9035
9049
  *
9036
9050
  * Emits `Touched` event when successful.
@@ -12009,9 +12023,10 @@ export type PalletAssetsCall002 =
12009
12023
  *
12010
12024
  * A deposit will be taken from the signer account.
12011
12025
  *
12012
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
12013
- * must have sufficient funds for a deposit to be taken.
12014
- * - `id`: The identifier of the asset for the account to be created.
12026
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
12027
+ * to be taken.
12028
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
12029
+ * be live.
12015
12030
  * - `who`: The account to be created.
12016
12031
  *
12017
12032
  * Emits `Touched` event when successful.
@@ -12594,9 +12609,10 @@ export type PalletAssetsCallLike002 =
12594
12609
  *
12595
12610
  * A deposit will be taken from the signer account.
12596
12611
  *
12597
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
12598
- * must have sufficient funds for a deposit to be taken.
12599
- * - `id`: The identifier of the asset for the account to be created.
12612
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
12613
+ * to be taken.
12614
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
12615
+ * be live.
12600
12616
  * - `who`: The account to be created.
12601
12617
  *
12602
12618
  * Emits `Touched` event when successful.
@@ -13262,9 +13278,10 @@ export type PalletAssetsCall003 =
13262
13278
  *
13263
13279
  * A deposit will be taken from the signer account.
13264
13280
  *
13265
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
13266
- * must have sufficient funds for a deposit to be taken.
13267
- * - `id`: The identifier of the asset for the account to be created.
13281
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
13282
+ * to be taken.
13283
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
13284
+ * be live.
13268
13285
  * - `who`: The account to be created.
13269
13286
  *
13270
13287
  * Emits `Touched` event when successful.
@@ -13833,9 +13850,10 @@ export type PalletAssetsCallLike003 =
13833
13850
  *
13834
13851
  * A deposit will be taken from the signer account.
13835
13852
  *
13836
- * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
13837
- * must have sufficient funds for a deposit to be taken.
13838
- * - `id`: The identifier of the asset for the account to be created.
13853
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
13854
+ * to be taken.
13855
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
13856
+ * be live.
13839
13857
  * - `who`: The account to be created.
13840
13858
  *
13841
13859
  * Emits `Touched` event when successful.
@@ -14863,9 +14881,6 @@ export type PalletReviveCall =
14863
14881
  * # Parameters
14864
14882
  *
14865
14883
  * * `payload`: The encoded [`crate::evm::TransactionSigned`].
14866
- * * `gas_limit`: The gas limit enforced during contract execution.
14867
- * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
14868
- * storage usage.
14869
14884
  *
14870
14885
  * # Note
14871
14886
  *
@@ -14882,7 +14897,7 @@ export type PalletReviveCall =
14882
14897
  *
14883
14898
  * * `dest`: Address of the contract to call.
14884
14899
  * * `value`: The balance to transfer from the `origin` to `dest`.
14885
- * * `gas_limit`: The gas limit enforced when executing the constructor.
14900
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
14886
14901
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
14887
14902
  * caller to pay for the storage consumed.
14888
14903
  * * `data`: The input data to pass to the contract.
@@ -14898,7 +14913,7 @@ export type PalletReviveCall =
14898
14913
  params: {
14899
14914
  dest: H160;
14900
14915
  value: bigint;
14901
- gasLimit: SpWeightsWeightV2Weight;
14916
+ weightLimit: SpWeightsWeightV2Weight;
14902
14917
  storageDepositLimit: bigint;
14903
14918
  data: Bytes;
14904
14919
  };
@@ -14914,7 +14929,7 @@ export type PalletReviveCall =
14914
14929
  name: 'Instantiate';
14915
14930
  params: {
14916
14931
  value: bigint;
14917
- gasLimit: SpWeightsWeightV2Weight;
14932
+ weightLimit: SpWeightsWeightV2Weight;
14918
14933
  storageDepositLimit: bigint;
14919
14934
  codeHash: H256;
14920
14935
  data: Bytes;
@@ -14932,7 +14947,7 @@ export type PalletReviveCall =
14932
14947
  * # Parameters
14933
14948
  *
14934
14949
  * * `value`: The balance to transfer from the `origin` to the newly created contract.
14935
- * * `gas_limit`: The gas limit enforced when executing the constructor.
14950
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
14936
14951
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
14937
14952
  * from the caller to pay for the storage consumed.
14938
14953
  * * `code`: The contract code to deploy in raw bytes.
@@ -14954,7 +14969,7 @@ export type PalletReviveCall =
14954
14969
  name: 'InstantiateWithCode';
14955
14970
  params: {
14956
14971
  value: bigint;
14957
- gasLimit: SpWeightsWeightV2Weight;
14972
+ weightLimit: SpWeightsWeightV2Weight;
14958
14973
  storageDepositLimit: bigint;
14959
14974
  code: Bytes;
14960
14975
  data: Bytes;
@@ -14965,6 +14980,20 @@ export type PalletReviveCall =
14965
14980
  * Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
14966
14981
  * by an EVM transaction through the EVM compatibility layer.
14967
14982
  *
14983
+ * # Parameters
14984
+ *
14985
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
14986
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
14987
+ * payment
14988
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
14989
+ * * `code`: The contract code to deploy in raw bytes.
14990
+ * * `data`: The input data to pass to the contract constructor.
14991
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
14992
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
14993
+ * is used for building the Ethereum transaction root.
14994
+ * * effective_gas_price: the price of a unit of gas
14995
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
14996
+ *
14968
14997
  * Calling this dispatchable ensures that the origin's nonce is bumped only once,
14969
14998
  * via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
14970
14999
  * also bumps the nonce after contract instantiation, since it may be invoked multiple
@@ -14972,22 +15001,66 @@ export type PalletReviveCall =
14972
15001
  **/
14973
15002
  | {
14974
15003
  name: 'EthInstantiateWithCode';
14975
- params: { value: U256; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint; code: Bytes; data: Bytes };
15004
+ params: {
15005
+ value: U256;
15006
+ weightLimit: SpWeightsWeightV2Weight;
15007
+ ethGasLimit: U256;
15008
+ code: Bytes;
15009
+ data: Bytes;
15010
+ transactionEncoded: Bytes;
15011
+ effectiveGasPrice: U256;
15012
+ encodedLen: number;
15013
+ };
14976
15014
  }
14977
15015
  /**
14978
15016
  * Same as [`Self::call`], but intended to be dispatched **only**
14979
15017
  * by an EVM transaction through the EVM compatibility layer.
15018
+ *
15019
+ * # Parameters
15020
+ *
15021
+ * * `dest`: The Ethereum address of the account to be called
15022
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
15023
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
15024
+ * payment
15025
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
15026
+ * * `data`: The input data to pass to the contract constructor.
15027
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
15028
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
15029
+ * is used for building the Ethereum transaction root.
15030
+ * * effective_gas_price: the price of a unit of gas
15031
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
14980
15032
  **/
14981
15033
  | {
14982
15034
  name: 'EthCall';
14983
- params: { dest: H160; value: U256; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint; data: Bytes };
15035
+ params: {
15036
+ dest: H160;
15037
+ value: U256;
15038
+ weightLimit: SpWeightsWeightV2Weight;
15039
+ ethGasLimit: U256;
15040
+ data: Bytes;
15041
+ transactionEncoded: Bytes;
15042
+ effectiveGasPrice: U256;
15043
+ encodedLen: number;
15044
+ };
14984
15045
  }
15046
+ /**
15047
+ * Executes a Substrate runtime call from an Ethereum transaction.
15048
+ *
15049
+ * This dispatchable is intended to be called **only** through the EVM compatibility
15050
+ * layer. The provided call will be dispatched using `RawOrigin::Signed`.
15051
+ *
15052
+ * # Parameters
15053
+ *
15054
+ * * `origin`: Must be an [`Origin::EthTransaction`] origin.
15055
+ * * `call`: The Substrate runtime call to execute.
15056
+ * * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
15057
+ **/
15058
+ | { name: 'EthSubstrateCall'; params: { call: AssetHubKusamaRuntimeRuntimeCall; transactionEncoded: Bytes } }
14985
15059
  /**
14986
15060
  * Upload new `code` without instantiating a contract from it.
14987
15061
  *
14988
15062
  * If the code does not already exist a deposit is reserved from the caller
14989
- * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
14990
- * depends on the size of the supplied `code`.
15063
+ * The size of the reserve depends on the size of the supplied `code`.
14991
15064
  *
14992
15065
  * # Note
14993
15066
  *
@@ -14995,6 +15068,9 @@ export type PalletReviveCall =
14995
15068
  * To avoid this situation a constructor could employ access control so that it can
14996
15069
  * only be instantiated by permissioned entities. The same is true when uploading
14997
15070
  * through [`Self::instantiate_with_code`].
15071
+ *
15072
+ * If the refcount of the code reaches zero after terminating the last contract that
15073
+ * references this code, the code will be removed automatically.
14998
15074
  **/
14999
15075
  | { name: 'UploadCode'; params: { code: Bytes; storageDepositLimit: bigint } }
15000
15076
  /**
@@ -15047,9 +15123,6 @@ export type PalletReviveCallLike =
15047
15123
  * # Parameters
15048
15124
  *
15049
15125
  * * `payload`: The encoded [`crate::evm::TransactionSigned`].
15050
- * * `gas_limit`: The gas limit enforced during contract execution.
15051
- * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
15052
- * storage usage.
15053
15126
  *
15054
15127
  * # Note
15055
15128
  *
@@ -15066,7 +15139,7 @@ export type PalletReviveCallLike =
15066
15139
  *
15067
15140
  * * `dest`: Address of the contract to call.
15068
15141
  * * `value`: The balance to transfer from the `origin` to `dest`.
15069
- * * `gas_limit`: The gas limit enforced when executing the constructor.
15142
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
15070
15143
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
15071
15144
  * caller to pay for the storage consumed.
15072
15145
  * * `data`: The input data to pass to the contract.
@@ -15082,7 +15155,7 @@ export type PalletReviveCallLike =
15082
15155
  params: {
15083
15156
  dest: H160;
15084
15157
  value: bigint;
15085
- gasLimit: SpWeightsWeightV2Weight;
15158
+ weightLimit: SpWeightsWeightV2Weight;
15086
15159
  storageDepositLimit: bigint;
15087
15160
  data: BytesLike;
15088
15161
  };
@@ -15098,7 +15171,7 @@ export type PalletReviveCallLike =
15098
15171
  name: 'Instantiate';
15099
15172
  params: {
15100
15173
  value: bigint;
15101
- gasLimit: SpWeightsWeightV2Weight;
15174
+ weightLimit: SpWeightsWeightV2Weight;
15102
15175
  storageDepositLimit: bigint;
15103
15176
  codeHash: H256;
15104
15177
  data: BytesLike;
@@ -15116,7 +15189,7 @@ export type PalletReviveCallLike =
15116
15189
  * # Parameters
15117
15190
  *
15118
15191
  * * `value`: The balance to transfer from the `origin` to the newly created contract.
15119
- * * `gas_limit`: The gas limit enforced when executing the constructor.
15192
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
15120
15193
  * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
15121
15194
  * from the caller to pay for the storage consumed.
15122
15195
  * * `code`: The contract code to deploy in raw bytes.
@@ -15138,7 +15211,7 @@ export type PalletReviveCallLike =
15138
15211
  name: 'InstantiateWithCode';
15139
15212
  params: {
15140
15213
  value: bigint;
15141
- gasLimit: SpWeightsWeightV2Weight;
15214
+ weightLimit: SpWeightsWeightV2Weight;
15142
15215
  storageDepositLimit: bigint;
15143
15216
  code: BytesLike;
15144
15217
  data: BytesLike;
@@ -15149,6 +15222,20 @@ export type PalletReviveCallLike =
15149
15222
  * Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
15150
15223
  * by an EVM transaction through the EVM compatibility layer.
15151
15224
  *
15225
+ * # Parameters
15226
+ *
15227
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
15228
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
15229
+ * payment
15230
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
15231
+ * * `code`: The contract code to deploy in raw bytes.
15232
+ * * `data`: The input data to pass to the contract constructor.
15233
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
15234
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
15235
+ * is used for building the Ethereum transaction root.
15236
+ * * effective_gas_price: the price of a unit of gas
15237
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
15238
+ *
15152
15239
  * Calling this dispatchable ensures that the origin's nonce is bumped only once,
15153
15240
  * via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
15154
15241
  * also bumps the nonce after contract instantiation, since it may be invoked multiple
@@ -15158,32 +15245,64 @@ export type PalletReviveCallLike =
15158
15245
  name: 'EthInstantiateWithCode';
15159
15246
  params: {
15160
15247
  value: U256;
15161
- gasLimit: SpWeightsWeightV2Weight;
15162
- storageDepositLimit: bigint;
15248
+ weightLimit: SpWeightsWeightV2Weight;
15249
+ ethGasLimit: U256;
15163
15250
  code: BytesLike;
15164
15251
  data: BytesLike;
15252
+ transactionEncoded: BytesLike;
15253
+ effectiveGasPrice: U256;
15254
+ encodedLen: number;
15165
15255
  };
15166
15256
  }
15167
15257
  /**
15168
15258
  * Same as [`Self::call`], but intended to be dispatched **only**
15169
15259
  * by an EVM transaction through the EVM compatibility layer.
15260
+ *
15261
+ * # Parameters
15262
+ *
15263
+ * * `dest`: The Ethereum address of the account to be called
15264
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
15265
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
15266
+ * payment
15267
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
15268
+ * * `data`: The input data to pass to the contract constructor.
15269
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
15270
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
15271
+ * is used for building the Ethereum transaction root.
15272
+ * * effective_gas_price: the price of a unit of gas
15273
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
15170
15274
  **/
15171
15275
  | {
15172
15276
  name: 'EthCall';
15173
15277
  params: {
15174
15278
  dest: H160;
15175
15279
  value: U256;
15176
- gasLimit: SpWeightsWeightV2Weight;
15177
- storageDepositLimit: bigint;
15280
+ weightLimit: SpWeightsWeightV2Weight;
15281
+ ethGasLimit: U256;
15178
15282
  data: BytesLike;
15283
+ transactionEncoded: BytesLike;
15284
+ effectiveGasPrice: U256;
15285
+ encodedLen: number;
15179
15286
  };
15180
15287
  }
15288
+ /**
15289
+ * Executes a Substrate runtime call from an Ethereum transaction.
15290
+ *
15291
+ * This dispatchable is intended to be called **only** through the EVM compatibility
15292
+ * layer. The provided call will be dispatched using `RawOrigin::Signed`.
15293
+ *
15294
+ * # Parameters
15295
+ *
15296
+ * * `origin`: Must be an [`Origin::EthTransaction`] origin.
15297
+ * * `call`: The Substrate runtime call to execute.
15298
+ * * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
15299
+ **/
15300
+ | { name: 'EthSubstrateCall'; params: { call: AssetHubKusamaRuntimeRuntimeCallLike; transactionEncoded: BytesLike } }
15181
15301
  /**
15182
15302
  * Upload new `code` without instantiating a contract from it.
15183
15303
  *
15184
15304
  * If the code does not already exist a deposit is reserved from the caller
15185
- * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
15186
- * depends on the size of the supplied `code`.
15305
+ * The size of the reserve depends on the size of the supplied `code`.
15187
15306
  *
15188
15307
  * # Note
15189
15308
  *
@@ -15191,6 +15310,9 @@ export type PalletReviveCallLike =
15191
15310
  * To avoid this situation a constructor could employ access control so that it can
15192
15311
  * only be instantiated by permissioned entities. The same is true when uploading
15193
15312
  * through [`Self::instantiate_with_code`].
15313
+ *
15314
+ * If the refcount of the code reaches zero after terminating the last contract that
15315
+ * references this code, the code will be removed automatically.
15194
15316
  **/
15195
15317
  | { name: 'UploadCode'; params: { code: BytesLike; storageDepositLimit: bigint } }
15196
15318
  /**
@@ -20333,6 +20455,19 @@ export type FrameSystemError =
20333
20455
 
20334
20456
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
20335
20457
 
20458
+ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
20459
+ FrameSystemExtensionsCheckNonZeroSender,
20460
+ FrameSystemExtensionsCheckSpecVersion,
20461
+ FrameSystemExtensionsCheckTxVersion,
20462
+ FrameSystemExtensionsCheckGenesis,
20463
+ FrameSystemExtensionsCheckMortality,
20464
+ FrameSystemExtensionsCheckNonce,
20465
+ FrameSystemExtensionsCheckWeight,
20466
+ PalletAssetConversionTxPaymentChargeAssetTxPayment,
20467
+ FrameMetadataHashExtensionCheckMetadataHash,
20468
+ PalletReviveEvmTxExtensionSetOrigin,
20469
+ ];
20470
+
20336
20471
  export type FrameSystemExtensionsCheckNonZeroSender = {};
20337
20472
 
20338
20473
  export type FrameSystemExtensionsCheckSpecVersion = {};
@@ -20356,6 +20491,8 @@ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataH
20356
20491
 
20357
20492
  export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
20358
20493
 
20494
+ export type PalletReviveEvmTxExtensionSetOrigin = {};
20495
+
20359
20496
  export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
20360
20497
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
20361
20498
  paraHeadHash?: H256 | undefined;
@@ -20650,6 +20787,10 @@ export type PalletBalancesError =
20650
20787
 
20651
20788
  export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
20652
20789
 
20790
+ export type FrameSupportStorageNoDrop = FrameSupportTokensFungibleImbalance;
20791
+
20792
+ export type FrameSupportTokensFungibleImbalance = { amount: bigint };
20793
+
20653
20794
  export type PalletVestingReleases = 'V0' | 'V1';
20654
20795
 
20655
20796
  /**
@@ -22181,9 +22322,12 @@ export type PalletReviveVmCodeInfo = {
22181
22322
  deposit: bigint;
22182
22323
  refcount: bigint;
22183
22324
  codeLen: number;
22325
+ codeType: PalletReviveVmBytecodeType;
22184
22326
  behaviourVersion: number;
22185
22327
  };
22186
22328
 
22329
+ export type PalletReviveVmBytecodeType = 'Pvm' | 'Evm';
22330
+
22187
22331
  export type PalletReviveStorageAccountInfo = { accountType: PalletReviveStorageAccountType; dust: number };
22188
22332
 
22189
22333
  export type PalletReviveStorageAccountType =
@@ -22203,6 +22347,217 @@ export type PalletReviveStorageContractInfo = {
22203
22347
 
22204
22348
  export type PalletReviveStorageDeletionQueueManager = { insertCounter: number; deleteCounter: number };
22205
22349
 
22350
+ export type PalletReviveEvmApiRpcTypesGenBlock = {
22351
+ baseFeePerGas: U256;
22352
+ blobGasUsed: U256;
22353
+ difficulty: U256;
22354
+ excessBlobGas: U256;
22355
+ extraData: PalletReviveEvmApiByteBytes;
22356
+ gasLimit: U256;
22357
+ gasUsed: U256;
22358
+ hash: H256;
22359
+ logsBloom: PalletReviveEvmApiByteBytes256;
22360
+ miner: H160;
22361
+ mixHash: H256;
22362
+ nonce: PalletReviveEvmApiByteBytes8;
22363
+ number: U256;
22364
+ parentBeaconBlockRoot?: H256 | undefined;
22365
+ parentHash: H256;
22366
+ receiptsRoot: H256;
22367
+ requestsHash?: H256 | undefined;
22368
+ sha3Uncles: H256;
22369
+ size: U256;
22370
+ stateRoot: H256;
22371
+ timestamp: U256;
22372
+ totalDifficulty?: U256 | undefined;
22373
+ transactions: PalletReviveEvmApiRpcTypesGenHashesOrTransactionInfos;
22374
+ transactionsRoot: H256;
22375
+ uncles: Array<H256>;
22376
+ withdrawals: Array<PalletReviveEvmApiRpcTypesGenWithdrawal>;
22377
+ withdrawalsRoot: H256;
22378
+ };
22379
+
22380
+ export type PalletReviveEvmApiByteBytes = Bytes;
22381
+
22382
+ export type PalletReviveEvmApiByteBytes256 = FixedBytes<256>;
22383
+
22384
+ export type PalletReviveEvmApiByteBytes8 = FixedBytes<8>;
22385
+
22386
+ export type PalletReviveEvmApiRpcTypesGenHashesOrTransactionInfos =
22387
+ | { type: 'Hashes'; value: Array<H256> }
22388
+ | { type: 'TransactionInfos'; value: Array<PalletReviveEvmApiRpcTypesGenTransactionInfo> };
22389
+
22390
+ export type PalletReviveEvmApiRpcTypesGenTransactionInfo = {
22391
+ blockHash: H256;
22392
+ blockNumber: U256;
22393
+ from: H160;
22394
+ hash: H256;
22395
+ transactionIndex: U256;
22396
+ transactionSigned: PalletReviveEvmApiRpcTypesGenTransactionSigned;
22397
+ };
22398
+
22399
+ export type PalletReviveEvmApiRpcTypesGenTransactionSigned =
22400
+ | { type: 'Transaction7702Signed'; value: PalletReviveEvmApiRpcTypesGenTransaction7702Signed }
22401
+ | { type: 'Transaction4844Signed'; value: PalletReviveEvmApiRpcTypesGenTransaction4844Signed }
22402
+ | { type: 'Transaction1559Signed'; value: PalletReviveEvmApiRpcTypesGenTransaction1559Signed }
22403
+ | { type: 'Transaction2930Signed'; value: PalletReviveEvmApiRpcTypesGenTransaction2930Signed }
22404
+ | { type: 'TransactionLegacySigned'; value: PalletReviveEvmApiRpcTypesGenTransactionLegacySigned };
22405
+
22406
+ export type PalletReviveEvmApiRpcTypesGenTransaction7702Signed = {
22407
+ transaction7702Unsigned: PalletReviveEvmApiRpcTypesGenTransaction7702Unsigned;
22408
+ r: U256;
22409
+ s: U256;
22410
+ v?: U256 | undefined;
22411
+ yParity: U256;
22412
+ };
22413
+
22414
+ export type PalletReviveEvmApiRpcTypesGenTransaction7702Unsigned = {
22415
+ accessList: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry>;
22416
+ authorizationList: Array<PalletReviveEvmApiRpcTypesGenAuthorizationListEntry>;
22417
+ chainId: U256;
22418
+ gas: U256;
22419
+ gasPrice: U256;
22420
+ input: PalletReviveEvmApiByteBytes;
22421
+ maxFeePerGas: U256;
22422
+ maxPriorityFeePerGas: U256;
22423
+ nonce: U256;
22424
+ to: H160;
22425
+ rType: number;
22426
+ value: U256;
22427
+ };
22428
+
22429
+ export type PalletReviveEvmApiRpcTypesGenAccessListEntry = { address: H160; storageKeys: Array<H256> };
22430
+
22431
+ export type PalletReviveEvmApiRpcTypesGenAuthorizationListEntry = {
22432
+ chainId: U256;
22433
+ address: H160;
22434
+ nonce: U256;
22435
+ yParity: U256;
22436
+ r: U256;
22437
+ s: U256;
22438
+ };
22439
+
22440
+ export type PalletReviveEvmApiRpcTypesGenTransaction4844Signed = {
22441
+ transaction4844Unsigned: PalletReviveEvmApiRpcTypesGenTransaction4844Unsigned;
22442
+ r: U256;
22443
+ s: U256;
22444
+ yParity: U256;
22445
+ };
22446
+
22447
+ export type PalletReviveEvmApiRpcTypesGenTransaction4844Unsigned = {
22448
+ accessList: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry>;
22449
+ blobVersionedHashes: Array<H256>;
22450
+ chainId: U256;
22451
+ gas: U256;
22452
+ input: PalletReviveEvmApiByteBytes;
22453
+ maxFeePerBlobGas: U256;
22454
+ maxFeePerGas: U256;
22455
+ maxPriorityFeePerGas: U256;
22456
+ nonce: U256;
22457
+ to: H160;
22458
+ rType: number;
22459
+ value: U256;
22460
+ };
22461
+
22462
+ export type PalletReviveEvmApiRpcTypesGenTransaction1559Signed = {
22463
+ transaction1559Unsigned: PalletReviveEvmApiRpcTypesGenTransaction1559Unsigned;
22464
+ r: U256;
22465
+ s: U256;
22466
+ v?: U256 | undefined;
22467
+ yParity: U256;
22468
+ };
22469
+
22470
+ export type PalletReviveEvmApiRpcTypesGenTransaction1559Unsigned = {
22471
+ accessList: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry>;
22472
+ chainId: U256;
22473
+ gas: U256;
22474
+ gasPrice: U256;
22475
+ input: PalletReviveEvmApiByteBytes;
22476
+ maxFeePerGas: U256;
22477
+ maxPriorityFeePerGas: U256;
22478
+ nonce: U256;
22479
+ to?: H160 | undefined;
22480
+ rType: number;
22481
+ value: U256;
22482
+ };
22483
+
22484
+ export type PalletReviveEvmApiRpcTypesGenTransaction2930Signed = {
22485
+ transaction2930Unsigned: PalletReviveEvmApiRpcTypesGenTransaction2930Unsigned;
22486
+ r: U256;
22487
+ s: U256;
22488
+ v?: U256 | undefined;
22489
+ yParity: U256;
22490
+ };
22491
+
22492
+ export type PalletReviveEvmApiRpcTypesGenTransaction2930Unsigned = {
22493
+ accessList: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry>;
22494
+ chainId: U256;
22495
+ gas: U256;
22496
+ gasPrice: U256;
22497
+ input: PalletReviveEvmApiByteBytes;
22498
+ nonce: U256;
22499
+ to?: H160 | undefined;
22500
+ rType: number;
22501
+ value: U256;
22502
+ };
22503
+
22504
+ export type PalletReviveEvmApiRpcTypesGenTransactionLegacySigned = {
22505
+ transactionLegacyUnsigned: PalletReviveEvmApiRpcTypesGenTransactionLegacyUnsigned;
22506
+ r: U256;
22507
+ s: U256;
22508
+ v: U256;
22509
+ };
22510
+
22511
+ export type PalletReviveEvmApiRpcTypesGenTransactionLegacyUnsigned = {
22512
+ chainId?: U256 | undefined;
22513
+ gas: U256;
22514
+ gasPrice: U256;
22515
+ input: PalletReviveEvmApiByteBytes;
22516
+ nonce: U256;
22517
+ to?: H160 | undefined;
22518
+ rType: number;
22519
+ value: U256;
22520
+ };
22521
+
22522
+ export type PalletReviveEvmApiRpcTypesGenWithdrawal = {
22523
+ address: H160;
22524
+ amount: U256;
22525
+ index: U256;
22526
+ validatorIndex: U256;
22527
+ };
22528
+
22529
+ export type PalletReviveEvmBlockHashReceiptGasInfo = { gasUsed: U256; effectiveGasPrice: U256 };
22530
+
22531
+ export type PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR = {
22532
+ transactionRootBuilder: PalletReviveEvmBlockHashHashBuilderIncrementalHashBuilderIR;
22533
+ receiptsRootBuilder: PalletReviveEvmBlockHashHashBuilderIncrementalHashBuilderIR;
22534
+ baseFeePerGas: U256;
22535
+ blockGasLimit: U256;
22536
+ gasUsed: U256;
22537
+ logsBloom: FixedBytes<256>;
22538
+ txHashes: Array<H256>;
22539
+ gasInfo: Array<PalletReviveEvmBlockHashReceiptGasInfo>;
22540
+ };
22541
+
22542
+ export type PalletReviveEvmBlockHashHashBuilderIncrementalHashBuilderIR = {
22543
+ key: Bytes;
22544
+ valueType: number;
22545
+ builderValue: Bytes;
22546
+ stack: Array<Bytes>;
22547
+ stateMasks: Array<number>;
22548
+ treeMasks: Array<number>;
22549
+ hashMasks: Array<number>;
22550
+ storedInDatabase: boolean;
22551
+ rlpBuf: Bytes;
22552
+ index: bigint;
22553
+ };
22554
+
22555
+ export type PalletReviveDebugDebugSettings = {
22556
+ allowUnlimitedContractSize: boolean;
22557
+ bypassEip3607: boolean;
22558
+ pvmLogs: boolean;
22559
+ };
22560
+
22206
22561
  /**
22207
22562
  * The `Error` enum of this pallet.
22208
22563
  **/
@@ -22254,7 +22609,7 @@ export type PalletReviveError =
22254
22609
  **/
22255
22610
  | 'ContractTrapped'
22256
22611
  /**
22257
- * Event body or storage item exceeds [`limits::PAYLOAD_BYTES`].
22612
+ * Event body or storage item exceeds [`limits::STORAGE_BYTES`].
22258
22613
  **/
22259
22614
  | 'ValueTooLarge'
22260
22615
  /**
@@ -22404,7 +22759,58 @@ export type PalletReviveError =
22404
22759
  /**
22405
22760
  * The return data exceeds [`limits::CALLDATA_BYTES`].
22406
22761
  **/
22407
- | 'ReturnDataTooLarge';
22762
+ | 'ReturnDataTooLarge'
22763
+ /**
22764
+ * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
22765
+ **/
22766
+ | 'InvalidJump'
22767
+ /**
22768
+ * Attempting to pop a value from an empty stack.
22769
+ **/
22770
+ | 'StackUnderflow'
22771
+ /**
22772
+ * Attempting to push a value onto a full stack.
22773
+ **/
22774
+ | 'StackOverflow'
22775
+ /**
22776
+ * Too much deposit was drawn from the shared txfee and deposit credit.
22777
+ *
22778
+ * This happens if the passed `gas` inside the ethereum transaction is too low.
22779
+ **/
22780
+ | 'TxFeeOverdraw'
22781
+ /**
22782
+ * When calling an EVM constructor `data` has to be empty.
22783
+ *
22784
+ * EVM constructors do not accept data. Their input data is part of the code blob itself.
22785
+ **/
22786
+ | 'EvmConstructorNonEmptyData'
22787
+ /**
22788
+ * Tried to construct an EVM contract via code hash.
22789
+ *
22790
+ * EVM contracts can only be instantiated via code upload as no initcode is
22791
+ * stored on-chain.
22792
+ **/
22793
+ | 'EvmConstructedFromHash'
22794
+ /**
22795
+ * The contract does not have enough balance to refund the storage deposit.
22796
+ *
22797
+ * This is a bug and should never happen. It means the accounting got out of sync.
22798
+ **/
22799
+ | 'StorageRefundNotEnoughFunds'
22800
+ /**
22801
+ * This means there are locks on the contracts storage deposit that prevents refunding it.
22802
+ *
22803
+ * This would be the case if the contract used its storage deposits for governance
22804
+ * or other pallets that allow creating locks over held balance.
22805
+ **/
22806
+ | 'StorageRefundLocked'
22807
+ /**
22808
+ * Called a pre-compile that is not allowed to be delegate called.
22809
+ *
22810
+ * Some pre-compile functions will trap the caller context if being delegate
22811
+ * called or if their caller was being delegate called.
22812
+ **/
22813
+ | 'PrecompileDelegateDenied';
22408
22814
 
22409
22815
  export type PalletNominationPoolsRewardPool = {
22410
22816
  lastRecordedRewardCounter: FixedU128;
@@ -23574,9 +23980,11 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
23574
23980
  export type SystemParachainsCommonApisInflationInfo = { issuance: Perquintill; nextMint: [bigint, bigint] };
23575
23981
 
23576
23982
  export type PalletRevivePrimitivesContractResult = {
23577
- gasConsumed: SpWeightsWeightV2Weight;
23578
- gasRequired: SpWeightsWeightV2Weight;
23983
+ weightConsumed: SpWeightsWeightV2Weight;
23984
+ weightRequired: SpWeightsWeightV2Weight;
23579
23985
  storageDeposit: PalletRevivePrimitivesStorageDeposit;
23986
+ maxStorageDeposit: PalletRevivePrimitivesStorageDeposit;
23987
+ gasConsumed: bigint;
23580
23988
  result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
23581
23989
  };
23582
23990
 
@@ -23591,9 +23999,11 @@ export type PalletRevivePrimitivesStorageDeposit =
23591
23999
  export type PalletRevivePrimitivesCode = { type: 'Upload'; value: Bytes } | { type: 'Existing'; value: H256 };
23592
24000
 
23593
24001
  export type PalletRevivePrimitivesContractResultInstantiateReturnValue = {
23594
- gasConsumed: SpWeightsWeightV2Weight;
23595
- gasRequired: SpWeightsWeightV2Weight;
24002
+ weightConsumed: SpWeightsWeightV2Weight;
24003
+ weightRequired: SpWeightsWeightV2Weight;
23596
24004
  storageDeposit: PalletRevivePrimitivesStorageDeposit;
24005
+ maxStorageDeposit: PalletRevivePrimitivesStorageDeposit;
24006
+ gasConsumed: bigint;
23597
24007
  result: Result<PalletRevivePrimitivesInstantiateReturnValue, DispatchError>;
23598
24008
  };
23599
24009
 
@@ -23604,6 +24014,7 @@ export type PalletRevivePrimitivesInstantiateReturnValue = {
23604
24014
 
23605
24015
  export type PalletReviveEvmApiRpcTypesGenGenericTransaction = {
23606
24016
  accessList?: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry> | undefined;
24017
+ authorizationList: Array<PalletReviveEvmApiRpcTypesGenAuthorizationListEntry>;
23607
24018
  blobVersionedHashes: Array<H256>;
23608
24019
  blobs: Array<PalletReviveEvmApiByteBytes>;
23609
24020
  chainId?: U256 | undefined;
@@ -23620,10 +24031,6 @@ export type PalletReviveEvmApiRpcTypesGenGenericTransaction = {
23620
24031
  value?: U256 | undefined;
23621
24032
  };
23622
24033
 
23623
- export type PalletReviveEvmApiRpcTypesGenAccessListEntry = { address: H160; storageKeys: Array<H256> };
23624
-
23625
- export type PalletReviveEvmApiByteBytes = Bytes;
23626
-
23627
24034
  export type PalletReviveEvmApiRpcTypesGenInputOrData = {
23628
24035
  input?: PalletReviveEvmApiByteBytes | undefined;
23629
24036
  data?: PalletReviveEvmApiByteBytes | undefined;
@@ -23632,8 +24039,9 @@ export type PalletReviveEvmApiRpcTypesGenInputOrData = {
23632
24039
  export type PalletReviveEvmApiByte = number;
23633
24040
 
23634
24041
  export type PalletRevivePrimitivesEthTransactInfo = {
23635
- gasRequired: SpWeightsWeightV2Weight;
24042
+ weightRequired: SpWeightsWeightV2Weight;
23636
24043
  storageDeposit: bigint;
24044
+ maxStorageDeposit: bigint;
23637
24045
  ethGas: U256;
23638
24046
  data: Bytes;
23639
24047
  };
@@ -23642,9 +24050,17 @@ export type PalletRevivePrimitivesEthTransactError =
23642
24050
  | { type: 'Data'; value: Bytes }
23643
24051
  | { type: 'Message'; value: string };
23644
24052
 
24053
+ export type PalletReviveEvmApiRpcTypesDryRunConfig = {
24054
+ timestampOverride?: bigint | undefined;
24055
+ reserved?: [] | undefined;
24056
+ };
24057
+
23645
24058
  export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
23646
24059
 
23647
- export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
24060
+ export type PalletRevivePrimitivesContractAccessError =
24061
+ | { type: 'DoesntExist' }
24062
+ | { type: 'KeyDecodingFailed' }
24063
+ | { type: 'StorageWriteFailed'; value: DispatchError };
23648
24064
 
23649
24065
  export type PalletReviveEvmApiDebugRpcTypesTracerType =
23650
24066
  | { type: 'CallTracer'; value?: PalletReviveEvmApiDebugRpcTypesCallTracerConfig | undefined }
@@ -23675,6 +24091,7 @@ export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
23675
24091
  logs: Array<PalletReviveEvmApiDebugRpcTypesCallLog>;
23676
24092
  value?: U256 | undefined;
23677
24093
  callType: PalletReviveEvmApiDebugRpcTypesCallType;
24094
+ childCallCount: number;
23678
24095
  };
23679
24096
 
23680
24097
  export type PalletReviveEvmApiDebugRpcTypesCallLog = {
@@ -23684,7 +24101,13 @@ export type PalletReviveEvmApiDebugRpcTypesCallLog = {
23684
24101
  position: number;
23685
24102
  };
23686
24103
 
23687
- export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall' | 'Create' | 'Create2';
24104
+ export type PalletReviveEvmApiDebugRpcTypesCallType =
24105
+ | 'Call'
24106
+ | 'StaticCall'
24107
+ | 'DelegateCall'
24108
+ | 'Create'
24109
+ | 'Create2'
24110
+ | 'Selfdestruct';
23688
24111
 
23689
24112
  export type PalletReviveEvmApiDebugRpcTypesPrestateTrace =
23690
24113
  | { type: 'Prestate'; value: Array<[H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo]> }
@@ -23703,6 +24126,8 @@ export type PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo = {
23703
24126
  storage: Array<[PalletReviveEvmApiByteBytes, PalletReviveEvmApiByteBytes | undefined]>;
23704
24127
  };
23705
24128
 
24129
+ export type PalletRevivePrimitivesBalanceConversionError = 'Value' | 'Dust';
24130
+
23706
24131
  export type AssetHubKusamaRuntimeRuntimeError =
23707
24132
  | { pallet: 'System'; palletError: FrameSystemError }
23708
24133
  | { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }