@storagehub/api-augment 0.2.14 → 0.4.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.
Files changed (85) hide show
  1. package/dist/parachain/interfaces/augment-api-consts.js +1 -1
  2. package/dist/parachain/interfaces/augment-api-errors.js +1 -1
  3. package/dist/parachain/interfaces/augment-api-events.js +1 -1
  4. package/dist/parachain/interfaces/augment-api-query.js +1 -1
  5. package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
  6. package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
  7. package/dist/parachain/interfaces/augment-api-tx.js +1 -1
  8. package/dist/parachain/interfaces/augment-api.js +7 -7
  9. package/dist/parachain/interfaces/augment-types.js +1 -1
  10. package/dist/parachain/interfaces/index.js +1 -1
  11. package/dist/parachain/interfaces/lookup.js +2785 -2373
  12. package/dist/parachain/interfaces/lookup.js.map +1 -1
  13. package/dist/parachain/interfaces/registry.js +1 -1
  14. package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
  15. package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
  16. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
  17. package/dist/parachain/interfaces/types-lookup.js +1 -1
  18. package/dist/parachain/interfaces/types.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  25. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  26. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  27. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  28. package/dist/solochain-evm/interfaces/index.js +1 -1
  29. package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
  30. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  31. package/dist/solochain-evm/interfaces/registry.js +1 -1
  32. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  33. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  34. package/dist/solochain-evm/interfaces/types.js +1 -1
  35. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  36. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
  37. package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
  38. package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
  39. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  40. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
  41. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
  42. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  43. package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
  44. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  45. package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
  46. package/dist/types/parachain/interfaces/registry.d.ts +3 -3
  47. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  48. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
  49. package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
  50. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  51. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  52. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
  53. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
  54. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
  55. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  56. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
  57. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
  58. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  59. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
  60. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  61. package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
  62. package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
  63. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  64. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
  65. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
  66. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  67. package/metadata-sh-parachain.json +1 -1
  68. package/metadata-sh-solochain-evm.json +1 -1
  69. package/package.json +2 -2
  70. package/src/parachain/interfaces/augment-api-errors.ts +4 -0
  71. package/src/parachain/interfaces/augment-api-events.ts +8 -0
  72. package/src/parachain/interfaces/augment-api-query.ts +12 -0
  73. package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
  74. package/src/parachain/interfaces/augment-api-tx.ts +13 -0
  75. package/src/parachain/interfaces/lookup.ts +233 -222
  76. package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
  77. package/src/parachain/interfaces/types-lookup.ts +237 -224
  78. package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
  79. package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
  80. package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
  81. package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
  82. package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
  83. package/src/solochain-evm/interfaces/lookup.ts +189 -178
  84. package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
  85. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,13 +1,13 @@
1
- import '@polkadot/api-base/types/submittable';
2
- import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
- import type { Bytes, Compact, Option, U256, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
4
- import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId20, Call, H160, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { EthereumTransactionTransactionV2, FpAccountEthereumSignature, PalletBalancesAdjustmentDirection, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperationIntention, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestMspBucketResponse, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletProofsDealerProof, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters, ShSolochainEvmRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, SpTrieStorageProofCompactProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
1
+ import "@polkadot/api-base/types/submittable";
2
+ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from "@polkadot/api-base/types";
3
+ import type { Bytes, Compact, Option, U256, Vec, bool, u128, u32, u64 } from "@polkadot/types-codec";
4
+ import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types";
5
+ import type { AccountId20, Call, H160, H256 } from "@polkadot/types/interfaces/runtime";
6
+ import type { EthereumTransactionTransactionV2, FpAccountEthereumSignature, PalletBalancesAdjustmentDirection, PalletFileSystemBucketMoveRequestResponse, PalletFileSystemFileDeletionRequest, PalletFileSystemFileKeyWithProof, PalletFileSystemFileOperationIntention, PalletFileSystemReplicationTarget, PalletFileSystemStorageRequestMspBucketResponse, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletProofsDealerProof, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters, ShSolochainEvmRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, SpTrieStorageProofCompactProof, SpWeightsWeightV2Weight } from "@polkadot/types/lookup";
7
7
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
10
- declare module '@polkadot/api-base/types/submittable' {
10
+ declare module "@polkadot/api-base/types/submittable" {
11
11
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
12
12
  babe: {
13
13
  /**
@@ -18,7 +18,9 @@ declare module '@polkadot/api-base/types/submittable' {
18
18
  **/
19
19
  planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | {
20
20
  V1: any;
21
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBabeDigestsNextConfigDescriptor]>;
21
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
22
+ SpConsensusBabeDigestsNextConfigDescriptor
23
+ ]>;
22
24
  /**
23
25
  * Report authority equivocation/misbehavior. This method will verify
24
26
  * the equivocation proof and validate the given key ownership proof
@@ -34,7 +36,10 @@ declare module '@polkadot/api-base/types/submittable' {
34
36
  session?: any;
35
37
  trieNodes?: any;
36
38
  validatorCount?: any;
37
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
39
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
40
+ SpConsensusSlotsEquivocationProof,
41
+ SpSessionMembershipProof
42
+ ]>;
38
43
  /**
39
44
  * Report authority equivocation/misbehavior. This method will verify
40
45
  * the equivocation proof and validate the given key ownership proof
@@ -54,7 +59,10 @@ declare module '@polkadot/api-base/types/submittable' {
54
59
  session?: any;
55
60
  trieNodes?: any;
56
61
  validatorCount?: any;
57
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
62
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
63
+ SpConsensusSlotsEquivocationProof,
64
+ SpSessionMembershipProof
65
+ ]>;
58
66
  /**
59
67
  * Generic tx
60
68
  **/
@@ -70,7 +78,10 @@ declare module '@polkadot/api-base/types/submittable' {
70
78
  * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
71
79
  * this `burn` operation will reduce total issuance by the amount _burned_.
72
80
  **/
73
- burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
81
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
82
+ Compact<u128>,
83
+ bool
84
+ ]>;
74
85
  /**
75
86
  * Adjust the total issuance in a saturating way.
76
87
  *
@@ -78,24 +89,37 @@ declare module '@polkadot/api-base/types/submittable' {
78
89
  *
79
90
  * # Example
80
91
  **/
81
- forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
92
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | "Increase" | "Decrease" | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
93
+ PalletBalancesAdjustmentDirection,
94
+ Compact<u128>
95
+ ]>;
82
96
  /**
83
97
  * Set the regular balance of a given account.
84
98
  *
85
99
  * The dispatch origin for this call is `root`.
86
100
  **/
87
- forceSetBalance: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
101
+ forceSetBalance: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
102
+ AccountId20,
103
+ Compact<u128>
104
+ ]>;
88
105
  /**
89
106
  * Exactly as `transfer_allow_death`, except the origin must be root and the source account
90
107
  * may be specified.
91
108
  **/
92
- forceTransfer: AugmentedSubmittable<(source: AccountId20 | string | Uint8Array, dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, AccountId20, Compact<u128>]>;
109
+ forceTransfer: AugmentedSubmittable<(source: AccountId20 | string | Uint8Array, dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
110
+ AccountId20,
111
+ AccountId20,
112
+ Compact<u128>
113
+ ]>;
93
114
  /**
94
115
  * Unreserve some balance from a user by force.
95
116
  *
96
117
  * Can only be called by ROOT.
97
118
  **/
98
- forceUnreserve: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, u128]>;
119
+ forceUnreserve: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
120
+ AccountId20,
121
+ u128
122
+ ]>;
99
123
  /**
100
124
  * Transfer the entire transferable balance from the caller account.
101
125
  *
@@ -113,7 +137,10 @@ declare module '@polkadot/api-base/types/submittable' {
113
137
  * transfer everything except at least the existential deposit, which will guarantee to
114
138
  * keep the sender account alive (true).
115
139
  **/
