@dedot/chaintypes 0.32.0 → 0.34.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.
@@ -13,6 +13,8 @@ import type {
13
13
  BytesLike,
14
14
  AccountId32Like,
15
15
  AccountId32,
16
+ H160,
17
+ FixedBytes,
16
18
  } from 'dedot/codecs';
17
19
  import type {
18
20
  SpConsensusSlotsSlotDuration,
@@ -44,6 +46,16 @@ import type {
44
46
  XcmRuntimeApisConversionsError,
45
47
  AssetsCommonRuntimeApiFungiblesAccessError,
46
48
  CumulusPrimitivesCoreCollationInfo,
49
+ PolkadotPrimitivesVstagingCoreSelector,
50
+ PolkadotPrimitivesVstagingClaimQueueOffset,
51
+ XcmRuntimeApisTrustedQueryError,
52
+ XcmVersionedAsset,
53
+ PalletRevivePrimitivesContractResult,
54
+ PalletRevivePrimitivesContractResultInstantiateReturnValue,
55
+ PalletRevivePrimitivesCode,
56
+ PalletRevivePrimitivesEthContractResult,
57
+ PalletRevivePrimitivesCodeUploadReturnValue,
58
+ PalletRevivePrimitivesContractAccessError,
47
59
  } from './types';
48
60
 
49
61
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
@@ -736,6 +748,25 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
736
748
  **/
737
749
  [method: string]: GenericRuntimeApiMethod<Rv>;
738
750
  };
751
+ /**
752
+ * @runtimeapi: GetCoreSelectorApi - 0x695c80446b8b3d4e
753
+ **/
754
+ getCoreSelectorApi: {
755
+ /**
756
+ * Retrieve core selector and claim queue offset for the next block.
757
+ *
758
+ * @callname: GetCoreSelectorApi_core_selector
759
+ **/
760
+ coreSelector: GenericRuntimeApiMethod<
761
+ Rv,
762
+ () => Promise<[PolkadotPrimitivesVstagingCoreSelector, PolkadotPrimitivesVstagingClaimQueueOffset]>
763
+ >;
764
+
765
+ /**
766
+ * Generic runtime api call
767
+ **/
768
+ [method: string]: GenericRuntimeApiMethod<Rv>;
769
+ };
739
770
  /**
740
771
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
741
772
  **/
@@ -744,9 +775,10 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
744
775
  * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the
745
776
  * storage.
746
777
  *
747
- * In the case of a FRAME-based runtime, this function deserializes the full `RuntimeGenesisConfig` from the given JSON blob and
748
- * puts it into the storage. If the provided JSON blob is incorrect or incomplete or the
749
- * deserialization fails, an error is returned.
778
+ * In the case of a FRAME-based runtime, this function deserializes the full
779
+ * `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the
780
+ * provided JSON blob is incorrect or incomplete or the deserialization fails, an error
781
+ * is returned.
750
782
  *
751
783
  * Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no
752
784
  * defaults will be used.
@@ -760,7 +792,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
760
792
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
761
793
  * `id`.
762
794
  *
763
- * If `id` is `None` the function returns JSON blob representation of the default
795
+ * If `id` is `None` the function should return JSON blob representation of the default
764
796
  * `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default
765
797
  * `RuntimeGenesisConfig`.
766
798
  *
@@ -787,6 +819,193 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
787
819
  **/
788
820
  presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
789
821
 
822
+ /**
823
+ * Generic runtime api call
824
+ **/
825
+ [method: string]: GenericRuntimeApiMethod<Rv>;
826
+ };
827
+ /**
828
+ * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
829
+ **/
830
+ trustedQueryApi: {
831
+ /**
832
+ * Returns if the location is a trusted reserve for the asset.
833
+ *
834
+ * # Arguments
835
+ * * `asset`: `VersionedAsset`.
836
+ * * `location`: `VersionedLocation`.
837
+ *
838
+ * @callname: TrustedQueryApi_is_trusted_reserve
839
+ * @param {XcmVersionedAsset} asset
840
+ * @param {XcmVersionedLocation} location
841
+ **/
842
+ isTrustedReserve: GenericRuntimeApiMethod<
843
+ Rv,
844
+ (
845
+ asset: XcmVersionedAsset,
846
+ location: XcmVersionedLocation,
847
+ ) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
848
+ >;
849
+
850
+ /**
851
+ * Returns if the asset can be teleported to the location.
852
+ *
853
+ * # Arguments
854
+ * * `asset`: `VersionedAsset`.
855
+ * * `location`: `VersionedLocation`.
856
+ *
857
+ * @callname: TrustedQueryApi_is_trusted_teleporter
858
+ * @param {XcmVersionedAsset} asset
859
+ * @param {XcmVersionedLocation} location
860
+ **/
861
+ isTrustedTeleporter: GenericRuntimeApiMethod<
862
+ Rv,
863
+ (
864
+ asset: XcmVersionedAsset,
865
+ location: XcmVersionedLocation,
866
+ ) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
867
+ >;
868
+
869
+ /**
870
+ * Generic runtime api call
871
+ **/
872
+ [method: string]: GenericRuntimeApiMethod<Rv>;
873
+ };
874
+ /**
875
+ * @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
876
+ **/
877
+ reviveApi: {
878
+ /**
879
+ * Returns the free balance of the given `[H160]` address.
880
+ *
881
+ * @callname: ReviveApi_balance
882
+ * @param {H160} address
883
+ **/
884
+ balance: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<bigint>>;
885
+
886
+ /**
887
+ * Returns the nonce of the given `[H160]` address.
888
+ *
889
+ * @callname: ReviveApi_nonce
890
+ * @param {H160} address
891
+ **/
892
+ nonce: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number>>;
893
+
894
+ /**
895
+ * Perform a call from a specified account to a given contract.
896
+ *
897
+ * See [`crate::Pallet::bare_call`].
898
+ *
899
+ * @callname: ReviveApi_call
900
+ * @param {AccountId32Like} origin
901
+ * @param {H160} dest
902
+ * @param {bigint} value
903
+ * @param {SpWeightsWeightV2Weight | undefined} gas_limit
904
+ * @param {bigint | undefined} storage_deposit_limit
905
+ * @param {BytesLike} input_data
906
+ **/
907
+ call: GenericRuntimeApiMethod<
908
+ Rv,
909
+ (
910
+ origin: AccountId32Like,
911
+ dest: H160,
912
+ value: bigint,
913
+ gasLimit: SpWeightsWeightV2Weight | undefined,
914
+ storageDepositLimit: bigint | undefined,
915
+ inputData: BytesLike,
916
+ ) => Promise<PalletRevivePrimitivesContractResult>
917
+ >;
918
+
919
+ /**
920
+ * Instantiate a new contract.
921
+ *
922
+ * See `[crate::Pallet::bare_instantiate]`.
923
+ *
924
+ * @callname: ReviveApi_instantiate
925
+ * @param {AccountId32Like} origin
926
+ * @param {bigint} value
927
+ * @param {SpWeightsWeightV2Weight | undefined} gas_limit
928
+ * @param {bigint | undefined} storage_deposit_limit
929
+ * @param {PalletRevivePrimitivesCode} code
930
+ * @param {BytesLike} data
931
+ * @param {FixedBytes<32> | undefined} salt
932
+ **/
933
+ instantiate: GenericRuntimeApiMethod<
934
+ Rv,
935
+ (
936
+ origin: AccountId32Like,
937
+ value: bigint,
938
+ gasLimit: SpWeightsWeightV2Weight | undefined,
939
+ storageDepositLimit: bigint | undefined,
940
+ code: PalletRevivePrimitivesCode,
941
+ data: BytesLike,
942
+ salt?: FixedBytes<32> | undefined,
943
+ ) => Promise<PalletRevivePrimitivesContractResultInstantiateReturnValue>
944
+ >;
945
+
946
+ /**
947
+ * Perform an Ethereum call.
948
+ *
949
+ * See [`crate::Pallet::bare_eth_transact`]
950
+ *
951
+ * @callname: ReviveApi_eth_transact
952
+ * @param {H160} origin
953
+ * @param {H160 | undefined} dest
954
+ * @param {bigint} value
955
+ * @param {BytesLike} input
956
+ * @param {SpWeightsWeightV2Weight | undefined} gas_limit
957
+ * @param {bigint | undefined} storage_deposit_limit
958
+ **/
959
+ ethTransact: GenericRuntimeApiMethod<
960
+ Rv,
961
+ (
962
+ origin: H160,
963
+ dest: H160 | undefined,
964
+ value: bigint,
965
+ input: BytesLike,
966
+ gasLimit?: SpWeightsWeightV2Weight | undefined,
967
+ storageDepositLimit?: bigint | undefined,
968
+ ) => Promise<PalletRevivePrimitivesEthContractResult>
969
+ >;
970
+
971
+ /**
972
+ * Upload new code without instantiating a contract from it.
973
+ *
974
+ * See [`crate::Pallet::bare_upload_code`].
975
+ *
976
+ * @callname: ReviveApi_upload_code
977
+ * @param {AccountId32Like} origin
978
+ * @param {BytesLike} code
979
+ * @param {bigint | undefined} storage_deposit_limit
980
+ **/
981
+ uploadCode: GenericRuntimeApiMethod<
982
+ Rv,
983
+ (
984
+ origin: AccountId32Like,
985
+ code: BytesLike,
986
+ storageDepositLimit?: bigint | undefined,
987
+ ) => Promise<Result<PalletRevivePrimitivesCodeUploadReturnValue, DispatchError>>
988
+ >;
989
+
990
+ /**
991
+ * Query a given storage key in a given contract.
992
+ *
993
+ * Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the
994
+ * specified account and `Ok(None)` if it doesn't. If the account specified by the address
995
+ * doesn't exist, or doesn't have a contract then `Err` is returned.
996
+ *
997
+ * @callname: ReviveApi_get_storage
998
+ * @param {H160} address
999
+ * @param {FixedBytes<32>} key
1000
+ **/
1001
+ getStorage: GenericRuntimeApiMethod<
1002
+ Rv,
1003
+ (
1004
+ address: H160,
1005
+ key: FixedBytes<32>,
1006
+ ) => Promise<Result<Bytes | undefined, PalletRevivePrimitivesContractAccessError>>
1007
+ >;
1008
+
790
1009
  /**
791
1010
  * Generic runtime api call
792
1011
  **/
@@ -10,7 +10,7 @@ import type {
10
10
  RpcV2,
11
11
  ISubmittableExtrinsicLegacy,
12
12
  } from 'dedot/types';
13
- import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes } from 'dedot/codecs';
13
+ import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes, H160 } from 'dedot/codecs';
14
14
  import type {
15
15
  AssetHubWestendRuntimeRuntimeCallLike,
16
16
  SpRuntimeMultiSignature,
@@ -8985,6 +8985,361 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8985
8985
  **/
8986
8986
  [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
8987
8987
  };
8988
+ /**
8989
+ * Pallet `Revive`'s transaction calls
8990
+ **/
8991
+ revive: {
8992
+ /**
8993
+ * A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
8994
+ *
8995
+ * # Parameters
8996
+ *
8997
+ * * `payload`: The RLP-encoded [`crate::evm::TransactionLegacySigned`].
8998
+ * * `gas_limit`: The gas limit enforced during contract execution.
8999
+ * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
9000
+ * storage usage.
9001
+ *
9002
+ * # Note
9003
+ *
9004
+ * This call cannot be dispatched directly; attempting to do so will result in a failed
9005
+ * transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
9006
+ * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
9007
+ * signer and validating the transaction.
9008
+ *
9009
+ * @param {BytesLike} payload
9010
+ * @param {SpWeightsWeightV2Weight} gasLimit
9011
+ * @param {bigint} storageDepositLimit
9012
+ **/
9013
+ ethTransact: GenericTxCall<
9014
+ Rv,
9015
+ (
9016
+ payload: BytesLike,
9017
+ gasLimit: SpWeightsWeightV2Weight,
9018
+ storageDepositLimit: bigint,
9019
+ ) => ChainSubmittableExtrinsic<
9020
+ Rv,
9021
+ {
9022
+ pallet: 'Revive';
9023
+ palletCall: {
9024
+ name: 'EthTransact';
9025
+ params: { payload: BytesLike; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint };
9026
+ };
9027
+ }
9028
+ >
9029
+ >;
9030
+
9031
+ /**
9032
+ * Makes a call to an account, optionally transferring some balance.
9033
+ *
9034
+ * # Parameters
9035
+ *
9036
+ * * `dest`: Address of the contract to call.
9037
+ * * `value`: The balance to transfer from the `origin` to `dest`.
9038
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
9039
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
9040
+ * caller to pay for the storage consumed.
9041
+ * * `data`: The input data to pass to the contract.
9042
+ *
9043
+ * * If the account is a smart-contract account, the associated code will be
9044
+ * executed and any value will be transferred.
9045
+ * * If the account is a regular account, any value will be transferred.
9046
+ * * If no account exists and the call value is not less than `existential_deposit`,
9047
+ * a regular account will be created and any value will be transferred.
9048
+ *
9049
+ * @param {H160} dest
9050
+ * @param {bigint} value
9051
+ * @param {SpWeightsWeightV2Weight} gasLimit
9052
+ * @param {bigint} storageDepositLimit
9053
+ * @param {BytesLike} data
9054
+ **/
9055
+ call: GenericTxCall<
9056
+ Rv,
9057
+ (
9058
+ dest: H160,
9059
+ value: bigint,
9060
+ gasLimit: SpWeightsWeightV2Weight,
9061
+ storageDepositLimit: bigint,
9062
+ data: BytesLike,
9063
+ ) => ChainSubmittableExtrinsic<
9064
+ Rv,
9065
+ {
9066
+ pallet: 'Revive';
9067
+ palletCall: {
9068
+ name: 'Call';
9069
+ params: {
9070
+ dest: H160;
9071
+ value: bigint;
9072
+ gasLimit: SpWeightsWeightV2Weight;
9073
+ storageDepositLimit: bigint;
9074
+ data: BytesLike;
9075
+ };
9076
+ };
9077
+ }
9078
+ >
9079
+ >;
9080
+
9081
+ /**
9082
+ * Instantiates a contract from a previously deployed wasm binary.
9083
+ *
9084
+ * This function is identical to [`Self::instantiate_with_code`] but without the
9085
+ * code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
9086
+ * must be supplied.
9087
+ *
9088
+ * @param {bigint} value
9089
+ * @param {SpWeightsWeightV2Weight} gasLimit
9090
+ * @param {bigint} storageDepositLimit
9091
+ * @param {H256} codeHash
9092
+ * @param {BytesLike} data
9093
+ * @param {FixedBytes<32> | undefined} salt
9094
+ **/
9095
+ instantiate: GenericTxCall<
9096
+ Rv,
9097
+ (
9098
+ value: bigint,
9099
+ gasLimit: SpWeightsWeightV2Weight,
9100
+ storageDepositLimit: bigint,
9101
+ codeHash: H256,
9102
+ data: BytesLike,
9103
+ salt: FixedBytes<32> | undefined,
9104
+ ) => ChainSubmittableExtrinsic<
9105
+ Rv,
9106
+ {
9107
+ pallet: 'Revive';
9108
+ palletCall: {
9109
+ name: 'Instantiate';
9110
+ params: {
9111
+ value: bigint;
9112
+ gasLimit: SpWeightsWeightV2Weight;
9113
+ storageDepositLimit: bigint;
9114
+ codeHash: H256;
9115
+ data: BytesLike;
9116
+ salt: FixedBytes<32> | undefined;
9117
+ };
9118
+ };
9119
+ }
9120
+ >
9121
+ >;
9122
+
9123
+ /**
9124
+ * Instantiates a new contract from the supplied `code` optionally transferring
9125
+ * some balance.
9126
+ *
9127
+ * This dispatchable has the same effect as calling [`Self::upload_code`] +
9128
+ * [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
9129
+ * also check the documentation of [`Self::upload_code`].
9130
+ *
9131
+ * # Parameters
9132
+ *
9133
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
9134
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
9135
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
9136
+ * from the caller to pay for the storage consumed.
9137
+ * * `code`: The contract code to deploy in raw bytes.
9138
+ * * `data`: The input data to pass to the contract constructor.
9139
+ * * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
9140
+ * semantics are used. If `None` then `CRATE1` is used.
9141
+ *
9142
+ *
9143
+ * Instantiation is executed as follows:
9144
+ *
9145
+ * - The supplied `code` is deployed, and a `code_hash` is created for that code.
9146
+ * - If the `code_hash` already exists on the chain the underlying `code` will be shared.
9147
+ * - The destination address is computed based on the sender, code_hash and the salt.
9148
+ * - The smart-contract account is created at the computed address.
9149
+ * - The `value` is transferred to the new account.
9150
+ * - The `deploy` function is executed in the context of the newly-created account.
9151
+ *
9152
+ * @param {bigint} value
9153
+ * @param {SpWeightsWeightV2Weight} gasLimit
9154
+ * @param {bigint} storageDepositLimit
9155
+ * @param {BytesLike} code
9156
+ * @param {BytesLike} data
9157
+ * @param {FixedBytes<32> | undefined} salt
9158
+ **/
9159
+ instantiateWithCode: GenericTxCall<
9160
+ Rv,
9161
+ (
9162
+ value: bigint,
9163
+ gasLimit: SpWeightsWeightV2Weight,
9164
+ storageDepositLimit: bigint,
9165
+ code: BytesLike,
9166
+ data: BytesLike,
9167
+ salt: FixedBytes<32> | undefined,
9168
+ ) => ChainSubmittableExtrinsic<
9169
+ Rv,
9170
+ {
9171
+ pallet: 'Revive';
9172
+ palletCall: {
9173
+ name: 'InstantiateWithCode';
9174
+ params: {
9175
+ value: bigint;
9176
+ gasLimit: SpWeightsWeightV2Weight;
9177
+ storageDepositLimit: bigint;
9178
+ code: BytesLike;
9179
+ data: BytesLike;
9180
+ salt: FixedBytes<32> | undefined;
9181
+ };
9182
+ };
9183
+ }
9184
+ >
9185
+ >;
9186
+
9187
+ /**
9188
+ * Upload new `code` without instantiating a contract from it.
9189
+ *
9190
+ * If the code does not already exist a deposit is reserved from the caller
9191
+ * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
9192
+ * depends on the size of the supplied `code`.
9193
+ *
9194
+ * # Note
9195
+ *
9196
+ * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
9197
+ * To avoid this situation a constructor could employ access control so that it can
9198
+ * only be instantiated by permissioned entities. The same is true when uploading
9199
+ * through [`Self::instantiate_with_code`].
9200
+ *
9201
+ * @param {BytesLike} code
9202
+ * @param {bigint} storageDepositLimit
9203
+ **/
9204
+ uploadCode: GenericTxCall<
9205
+ Rv,
9206
+ (
9207
+ code: BytesLike,
9208
+ storageDepositLimit: bigint,
9209
+ ) => ChainSubmittableExtrinsic<
9210
+ Rv,
9211
+ {
9212
+ pallet: 'Revive';
9213
+ palletCall: {
9214
+ name: 'UploadCode';
9215
+ params: { code: BytesLike; storageDepositLimit: bigint };
9216
+ };
9217
+ }
9218
+ >
9219
+ >;
9220
+
9221
+ /**
9222
+ * Remove the code stored under `code_hash` and refund the deposit to its owner.
9223
+ *
9224
+ * A code can only be removed by its original uploader (its owner) and only if it is
9225
+ * not used by any contract.
9226
+ *
9227
+ * @param {H256} codeHash
9228
+ **/
9229
+ removeCode: GenericTxCall<
9230
+ Rv,
9231
+ (codeHash: H256) => ChainSubmittableExtrinsic<
9232
+ Rv,
9233
+ {
9234
+ pallet: 'Revive';
9235
+ palletCall: {
9236
+ name: 'RemoveCode';
9237
+ params: { codeHash: H256 };
9238
+ };
9239
+ }
9240
+ >
9241
+ >;
9242
+
9243
+ /**
9244
+ * Privileged function that changes the code of an existing contract.
9245
+ *
9246
+ * This takes care of updating refcounts and all other necessary operations. Returns
9247
+ * an error if either the `code_hash` or `dest` do not exist.
9248
+ *
9249
+ * # Note
9250
+ *
9251
+ * This does **not** change the address of the contract in question. This means
9252
+ * that the contract address is no longer derived from its code hash after calling
9253
+ * this dispatchable.
9254
+ *
9255
+ * @param {H160} dest
9256
+ * @param {H256} codeHash
9257
+ **/
9258
+ setCode: GenericTxCall<
9259
+ Rv,
9260
+ (
9261
+ dest: H160,
9262
+ codeHash: H256,
9263
+ ) => ChainSubmittableExtrinsic<
9264
+ Rv,
9265
+ {
9266
+ pallet: 'Revive';
9267
+ palletCall: {
9268
+ name: 'SetCode';
9269
+ params: { dest: H160; codeHash: H256 };
9270
+ };
9271
+ }
9272
+ >
9273
+ >;
9274
+
9275
+ /**
9276
+ * Register the callers account id so that it can be used in contract interactions.
9277
+ *
9278
+ * This will error if the origin is already mapped or is a eth native `Address20`. It will
9279
+ * take a deposit that can be released by calling [`Self::unmap_account`].
9280
+ *
9281
+ **/
9282
+ mapAccount: GenericTxCall<
9283
+ Rv,
9284
+ () => ChainSubmittableExtrinsic<
9285
+ Rv,
9286
+ {
9287
+ pallet: 'Revive';
9288
+ palletCall: {
9289
+ name: 'MapAccount';
9290
+ };
9291
+ }
9292
+ >
9293
+ >;
9294
+
9295
+ /**
9296
+ * Unregister the callers account id in order to free the deposit.
9297
+ *
9298
+ * There is no reason to ever call this function other than freeing up the deposit.
9299
+ * This is only useful when the account should no longer be used.
9300
+ *
9301
+ **/
9302
+ unmapAccount: GenericTxCall<
9303
+ Rv,
9304
+ () => ChainSubmittableExtrinsic<
9305
+ Rv,
9306
+ {
9307
+ pallet: 'Revive';
9308
+ palletCall: {
9309
+ name: 'UnmapAccount';
9310
+ };
9311
+ }
9312
+ >
9313
+ >;
9314
+
9315
+ /**
9316
+ * Dispatch an `call` with the origin set to the callers fallback address.
9317
+ *
9318
+ * Every `AccountId32` can control its corresponding fallback account. The fallback account
9319
+ * is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
9320
+ * recovery function in case an `AccountId20` was used without creating a mapping first.
9321
+ *
9322
+ * @param {AssetHubWestendRuntimeRuntimeCallLike} call
9323
+ **/
9324
+ dispatchAsFallbackAccount: GenericTxCall<
9325
+ Rv,
9326
+ (call: AssetHubWestendRuntimeRuntimeCallLike) => ChainSubmittableExtrinsic<
9327
+ Rv,
9328
+ {
9329
+ pallet: 'Revive';
9330
+ palletCall: {
9331
+ name: 'DispatchAsFallbackAccount';
9332
+ params: { call: AssetHubWestendRuntimeRuntimeCallLike };
9333
+ };
9334
+ }
9335
+ >
9336
+ >;
9337
+
9338
+ /**
9339
+ * Generic pallet tx call
9340
+ **/
9341
+ [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
9342
+ };
8988
9343
  /**
8989
9344
  * Pallet `StateTrieMigration`'s transaction calls
8990
9345
  **/