116
- transferAll: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, bool]>;
140
+ transferAll: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
141
+ AccountId20,
142
+ bool
143
+ ]>;
117
144
  /**
118
145
  * Transfer some liquid free balance to another account.
119
146
  *
@@ -123,7 +150,10 @@ declare module '@polkadot/api-base/types/submittable' {
123
150
  *
124
151
  * The dispatch origin for this call must be `Signed` by the transactor.
125
152
  **/
126
- transferAllowDeath: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
153
+ transferAllowDeath: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
154
+ AccountId20,
155
+ Compact<u128>
156
+ ]>;
127
157
  /**
128
158
  * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
129
159
  * kill the origin account.
@@ -132,7 +162,10 @@ declare module '@polkadot/api-base/types/submittable' {
132
162
  *
133
163
  * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
134
164
  **/
135
- transferKeepAlive: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
165
+ transferKeepAlive: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
166
+ AccountId20,
167
+ Compact<u128>
168
+ ]>;
136
169
  /**
137
170
  * Upgrade a specified account.
138
171
  *
@@ -143,7 +176,9 @@ declare module '@polkadot/api-base/types/submittable' {
143
176
  * be upgraded. (We let some not have to be upgraded just in order to allow for the
144
177
  * possibility of churn).
145
178
  **/
146
- upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId20>]>;
179
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
180
+ Vec<AccountId20>
181
+ ]>;
147
182
  /**
148
183
  * Generic tx
149
184
  **/
@@ -155,11 +190,20 @@ declare module '@polkadot/api-base/types/submittable' {
155
190
  *
156
191
  * The `read_access_regex` parameter is optional and when set to `None` it means that the recipient will be denied access for any read request within the bucket.
157
192
  **/
158
- shareAccess: AugmentedSubmittable<(recipient: AccountId20 | string | Uint8Array, bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u32, Option<Bytes>]>;
193
+ shareAccess: AugmentedSubmittable<(recipient: AccountId20 | string | Uint8Array, bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
194
+ AccountId20,
195
+ H256,
196
+ u32,
197
+ Option<Bytes>
198
+ ]>;
159
199
  /**
160
200
  * Update read access for an item.
161
201
  **/
162
- updateReadAccess: AugmentedSubmittable<(bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [H256, u32, Option<Bytes>]>;
202
+ updateReadAccess: AugmentedSubmittable<(bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
203
+ H256,
204
+ u32,
205
+ Option<Bytes>
206
+ ]>;
163
207
  /**
164
208
  * Generic tx
165
209
  **/
@@ -175,7 +219,9 @@ declare module '@polkadot/api-base/types/submittable' {
175
219
  EIP2930: any;
176
220
  } | {
177
221
  EIP1559: any;
178
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;
222
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
223
+ EthereumTransactionTransactionV2
224
+ ]>;
179
225
  /**
180
226
  * Generic tx
181
227
  **/
@@ -185,20 +231,52 @@ declare module '@polkadot/api-base/types/submittable' {
185
231
  /**
186
232
  * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.
187
233
  **/
188
- call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
234
+ call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => SubmittableExtrinsic<ApiType>, [
235
+ H160,
236
+ H160,
237
+ Bytes,
238
+ U256,
239
+ u64,
240
+ U256,
241
+ Option<U256>,
242
+ Option<U256>,
243
+ Vec<ITuple<[H160, Vec<H256>]>>
244
+ ]>;
189
245
  /**
190
246
  * Issue an EVM create operation. This is similar to a contract creation transaction in
191
247
  * Ethereum.
192
248
  **/
193
- create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
249
+ create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => SubmittableExtrinsic<ApiType>, [
250
+ H160,
251
+ Bytes,
252
+ U256,
253
+ u64,
254
+ U256,
255
+ Option<U256>,
256
+ Option<U256>,
257
+ Vec<ITuple<[H160, Vec<H256>]>>
258
+ ]>;
194
259
  /**
195
260
  * Issue an EVM create2 operation.
196
261
  **/
197
- create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
262
+ create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => SubmittableExtrinsic<ApiType>, [
263
+ H160,
264
+ Bytes,
265
+ H256,
266
+ U256,
267
+ u64,
268
+ U256,
269
+ Option<U256>,
270
+ Option<U256>,
271
+ Vec<ITuple<[H160, Vec<H256>]>>
272
+ ]>;
198
273
  /**
199
274
  * Withdraw balance from EVM into currency/balances pallet.
200
275
  **/
201
- withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;
276
+ withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
277
+ H160,
278
+ u128
279
+ ]>;
202
280
  /**
203
281
  * Generic tx
204
282
  **/
@@ -234,7 +312,10 @@ declare module '@polkadot/api-base/types/submittable' {
234
312
  **/
235
313
  bspConfirmStopStoring: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
236
314
  encodedNodes?: any;
237
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpTrieStorageProofCompactProof]>;
315
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
316
+ H256,
317
+ SpTrieStorageProofCompactProof
318
+ ]>;
238
319
  /**
239
320
  * Used by a BSP to confirm they are storing data of a storage request.
240
321
  **/
@@ -243,7 +324,10 @@ declare module '@polkadot/api-base/types/submittable' {
243
324
  } | string | Uint8Array, fileKeysAndProofs: Vec<PalletFileSystemFileKeyWithProof> | (PalletFileSystemFileKeyWithProof | {
244
325
  fileKey?: any;
245
326
  proof?: any;
246
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [SpTrieStorageProofCompactProof, Vec<PalletFileSystemFileKeyWithProof>]>;
327
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
328
+ SpTrieStorageProofCompactProof,
329
+ Vec<PalletFileSystemFileKeyWithProof>
330
+ ]>;
247
331
  /**
248
332
  * Executed by a BSP to request to stop storing a file.
249
333
  *
@@ -289,7 +373,16 @@ declare module '@polkadot/api-base/types/submittable' {
289
373
  **/
290
374
  bspRequestStopStoring: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, owner: AccountId20 | string | Uint8Array, fingerprint: H256 | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, canServe: bool | boolean | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
291
375
  encodedNodes?: any;
292
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, Bytes, AccountId20, H256, u64, bool, SpTrieStorageProofCompactProof]>;
376
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
377
+ H256,
378
+ H256,
379
+ Bytes,
380
+ AccountId20,
381
+ H256,
382
+ u64,
383
+ bool,
384
+ SpTrieStorageProofCompactProof
385
+ ]>;
293
386
  /**
294
387
  * Used by a BSP to volunteer for storing a file.
295
388
  *
@@ -298,12 +391,21 @@ declare module '@polkadot/api-base/types/submittable' {
298
391
  * if the maximum number of BSPs has been reached. A successful assignment as BSP means
299
392
  * that some of the collateral tokens of that MSP are frozen.
300
393
  **/
301
- bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
394
+ bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
395
+ H256
396
+ ]>;
302
397
  /**
303
398
  * Create and associate a collection with a bucket.
304
399
  **/
305
- createAndAssociateCollectionWithBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
306
- createBucket: AugmentedSubmittable<(mspId: H256 | string | Uint8Array, name: Bytes | string | Uint8Array, private: bool | boolean | Uint8Array, valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Bytes, bool, H256]>;
400
+ createAndAssociateCollectionWithBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
401
+ H256
402
+ ]>;
403
+ createBucket: AugmentedSubmittable<(mspId: H256 | string | Uint8Array, name: Bytes | string | Uint8Array, private: bool | boolean | Uint8Array, valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
404
+ H256,
405
+ Bytes,
406
+ bool,
407
+ H256
408
+ ]>;
307
409
  /**
308
410
  * Dispatchable extrinsic that allows a User to delete any of their buckets if it is currently empty.
309
411
  * This way, the User is allowed to remove now unused buckets to recover their deposit for them.
@@ -313,7 +415,9 @@ declare module '@polkadot/api-base/types/submittable' {
313
415
  *
314
416
  * To check if a bucket is empty, we compare its current root with the one of an empty trie.
315
417
  **/
316
- deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
418
+ deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
419
+ H256
420
+ ]>;
317
421
  /**
318
422
  * Deletes files from a provider's forest, changing its root
319
423
  *
@@ -336,7 +440,11 @@ declare module '@polkadot/api-base/types/submittable' {
336
440
  fingerprint?: any;
337
441
  } | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
338
442
  encodedNodes?: any;
339
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemFileDeletionRequest>, Option<H256>, SpTrieStorageProofCompactProof]>;
443
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
444
+ Vec<PalletFileSystemFileDeletionRequest>,
445
+ Option<H256>,
446
+ SpTrieStorageProofCompactProof
447
+ ]>;
340
448
  /**
341
449
  * Delete files from an incomplete (rejected, expired or revoked) storage request.
342
450
  *
@@ -349,7 +457,11 @@ declare module '@polkadot/api-base/types/submittable' {
349
457
  **/
350
458
  deleteFilesForIncompleteStorageRequest: AugmentedSubmittable<(fileKeys: Vec<H256> | (H256 | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
351
459
  encodedNodes?: any;
352
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<H256>, Option<H256>, SpTrieStorageProofCompactProof]>;
460
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
461
+ Vec<H256>,
462
+ Option<H256>,
463
+ SpTrieStorageProofCompactProof
464
+ ]>;
353
465
  /**
354
466
  * Issue a new storage request for a file
355
467
  **/
@@ -365,8 +477,19 @@ declare module '@polkadot/api-base/types/submittable' {
365
477
  UltraHighSecurity: any;
366
478
  } | {
367
479
  Custom: any;
368
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Bytes, H256, u64, H256, Vec<Bytes>, PalletFileSystemReplicationTarget]>;
369
- mspRespondMoveBucketRequest: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, response: PalletFileSystemBucketMoveRequestResponse | 'Accepted' | 'Rejected' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, PalletFileSystemBucketMoveRequestResponse]>;
480
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
481
+ H256,
482
+ Bytes,
483
+ H256,
484
+ u64,
485
+ H256,
486
+ Vec<Bytes>,
487
+ PalletFileSystemReplicationTarget
488
+ ]>;
489
+ mspRespondMoveBucketRequest: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, response: PalletFileSystemBucketMoveRequestResponse | "Accepted" | "Rejected" | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
490
+ H256,
491
+ PalletFileSystemBucketMoveRequestResponse
492
+ ]>;
370
493
  /**
371
494
  * Used by a MSP to accept or decline storage requests in batches, grouped by bucket.
372
495
  *
@@ -382,8 +505,12 @@ declare module '@polkadot/api-base/types/submittable' {
382
505
  bucketId?: any;
383
506
  accept?: any;
384
507
  reject?: any;
385
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemStorageRequestMspBucketResponse>]>;
386
- mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
508
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
509
+ Vec<PalletFileSystemStorageRequestMspBucketResponse>
510
+ ]>;
511
+ mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
512
+ H256
513
+ ]>;
387
514
  /**
388
515
  * Executed by a MSP to stop storing a bucket from an insolvent user.
389
516
  *
@@ -400,7 +527,9 @@ declare module '@polkadot/api-base/types/submittable' {
400
527
  * accept storage requests for insolvent users and BSPs can't volunteer nor confirm them either) and afterwards any BSPs that
401
528
  * had confirmed the file can just call `sp_stop_storing_for_insolvent_user` to get rid of it.
402
529
  **/
403
- mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
530
+ mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
531
+ H256
532
+ ]>;
404
533
  /**
405
534
  * Request deletion of a file using a signed delete intention.
406
535
  *
@@ -411,12 +540,37 @@ declare module '@polkadot/api-base/types/submittable' {
411
540
  requestDeleteFile: AugmentedSubmittable<(signedIntention: PalletFileSystemFileOperationIntention | {
412
541
  fileKey?: any;
413
542
  operation?: any;
414
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, fingerprint: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletFileSystemFileOperationIntention, FpAccountEthereumSignature, H256, Bytes, u64, H256]>;
415
- requestMoveBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, newMspId: H256 | string | Uint8Array, newValuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, H256]>;
543
+ } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, fingerprint: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
544
+ PalletFileSystemFileOperationIntention,
545
+ FpAccountEthereumSignature,
546
+ H256,
547
+ Bytes,
548
+ u64,
549
+ H256
550
+ ]>;
551
+ requestMoveBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, newMspId: H256 | string | Uint8Array, newValuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
552
+ H256,
553
+ H256,
554
+ H256
555
+ ]>;
416
556
  /**
417
557
  * Revoke storage request
418
558
  **/
419
- revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
559
+ revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
560
+ H256
561
+ ]>;
562
+ /**
563
+ * Set the pause flags that control which user operations are currently allowed.
564
+ *
565
+ * This extrinsic can only be called by `Root` (for example via `pallet-sudo` or governance).
566
+ * Passing [`UserOperationPauseFlags::NONE`] unpauses all operations, while setting one or more
567
+ * bits in the flags pauses the corresponding user operations.
568
+ *
569
+ * This call replaces the entire bitmask in storage with the provided value.
570
+ **/
571
+ setUserOperationPauseFlags: AugmentedSubmittable<(newFlags: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
572
+ u32
573
+ ]>;
420
574
  /**
421
575
  * Executed by a SP to stop storing a file from an insolvent user.
422
576
  *
@@ -427,8 +581,19 @@ declare module '@polkadot/api-base/types/submittable' {
427
581
  **/
428
582
  stopStoringForInsolventUser: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, owner: AccountId20 | string | Uint8Array, fingerprint: H256 | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
429
583
  encodedNodes?: any;
430
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, Bytes, AccountId20, H256, u64, SpTrieStorageProofCompactProof]>;
431
- updateBucketPrivacy: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, private: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, bool]>;
584
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
585
+ H256,
586
+ H256,
587
+ Bytes,
588
+ AccountId20,
589
+ H256,
590
+ u64,
591
+ SpTrieStorageProofCompactProof
592
+ ]>;
593
+ updateBucketPrivacy: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, private: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
594
+ H256,
595
+ bool
596
+ ]>;
432
597
  /**
433
598
  * Generic tx
434
599
  **/
@@ -449,7 +614,10 @@ declare module '@polkadot/api-base/types/submittable' {
449
614
  *
450
615
  * Only callable by root.
451
616
  **/
452
- noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
617
+ noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
618
+ u32,
619
+ u32
620
+ ]>;
453
621
  /**
454
622
  * Report voter equivocation/misbehavior. This method will verify the
455
623
  * equivocation proof and validate the given key ownership proof
@@ -463,7 +631,10 @@ declare module '@polkadot/api-base/types/submittable' {
463
631
  session?: any;
464
632
  trieNodes?: any;
465
633
  validatorCount?: any;
466
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
634
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
635
+ SpConsensusGrandpaEquivocationProof,
636
+ SpSessionMembershipProof
637
+ ]>;
467
638
  /**
468
639
  * Report voter equivocation/misbehavior. This method will verify the
469
640
  * equivocation proof and validate the given key ownership proof
@@ -482,7 +653,10 @@ declare module '@polkadot/api-base/types/submittable' {
482
653
  session?: any;
483
654
  trieNodes?: any;
484
655
  validatorCount?: any;
485
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
656
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
657
+ SpConsensusGrandpaEquivocationProof,
658
+ SpSessionMembershipProof
659
+ ]>;
486
660
  /**
487
661
  * Generic tx
488
662
  **/
@@ -500,7 +674,11 @@ declare module '@polkadot/api-base/types/submittable' {
500
674
  *
501
675
  * Emits `ItemAttributesApprovalAdded` on success.
502
676
  **/
503
- approveItemAttributes: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
677
+ approveItemAttributes: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
678
+ u32,
679
+ u32,
680
+ AccountId20
681
+ ]>;
504
682
  /**
505
683
  * Approve an item to be transferred by a delegated third-party account.
506
684
  *
@@ -517,7 +695,12 @@ declare module '@polkadot/api-base/types/submittable' {
517
695
  *
518
696
  * Weight: `O(1)`
519
697
  **/
520
- approveTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array, maybeDeadline: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, Option<u32>]>;
698
+ approveTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array, maybeDeadline: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
699
+ u32,
700
+ u32,
701
+ AccountId20,
702
+ Option<u32>
703
+ ]>;
521
704
  /**
522
705
  * Destroy a single item.
523
706
  *
@@ -531,7 +714,10 @@ declare module '@polkadot/api-base/types/submittable' {
531
714
  *
532
715
  * Weight: `O(1)`
533
716
  **/
534
- burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
717
+ burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
718
+ u32,
719
+ u32
720
+ ]>;
535
721
  /**
536
722
  * Allows to buy an item if it's up for sale.
537
723
  *
@@ -543,7 +729,11 @@ declare module '@polkadot/api-base/types/submittable' {
543
729
  *
544
730
  * Emits `ItemBought` on success.
545
731
  **/
546
- buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
732
+ buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
733
+ u32,
734
+ u32,
735
+ u128
736
+ ]>;
547
737
  /**
548
738
  * Cancel one of the transfer approvals for a specific item.
549
739
  *
@@ -560,7 +750,11 @@ declare module '@polkadot/api-base/types/submittable' {
560
750
  *
561
751
  * Weight: `O(1)`
562
752
  **/
563
- cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
753
+ cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
754
+ u32,
755
+ u32,
756
+ AccountId20
757
+ ]>;
564
758
  /**
565
759
  * Cancel the previously provided approval to change item's attributes.
566
760
  * All the previously set attributes by the `delegate` will be removed.
@@ -575,7 +769,12 @@ declare module '@polkadot/api-base/types/submittable' {
575
769
  **/
576
770
  cancelItemAttributesApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array, witness: PalletNftsCancelAttributesApprovalWitness | {
577
771
  accountAttributes?: any;
578
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, PalletNftsCancelAttributesApprovalWitness]>;
772
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
773
+ u32,
774
+ u32,
775
+ AccountId20,
776
+ PalletNftsCancelAttributesApprovalWitness
777
+ ]>;
579
778
  /**
580
779
  * Cancel an atomic swap.
581
780
  *
@@ -587,7 +786,10 @@ declare module '@polkadot/api-base/types/submittable' {
587
786
  *
588
787
  * Emits `SwapCancelled` on success.
589
788
  **/
590
- cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
789
+ cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
790
+ u32,
791
+ u32
792
+ ]>;
591
793
  /**
592
794
  * Claim an atomic swap.
593
795
  * This method executes a pending swap, that was created by a counterpart before.
@@ -605,7 +807,13 @@ declare module '@polkadot/api-base/types/submittable' {
605
807
  claimSwap: AugmentedSubmittable<(sendCollection: u32 | AnyNumber | Uint8Array, sendItem: u32 | AnyNumber | Uint8Array, receiveCollection: u32 | AnyNumber | Uint8Array, receiveItem: u32 | AnyNumber | Uint8Array, witnessPrice: Option<PalletNftsPriceWithDirection> | null | Uint8Array | PalletNftsPriceWithDirection | {
606
808
  amount?: any;
607
809
  direction?: any;
608
- } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32, Option<PalletNftsPriceWithDirection>]>;
810
+ } | string) => SubmittableExtrinsic<ApiType>, [
811
+ u32,
812
+ u32,
813
+ u32,
814
+ u32,
815
+ Option<PalletNftsPriceWithDirection>
816
+ ]>;
609
817
  /**
610
818
  * Cancel all the approvals of a specific item.
611
819
  *
@@ -621,7 +829,10 @@ declare module '@polkadot/api-base/types/submittable' {
621
829
  *
622
830
  * Weight: `O(1)`
623
831
  **/
624
- clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
832
+ clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
833
+ u32,
834
+ u32
835
+ ]>;
625
836
  /**
626
837
  * Clear an attribute for a collection or item.
627
838
  *
@@ -647,7 +858,12 @@ declare module '@polkadot/api-base/types/submittable' {
647
858
  ItemOwner: any;
648
859
  } | {
649
860
  Account: any;
650
- } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
861
+ } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
862
+ u32,
863
+ Option<u32>,
864
+ PalletNftsAttributeNamespace,
865
+ Bytes
866
+ ]>;
651
867
  /**
652
868
  * Clear the metadata for a collection.
653
869
  *
@@ -662,7 +878,9 @@ declare module '@polkadot/api-base/types/submittable' {
662
878
  *
663
879
  * Weight: `O(1)`
664
880
  **/
665
- clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
881
+ clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
882
+ u32
883
+ ]>;
666
884
  /**
667
885
  * Clear the metadata for an item.
668
886
  *
@@ -678,7 +896,10 @@ declare module '@polkadot/api-base/types/submittable' {
678
896
  *
679
897
  * Weight: `O(1)`
680
898
  **/
681
- clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
899
+ clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
900
+ u32,
901
+ u32
902
+ ]>;
682
903
  /**
683
904
  * Issue a new collection of non-fungible items from a public origin.
684
905
  *
@@ -700,7 +921,10 @@ declare module '@polkadot/api-base/types/submittable' {
700
921
  settings?: any;
701
922
  maxSupply?: any;
702
923
  mintSettings?: any;
703
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, PalletNftsCollectionConfig]>;
924
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
925
+ AccountId20,
926
+ PalletNftsCollectionConfig
927
+ ]>;
704
928
  /**
705
929
  * Register a new atomic swap, declaring an intention to send an `item` in exchange for
706
930
  * `desired_item` from origin to target on the current blockchain.
@@ -722,7 +946,14 @@ declare module '@polkadot/api-base/types/submittable' {
722
946
  createSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array, desiredCollection: u32 | AnyNumber | Uint8Array, maybeDesiredItem: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybePrice: Option<PalletNftsPriceWithDirection> | null | Uint8Array | PalletNftsPriceWithDirection | {
723
947
  amount?: any;
724
948
  direction?: any;
725
- } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, Option<u32>, Option<PalletNftsPriceWithDirection>, u32]>;
949
+ } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
950
+ u32,
951
+ u32,
952
+ u32,
953
+ Option<u32>,
954
+ Option<PalletNftsPriceWithDirection>,
955
+ u32
956
+ ]>;
726
957
  /**
727
958
  * Destroy a collection of fungible items.
728
959
  *
@@ -746,7 +977,10 @@ declare module '@polkadot/api-base/types/submittable' {
746
977
  itemMetadatas?: any;
747
978
  itemConfigs?: any;
748
979
  attributes?: any;
749
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsDestroyWitness]>;
980
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
981
+ u32,
982
+ PalletNftsDestroyWitness
983
+ ]>;
750
984
  /**
751
985
  * Change the config of a collection.
752
986
  *
@@ -763,7 +997,10 @@ declare module '@polkadot/api-base/types/submittable' {
763
997
  settings?: any;
764
998
  maxSupply?: any;
765
999
  mintSettings?: any;
766
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsCollectionConfig]>;
1000
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1001
+ u32,
1002
+ PalletNftsCollectionConfig
1003
+ ]>;
767
1004
  /**
768
1005
  * Change the Owner of a collection.
769
1006
  *
@@ -776,7 +1013,10 @@ declare module '@polkadot/api-base/types/submittable' {
776
1013
  *
777
1014
  * Weight: `O(1)`
778
1015
  **/
779
- forceCollectionOwner: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId20]>;
1016
+ forceCollectionOwner: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1017
+ u32,
1018
+ AccountId20
1019
+ ]>;
780
1020
  /**
781
1021
  * Issue a new collection of non-fungible items from a privileged origin.
782
1022
  *
@@ -798,7 +1038,10 @@ declare module '@polkadot/api-base/types/submittable' {
798
1038
  settings?: any;
799
1039
  maxSupply?: any;
800
1040
  mintSettings?: any;
801
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, PalletNftsCollectionConfig]>;
1041
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1042
+ AccountId20,
1043
+ PalletNftsCollectionConfig
1044
+ ]>;
802
1045
  /**
803
1046
  * Mint an item of a particular collection from a privileged origin.
804
1047
  *
@@ -816,7 +1059,12 @@ declare module '@polkadot/api-base/types/submittable' {
816
1059
  **/
817
1060
  forceMint: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, mintTo: AccountId20 | string | Uint8Array, itemConfig: PalletNftsItemConfig | {
818
1061
  settings?: any;
819
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, PalletNftsItemConfig]>;
1062
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1063
+ u32,
1064
+ u32,
1065
+ AccountId20,
1066
+ PalletNftsItemConfig
1067
+ ]>;
820
1068
  /**
821
1069
  * Force-set an attribute for a collection or item.
822
1070
  *
@@ -844,7 +1092,14 @@ declare module '@polkadot/api-base/types/submittable' {
844
1092
  ItemOwner: any;
845
1093
  } | {
846
1094
  Account: any;
847
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId20>, u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1095
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1096
+ Option<AccountId20>,
1097
+ u32,
1098
+ Option<u32>,
1099
+ PalletNftsAttributeNamespace,
1100
+ Bytes,
1101
+ Bytes
1102
+ ]>;
848
1103
  /**
849
1104
  * Disallows specified settings for the whole collection.
850
1105
  *
@@ -859,7 +1114,10 @@ declare module '@polkadot/api-base/types/submittable' {
859
1114
  *
860
1115
  * Weight: `O(1)`
861
1116
  **/
862
- lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u64]>;
1117
+ lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1118
+ u32,
1119
+ u64
1120
+ ]>;
863
1121
  /**
864
1122
  * Disallows changing the metadata or attributes of the item.
865
1123
  *
@@ -879,7 +1137,12 @@ declare module '@polkadot/api-base/types/submittable' {
879
1137
  *
880
1138
  * Weight: `O(1)`
881
1139
  **/
882
- lockItemProperties: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, lockMetadata: bool | boolean | Uint8Array, lockAttributes: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, bool, bool]>;
1140
+ lockItemProperties: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, lockMetadata: bool | boolean | Uint8Array, lockAttributes: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1141
+ u32,
1142
+ u32,
1143
+ bool,
1144
+ bool
1145
+ ]>;
883
1146
  /**
884
1147
  * Disallow further unprivileged transfer of an item.
885
1148
  *
@@ -892,7 +1155,10 @@ declare module '@polkadot/api-base/types/submittable' {
892
1155
  *
893
1156
  * Weight: `O(1)`
894
1157
  **/
895
- lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1158
+ lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1159
+ u32,
1160
+ u32
1161
+ ]>;
896
1162
  /**
897
1163
  * Mint an item of a particular collection.
898
1164
  *
@@ -914,7 +1180,12 @@ declare module '@polkadot/api-base/types/submittable' {
914
1180
  mint: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, mintTo: AccountId20 | string | Uint8Array, witnessData: Option<PalletNftsMintWitness> | null | Uint8Array | PalletNftsMintWitness | {
915
1181
  ownedItem?: any;
916
1182
  mintPrice?: any;
917
- } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, Option<PalletNftsMintWitness>]>;
1183
+ } | string) => SubmittableExtrinsic<ApiType>, [
1184
+ u32,
1185
+ u32,
1186
+ AccountId20,
1187
+ Option<PalletNftsMintWitness>
1188
+ ]>;
918
1189
  /**
919
1190
  * Mint an item by providing the pre-signed approval.
920
1191
  *
@@ -938,7 +1209,11 @@ declare module '@polkadot/api-base/types/submittable' {
938
1209
  onlyAccount?: any;
939
1210
  deadline?: any;
940
1211
  mintPrice?: any;
941
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedMint, FpAccountEthereumSignature, AccountId20]>;
1212
+ } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1213
+ PalletNftsPreSignedMint,
1214
+ FpAccountEthereumSignature,
1215
+ AccountId20
1216
+ ]>;
942
1217
  /**
943
1218
  * Allows to pay the tips.
944
1219
  *
@@ -953,7 +1228,9 @@ declare module '@polkadot/api-base/types/submittable' {
953
1228
  item?: any;
954
1229
  receiver?: any;
955
1230
  amount?: any;
956
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletNftsItemTip>]>;
1231
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1232
+ Vec<PalletNftsItemTip>
1233
+ ]>;
957
1234
  /**
958
1235
  * Re-evaluate the deposits on some items.
959
1236
  *
@@ -973,7 +1250,10 @@ declare module '@polkadot/api-base/types/submittable' {
973
1250
  *
974
1251
  * Weight: `O(items.len())`
975
1252
  **/
976
- redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
1253
+ redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1254
+ u32,
1255
+ Vec<u32>
1256
+ ]>;
977
1257
  /**
978
1258
  * Set (or reset) the acceptance of ownership for a particular account.
979
1259
  *
@@ -986,7 +1266,9 @@ declare module '@polkadot/api-base/types/submittable' {
986
1266
  *
987
1267
  * Emits `OwnershipAcceptanceChanged`.
988
1268
  **/
989
- setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
1269
+ setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1270
+ Option<u32>
1271
+ ]>;
990
1272
  /**
991
1273
  * Set an attribute for a collection or item.
992
1274
  *
@@ -1019,7 +1301,13 @@ declare module '@polkadot/api-base/types/submittable' {
1019
1301
  ItemOwner: any;
1020
1302
  } | {
1021
1303
  Account: any;
1022
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1304
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1305
+ u32,
1306
+ Option<u32>,
1307
+ PalletNftsAttributeNamespace,
1308
+ Bytes,
1309
+ Bytes
1310
+ ]>;
1023
1311
  /**
1024
1312
  * Set attributes for an item by providing the pre-signed approval.
1025
1313
  *
@@ -1041,7 +1329,11 @@ declare module '@polkadot/api-base/types/submittable' {
1041
1329
  attributes?: any;
1042
1330
  namespace?: any;
1043
1331
  deadline?: any;
1044
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedAttributes, FpAccountEthereumSignature, AccountId20]>;
1332
+ } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1333
+ PalletNftsPreSignedAttributes,
1334
+ FpAccountEthereumSignature,
1335
+ AccountId20
1336
+ ]>;
1045
1337
  /**
1046
1338
  * Set the maximum number of items a collection could have.
1047
1339
  *
@@ -1053,7 +1345,10 @@ declare module '@polkadot/api-base/types/submittable' {
1053
1345
  *
1054
1346
  * Emits `CollectionMaxSupplySet` event when successful.
1055
1347
  **/
1056
- setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1348
+ setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1349
+ u32,
1350
+ u32
1351
+ ]>;
1057
1352
  /**
1058
1353
  * Set the metadata for a collection.
1059
1354
  *
@@ -1071,7 +1366,10 @@ declare module '@polkadot/api-base/types/submittable' {
1071
1366
  *
1072
1367
  * Weight: `O(1)`
1073
1368
  **/
1074
- setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1369
+ setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1370
+ u32,
1371
+ Bytes
1372
+ ]>;
1075
1373
  /**
1076
1374
  * Set the metadata for an item.
1077
1375
  *
@@ -1090,7 +1388,11 @@ declare module '@polkadot/api-base/types/submittable' {
1090
1388
  *
1091
1389
  * Weight: `O(1)`
1092
1390
  **/
1093
- setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;
1391
+ setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1392
+ u32,
1393
+ u32,
1394
+ Bytes
1395
+ ]>;
1094
1396
  /**
1095
1397
  * Set (or reset) the price for an item.
1096
1398
  *
@@ -1104,7 +1406,12 @@ declare module '@polkadot/api-base/types/submittable' {
1104
1406
  * Emits `ItemPriceSet` on success if the price is not `None`.
1105
1407
  * Emits `ItemPriceRemoved` on success if the price is `None`.
1106
1408
  **/
1107
- setPrice: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, price: Option<u128> | null | Uint8Array | u128 | AnyNumber, whitelistedBuyer: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<u128>, Option<AccountId20>]>;
1409
+ setPrice: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, price: Option<u128> | null | Uint8Array | u128 | AnyNumber, whitelistedBuyer: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [
1410
+ u32,
1411
+ u32,
1412
+ Option<u128>,
1413
+ Option<AccountId20>
1414
+ ]>;
1108
1415
  /**
1109
1416
  * Change the Issuer, Admin and Freezer of a collection.
1110
1417
  *
@@ -1123,7 +1430,12 @@ declare module '@polkadot/api-base/types/submittable' {
1123
1430
  *
1124
1431
  * Weight: `O(1)`
1125
1432
  **/
1126
- setTeam: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, issuer: Option<AccountId20> | null | Uint8Array | AccountId20 | string, admin: Option<AccountId20> | null | Uint8Array | AccountId20 | string, freezer: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<AccountId20>, Option<AccountId20>, Option<AccountId20>]>;
1433
+ setTeam: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, issuer: Option<AccountId20> | null | Uint8Array | AccountId20 | string, admin: Option<AccountId20> | null | Uint8Array | AccountId20 | string, freezer: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [
1434
+ u32,
1435
+ Option<AccountId20>,
1436
+ Option<AccountId20>,
1437
+ Option<AccountId20>
1438
+ ]>;
1127
1439
  /**
1128
1440
  * Move an item from the sender account to another.
1129
1441
  *
@@ -1140,7 +1452,11 @@ declare module '@polkadot/api-base/types/submittable' {
1140
1452
  *
1141
1453
  * Weight: `O(1)`
1142
1454
  **/
1143
- transfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, dest: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
1455
+ transfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, dest: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1456
+ u32,
1457
+ u32,
1458
+ AccountId20
1459
+ ]>;
1144
1460
  /**
1145
1461
  * Change the Owner of a collection.
1146
1462
  *
@@ -1154,7 +1470,10 @@ declare module '@polkadot/api-base/types/submittable' {
1154
1470
  *
1155
1471
  * Weight: `O(1)`
1156
1472
  **/
1157
- transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId20]>;
1473
+ transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1474
+ u32,
1475
+ AccountId20
1476
+ ]>;
1158
1477
  /**
1159
1478
  * Re-allow unprivileged transfer of an item.
1160
1479
  *
@@ -1167,7 +1486,10 @@ declare module '@polkadot/api-base/types/submittable' {
1167
1486
  *
1168
1487
  * Weight: `O(1)`
1169
1488
  **/
1170
- unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1489
+ unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1490
+ u32,
1491
+ u32
1492
+ ]>;
1171
1493
  /**
1172
1494
  * Update mint settings.
1173
1495
  *
@@ -1185,7 +1507,10 @@ declare module '@polkadot/api-base/types/submittable' {
1185
1507
  startBlock?: any;
1186
1508
  endBlock?: any;
1187
1509
  defaultItemSettings?: any;
1188
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsMintSettings]>;
1510
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1511
+ u32,
1512
+ PalletNftsMintSettings
1513
+ ]>;
1189
1514
  /**
1190
1515
  * Generic tx
1191
1516
  **/
@@ -1200,7 +1525,9 @@ declare module '@polkadot/api-base/types/submittable' {
1200
1525
  **/
1201
1526
  setParameter: AugmentedSubmittable<(keyValue: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters | {
1202
1527
  RuntimeConfig: any;
1203
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters]>;
1528
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1529
+ ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters
1530
+ ]>;
1204
1531
  /**
1205
1532
  * Generic tx
1206
1533
  **/
@@ -1239,7 +1566,9 @@ declare module '@polkadot/api-base/types/submittable' {
1239
1566
  * Notes: a Provider could have both a fixed-rate and a dynamic-rate payment stream with a User. If that's the case, this extrinsic
1240
1567
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1241
1568
  **/
1242
- chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId20>]>;
1569
+ chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1570
+ Vec<AccountId20>
1571
+ ]>;
1243
1572
  /**
1244
1573
  * Dispatchable extrinsic that allows Providers to charge a payment stream from a User.
1245
1574
  *
@@ -1270,7 +1599,9 @@ declare module '@polkadot/api-base/types/submittable' {
1270
1599
  * Notes: a Provider could have both a fixed-rate and a dynamic-rate payment stream with a User. If that's the case, this extrinsic
1271
1600
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1272
1601
  **/
1273
- chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
1602
+ chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1603
+ AccountId20
1604
+ ]>;
1274
1605
  /**
1275
1606
  * Dispatchable extrinsic that allows a user flagged as without funds long ago enough to clear this flag from its account,
1276
1607
  * allowing it to begin contracting and paying for services again. It should have previously paid all its outstanding debt.
@@ -1308,7 +1639,11 @@ declare module '@polkadot/api-base/types/submittable' {
1308
1639
  *
1309
1640
  * Emits `DynamicRatePaymentStreamCreated` event when successful.
1310
1641
  **/
1311
- createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u64]>;
1642
+ createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1643
+ H256,
1644
+ AccountId20,
1645
+ u64
1646
+ ]>;
1312
1647
  /**
1313
1648
  * Dispatchable extrinsic that allows root to add a fixed-rate payment stream from a User to a Provider.
1314
1649
  *
@@ -1329,7 +1664,11 @@ declare module '@polkadot/api-base/types/submittable' {
1329
1664
  *
1330
1665
  * Emits `FixedRatePaymentStreamCreated` event when successful.
1331
1666
  **/
1332
- createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u128]>;
1667
+ createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1668
+ H256,
1669
+ AccountId20,
1670
+ u128
1671
+ ]>;
1333
1672
  /**
1334
1673
  * Dispatchable extrinsic that allows root to delete an existing dynamic-rate payment stream between a User and a Provider.
1335
1674
  *
@@ -1347,7 +1686,10 @@ declare module '@polkadot/api-base/types/submittable' {
1347
1686
  *
1348
1687
  * Emits `DynamicRatePaymentStreamDeleted` event when successful.
1349
1688
  **/
1350
- deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20]>;
1689
+ deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1690
+ H256,
1691
+ AccountId20
1692
+ ]>;
1351
1693
  /**
1352
1694
  * Dispatchable extrinsic that allows root to delete an existing fixed-rate payment stream between a User and a Provider.
1353
1695
  *
@@ -1365,7 +1707,10 @@ declare module '@polkadot/api-base/types/submittable' {
1365
1707
  *
1366
1708
  * Emits `FixedRatePaymentStreamDeleted` event when successful.
1367
1709
  **/
1368
- deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20]>;
1710
+ deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1711
+ H256,
1712
+ AccountId20
1713
+ ]>;
1369
1714
  /**
1370
1715
  * Dispatchable extrinsic that allows a user flagged as without funds to pay the Providers that still have payment streams
1371
1716
  * with it, in order to recover as much of its deposits as possible.
@@ -1389,7 +1734,9 @@ declare module '@polkadot/api-base/types/submittable' {
1389
1734
  * There was an idea to limit the amount of Providers that can be received by this extrinsic using a constant in the configuration of this pallet,
1390
1735
  * but the correct benchmarking of this extrinsic should be enough to avoid any potential abuse.
1391
1736
  **/
1392
- payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
1737
+ payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1738
+ Vec<H256>
1739
+ ]>;
1393
1740
  /**
1394
1741
  * Dispatchable extrinsic that allows root to update an existing dynamic-rate payment stream between a User and a Provider.
1395
1742
  *
@@ -1408,7 +1755,11 @@ declare module '@polkadot/api-base/types/submittable' {
1408
1755
  *
1409
1756
  * Emits `DynamicRatePaymentStreamUpdated` event when successful.
1410
1757
  **/
1411
- updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u64]>;
1758
+ updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1759
+ H256,
1760
+ AccountId20,
1761
+ u64
1762
+ ]>;
1412
1763
  /**
1413
1764
  * Dispatchable extrinsic that allows root to update an existing fixed-rate payment stream between a User and a Provider.
1414
1765
  *
@@ -1427,7 +1778,11 @@ declare module '@polkadot/api-base/types/submittable' {
1427
1778
  *
1428
1779
  * Emits `FixedRatePaymentStreamUpdated` event when successful.
1429
1780
  **/
1430
- updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u128]>;
1781
+ updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1782
+ H256,
1783
+ AccountId20,
1784
+ u128
1785
+ ]>;
1431
1786
  /**
1432
1787
  * Generic tx
1433
1788
  **/
@@ -1442,7 +1797,9 @@ declare module '@polkadot/api-base/types/submittable' {
1442
1797
  * Users are charged a small fee for submitting a challenge, which
1443
1798
  * goes to the Treasury.
1444
1799
  **/
1445
- challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1800
+ challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1801
+ H256
1802
+ ]>;
1446
1803
  /**
1447
1804
  * Initialise a Provider's challenge cycle.
1448
1805
  *
@@ -1451,14 +1808,21 @@ declare module '@polkadot/api-base/types/submittable' {
1451
1808
  * Sets the last tick the Provider submitted a proof for to the current tick, and sets the
1452
1809
  * deadline for submitting a proof to the current tick + the Provider's period + the tolerance.
1453
1810
  **/
1454
- forceInitialiseChallengeCycle: AugmentedSubmittable<(provider: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1455
- priorityChallenge: AugmentedSubmittable<(key: H256 | string | Uint8Array, shouldRemoveKey: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, bool]>;
1811
+ forceInitialiseChallengeCycle: AugmentedSubmittable<(provider: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1812
+ H256
1813
+ ]>;
1814
+ priorityChallenge: AugmentedSubmittable<(key: H256 | string | Uint8Array, shouldRemoveKey: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1815
+ H256,
1816
+ bool
1817
+ ]>;
1456
1818
  /**
1457
1819
  * Set the [`ChallengesTickerPaused`] to `true` or `false`.
1458
1820
  *
1459
1821
  * Only callable by sudo.
1460
1822
  **/
1461
- setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
1823
+ setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1824
+ bool
1825
+ ]>;
1462
1826
  /**
1463
1827
  * For a Provider to submit a proof.
1464
1828
  *
@@ -1489,7 +1853,10 @@ declare module '@polkadot/api-base/types/submittable' {
1489
1853
  submitProof: AugmentedSubmittable<(proof: PalletProofsDealerProof | {
1490
1854
  forestProof?: any;
1491
1855
  keyProofs?: any;
1492
- } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [PalletProofsDealerProof, Option<H256>]>;
1856
+ } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [
1857
+ PalletProofsDealerProof,
1858
+ Option<H256>
1859
+ ]>;
1493
1860
  /**
1494
1861
  * Generic tx
1495
1862
  **/
@@ -1514,7 +1881,9 @@ declare module '@polkadot/api-base/types/submittable' {
1514
1881
  *
1515
1882
  * Emits `MultiAddressAdded` event when successful.
1516
1883
  **/
1517
- addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1884
+ addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1885
+ Bytes
1886
+ ]>;
1518
1887
  /**
1519
1888
  * Dispatchable extrinsic only callable by an MSP that allows it to add a value proposition to its service
1520
1889
  *
@@ -1523,7 +1892,11 @@ declare module '@polkadot/api-base/types/submittable' {
1523
1892
  *
1524
1893
  * Emits `ValuePropAdded` event when successful.
1525
1894
  **/
1526
- addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, Bytes, u64]>;
1895
+ addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1896
+ u128,
1897
+ Bytes,
1898
+ u64
1899
+ ]>;
1527
1900
  /**
1528
1901
  * Dispatchable extrinsic that allows users to sign off as a Backup Storage Provider.
1529
1902
  *
@@ -1583,7 +1956,9 @@ declare module '@polkadot/api-base/types/submittable' {
1583
1956
  *
1584
1957
  * Emits `CapacityChanged` event when successful.
1585
1958
  **/
1586
- changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
1959
+ changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1960
+ u64
1961
+ ]>;
1587
1962
  /**
1588
1963
  * Dispatchable extrinsic that allows users to confirm their sign up as a Storage Provider, either MSP or BSP.
1589
1964
  *
@@ -1609,7 +1984,9 @@ declare module '@polkadot/api-base/types/submittable' {
1609
1984
  * - The deposit that the user has to pay to register as a SP is held when the user requests to register as a SP
1610
1985
  * - If this extrinsic is successful, it will be free for the caller, to incentive state de-bloating
1611
1986
  **/
1612
- confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId20>]>;
1987
+ confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [
1988
+ Option<AccountId20>
1989
+ ]>;
1613
1990
  /**
1614
1991
  * Delete a provider from the system.
1615
1992
  *
@@ -1627,7 +2004,9 @@ declare module '@polkadot/api-base/types/submittable' {
1627
2004
  * This operation is free if successful to encourage the community to delete insolvent providers,
1628
2005
  * debloating the state.
1629
2006
  **/
1630
- deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2007
+ deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2008
+ H256
2009
+ ]>;
1631
2010
  /**
1632
2011
  * Dispatchable extrinsic that allows to forcefully and automatically sing up a Backup Storage Provider.
1633
2012
  *
@@ -1649,7 +2028,14 @@ declare module '@polkadot/api-base/types/submittable' {
1649
2028
  *
1650
2029
  * Emits `BspRequestSignUpSuccess` and `BspSignUpSuccess` events when successful.
1651
2030
  **/
1652
- forceBspSignUp: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, bspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array, weight: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64, Vec<Bytes>, AccountId20, Option<u32>]>;
2031
+ forceBspSignUp: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, bspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array, weight: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2032
+ AccountId20,
2033
+ H256,
2034
+ u64,
2035
+ Vec<Bytes>,
2036
+ AccountId20,
2037
+ Option<u32>
2038
+ ]>;
1653
2039
  /**
1654
2040
  * Dispatchable extrinsic that allows to forcefully and automatically sign up a Main Storage Provider.
1655
2041
  *
@@ -1674,14 +2060,25 @@ declare module '@polkadot/api-base/types/submittable' {
1674
2060
  *
1675
2061
  * Emits `MspRequestSignUpSuccess` and `MspSignUpSuccess` events when successful.
1676
2062
  **/
1677
- forceMspSignUp: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, mspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64, Vec<Bytes>, u128, Bytes, u64, AccountId20]>;
2063
+ forceMspSignUp: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, mspId: H256 | string | Uint8Array, capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2064
+ AccountId20,
2065
+ H256,
2066
+ u64,
2067
+ Vec<Bytes>,
2068
+ u128,
2069
+ Bytes,
2070
+ u64,
2071
+ AccountId20
2072
+ ]>;
1678
2073
  /**
1679
2074
  * Dispatchable extrinsic only callable by an MSP that allows it to make a value proposition unavailable.
1680
2075
  *
1681
2076
  * This operation cannot be reversed. You can only add new value propositions.
1682
2077
  * This will not affect existing buckets which are using this value proposition.
1683
2078
  **/
1684
- makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2079
+ makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2080
+ H256
2081
+ ]>;
1685
2082
  /**
1686
2083
  * Dispatchable extrinsic that allows users to sign off as a Main Storage Provider.
1687
2084
  *
@@ -1698,7 +2095,9 @@ declare module '@polkadot/api-base/types/submittable' {
1698
2095
  *
1699
2096
  * Emits `MspSignOffSuccess` event when successful.
1700
2097
  **/
1701
- mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2098
+ mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2099
+ H256
2100
+ ]>;
1702
2101
  /**
1703
2102
  * Dispatchable extrinsic that allows BSPs and MSPs to remove an existing multiaddress from their account.
1704
2103
  *
@@ -1716,7 +2115,9 @@ declare module '@polkadot/api-base/types/submittable' {
1716
2115
  *
1717
2116
  * Emits `MultiAddressRemoved` event when successful.
1718
2117
  **/
1719
- removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2118
+ removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2119
+ Bytes
2120
+ ]>;
1720
2121
  /**
1721
2122
  * Dispatchable extrinsic that allows users to sign up as a Backup Storage Provider.
1722
2123
  *
@@ -1742,7 +2143,11 @@ declare module '@polkadot/api-base/types/submittable' {
1742
2143
  *
1743
2144
  * Emits `BspRequestSignUpSuccess` event when successful.
1744
2145
  **/
1745
- requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>, AccountId20]>;
2146
+ requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2147
+ u64,
2148
+ Vec<Bytes>,
2149
+ AccountId20
2150
+ ]>;
1746
2151
  /**
1747
2152
  * Dispatchable extrinsic that allows users to request to sign up as a Main Storage Provider.
1748
2153
  *
@@ -1771,7 +2176,14 @@ declare module '@polkadot/api-base/types/submittable' {
1771
2176
  *
1772
2177
  * Emits `MspRequestSignUpSuccess` event when successful.
1773
2178
  **/
1774
- requestMspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>, u128, Bytes, u64, AccountId20]>;
2179
+ requestMspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], valuePropPricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, valuePropMaxDataLimit: u64 | AnyNumber | Uint8Array, paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2180
+ u64,
2181
+ Vec<Bytes>,
2182
+ u128,
2183
+ Bytes,
2184
+ u64,
2185
+ AccountId20
2186
+ ]>;
1775
2187
  /**
1776
2188
  * Dispatchable extrinsic to slash a _slashable_ Storage Provider.
1777
2189
  *
@@ -1780,7 +2192,9 @@ declare module '@polkadot/api-base/types/submittable' {
1780
2192
  *
1781
2193
  * This is a free operation to incentivise the community to slash misbehaving providers.
1782
2194
  **/
1783
- slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2195
+ slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2196
+ H256
2197
+ ]>;
1784
2198
  /**
1785
2199
  * BSP operation to stop all of your automatic cycles.
1786
2200
  *
@@ -1845,7 +2259,10 @@ declare module '@polkadot/api-base/types/submittable' {
1845
2259
  setKeys: AugmentedSubmittable<(keys: ShSolochainEvmRuntimeSessionKeys | {
1846
2260
  babe?: any;
1847
2261
  grandpa?: any;
1848
- } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShSolochainEvmRuntimeSessionKeys, Bytes]>;
2262
+ } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2263
+ ShSolochainEvmRuntimeSessionKeys,
2264
+ Bytes
2265
+ ]>;
1849
2266
  /**
1850
2267
  * Generic tx
1851
2268
  **/
@@ -1862,18 +2279,25 @@ declare module '@polkadot/api-base/types/submittable' {
1862
2279
  * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
1863
2280
  * key.
1864
2281
  **/
1865
- setKey: AugmentedSubmittable<(updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
2282
+ setKey: AugmentedSubmittable<(updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2283
+ AccountId20
2284
+ ]>;
1866
2285
  /**
1867
2286
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
1868
2287
  **/
1869
- sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
2288
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2289
+ Call
2290
+ ]>;
1870
2291
  /**
1871
2292
  * Authenticates the sudo key and dispatches a function call with `Signed` origin from
1872
2293
  * a given account.
1873
2294
  *
1874
2295
  * The dispatch origin for this call must be _Signed_.
1875
2296
  **/
1876
- sudoAs: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Call]>;
2297
+ sudoAs: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2298
+ AccountId20,
2299
+ Call
2300
+ ]>;
1877
2301
  /**
1878
2302
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
1879
2303
  * This function does not check the weight of the call, and instead allows the
@@ -1884,7 +2308,10 @@ declare module '@polkadot/api-base/types/submittable' {
1884
2308
  sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
1885
2309
  refTime?: any;
1886
2310
  proofSize?: any;
1887
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
2311
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2312
+ Call,
2313
+ SpWeightsWeightV2Weight
2314
+ ]>;
1888
2315
  /**
1889
2316
  * Generic tx
1890
2317
  **/
@@ -1902,14 +2329,18 @@ declare module '@polkadot/api-base/types/submittable' {
1902
2329
  *
1903
2330
  * All origins are allowed.
1904
2331
  **/
1905
- applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2332
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2333
+ Bytes
2334
+ ]>;
1906
2335
  /**
1907
2336
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
1908
2337
  * later.
1909
2338
  *
1910
2339
  * This call requires Root origin.
1911
2340
  **/
1912
- authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2341
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2342
+ H256
2343
+ ]>;
1913
2344
  /**
1914
2345
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
1915
2346
  * later.
@@ -1920,47 +2351,66 @@ declare module '@polkadot/api-base/types/submittable' {
1920
2351
  *
1921
2352
  * This call requires Root origin.
1922
2353
  **/
1923
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2354
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2355
+ H256
2356
+ ]>;
1924
2357
  /**
1925
2358
  * Kill all storage items with a key that starts with the given prefix.
1926
2359
  *
1927
2360
  * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
1928
2361
  * the prefix we are removing to accurately calculate the weight of this function.
1929
2362
  **/
1930
- killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
2363
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2364
+ Bytes,
2365
+ u32
2366
+ ]>;
1931
2367
  /**
1932
2368
  * Kill some items from storage.
1933
2369
  **/
1934
- killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
2370
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2371
+ Vec<Bytes>
2372
+ ]>;
1935
2373
  /**
1936
2374
  * Make some on-chain remark.
1937
2375
  *
1938
2376
  * Can be executed by every `origin`.
1939
2377
  **/
1940
- remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2378
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2379
+ Bytes
2380
+ ]>;
1941
2381
  /**
1942
2382
  * Make some on-chain remark and emit event.
1943
2383
  **/
1944
- remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2384
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2385
+ Bytes
2386
+ ]>;
1945
2387
  /**
1946
2388
  * Set the new runtime code.
1947
2389
  **/
1948
- setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2390
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2391
+ Bytes
2392
+ ]>;
1949
2393
  /**
1950
2394
  * Set the new runtime code without doing any checks of the given `code`.
1951
2395
  *
1952
2396
  * Note that runtime upgrades will not run if this is called with a not-increasing spec
1953
2397
  * version!
1954
2398
  **/
1955
- setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2399
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2400
+ Bytes
2401
+ ]>;
1956
2402
  /**
1957
2403
  * Set the number of pages in the WebAssembly environment's heap.
1958
2404
  **/
1959
- setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2405
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2406
+ u64
2407
+ ]>;
1960
2408
  /**
1961
2409
  * Set some items of storage.
1962
2410
  **/
1963
- setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
2411
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
2412
+ Vec<ITuple<[Bytes, Bytes]>>
2413
+ ]>;
1964
2414
  /**
1965
2415
  * Generic tx
1966
2416
  **/
@@ -1988,7 +2438,9 @@ declare module '@polkadot/api-base/types/submittable' {
1988
2438
  * `on_finalize`)
1989
2439
  * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
1990
2440
  **/
1991
- set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
2441
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2442
+ Compact<u64>
2443
+ ]>;
1992
2444
  /**
1993
2445
  * Generic tx
1994
2446
  **/