@storagehub/api-augment 0.2.11 → 0.2.14

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 (84) 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 +2406 -2871
  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/types-lookup.js +1 -1
  16. package/dist/parachain/interfaces/types.js +1 -1
  17. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  18. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  25. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  26. package/dist/solochain-evm/interfaces/index.js +1 -1
  27. package/dist/solochain-evm/interfaces/lookup.js +1686 -2109
  28. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  29. package/dist/solochain-evm/interfaces/registry.js +1 -1
  30. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  31. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  32. package/dist/solochain-evm/interfaces/types.js +1 -1
  33. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  34. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +3 -111
  35. package/dist/types/parachain/interfaces/augment-api-events.d.ts +185 -917
  36. package/dist/types/parachain/interfaces/augment-api-query.d.ts +112 -319
  37. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  38. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +25 -25
  39. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +212 -637
  40. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  41. package/dist/types/parachain/interfaces/augment-types.d.ts +76 -75
  42. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  43. package/dist/types/parachain/interfaces/lookup.d.ts +289 -326
  44. package/dist/types/parachain/interfaces/registry.d.ts +4 -4
  45. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  46. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +46 -36
  47. package/dist/types/parachain/interfaces/types-lookup.d.ts +525 -714
  48. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  49. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  50. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +3 -111
  51. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +150 -763
  52. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +100 -291
  53. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  54. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +25 -25
  55. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +195 -582
  56. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  57. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +76 -75
  58. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  59. package/dist/types/solochain-evm/interfaces/lookup.d.ts +239 -276
  60. package/dist/types/solochain-evm/interfaces/registry.d.ts +4 -4
  61. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  62. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +47 -37
  63. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +425 -584
  64. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  65. package/metadata-sh-parachain.json +1 -1
  66. package/metadata-sh-solochain-evm.json +1 -1
  67. package/package.json +2 -2
  68. package/src/parachain/interfaces/augment-api-errors.ts +0 -108
  69. package/src/parachain/interfaces/augment-api-events.ts +14 -113
  70. package/src/parachain/interfaces/augment-api-tx.ts +63 -10
  71. package/src/parachain/interfaces/augment-types.ts +2 -0
  72. package/src/parachain/interfaces/lookup.ts +326 -390
  73. package/src/parachain/interfaces/registry.ts +2 -2
  74. package/src/parachain/interfaces/storagehubclient/types.ts +14 -4
  75. package/src/parachain/interfaces/types-lookup.ts +388 -490
  76. package/src/solochain-evm/interfaces/augment-api-errors.ts +0 -108
  77. package/src/solochain-evm/interfaces/augment-api-events.ts +14 -113
  78. package/src/solochain-evm/interfaces/augment-api-tx.ts +63 -10
  79. package/src/solochain-evm/interfaces/augment-types.ts +2 -0
  80. package/src/solochain-evm/interfaces/lookup.ts +276 -340
  81. package/src/solochain-evm/interfaces/registry.ts +2 -2
  82. package/src/solochain-evm/interfaces/storagehubclient/types.ts +14 -4
  83. package/src/solochain-evm/interfaces/types-lookup.ts +338 -440
  84. 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,9 +18,7 @@ declare module "@polkadot/api-base/types/submittable" {
18
18
  **/
19
19
  planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | {
20
20
  V1: any;
21
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
22
- SpConsensusBabeDigestsNextConfigDescriptor
23
- ]>;
21
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBabeDigestsNextConfigDescriptor]>;
24
22
  /**
25
23
  * Report authority equivocation/misbehavior. This method will verify
26
24
  * the equivocation proof and validate the given key ownership proof
@@ -36,10 +34,7 @@ declare module "@polkadot/api-base/types/submittable" {
36
34
  session?: any;
37
35
  trieNodes?: any;
38
36
  validatorCount?: any;
39
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
40
- SpConsensusSlotsEquivocationProof,
41
- SpSessionMembershipProof
42
- ]>;
37
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
43
38
  /**
44
39
  * Report authority equivocation/misbehavior. This method will verify
45
40
  * the equivocation proof and validate the given key ownership proof
@@ -59,10 +54,7 @@ declare module "@polkadot/api-base/types/submittable" {
59
54
  session?: any;
60
55
  trieNodes?: any;
61
56
  validatorCount?: any;
62
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
63
- SpConsensusSlotsEquivocationProof,
64
- SpSessionMembershipProof
65
- ]>;
57
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
66
58
  /**
67
59
  * Generic tx
68
60
  **/
@@ -78,10 +70,7 @@ declare module "@polkadot/api-base/types/submittable" {
78
70
  * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
79
71
  * this `burn` operation will reduce total issuance by the amount _burned_.
80
72
  **/
81
- burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
82
- Compact<u128>,
83
- bool
84
- ]>;
73
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
85
74
  /**
86
75
  * Adjust the total issuance in a saturating way.
87
76
  *
@@ -89,37 +78,24 @@ declare module "@polkadot/api-base/types/submittable" {
89
78
  *
90
79
  * # Example
91
80
  **/
92
- forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | "Increase" | "Decrease" | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
93
- PalletBalancesAdjustmentDirection,
94
- Compact<u128>
95
- ]>;
81
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
96
82
  /**
97
83
  * Set the regular balance of a given account.
98
84
  *
99
85
  * The dispatch origin for this call is `root`.
100
86
  **/
101
- forceSetBalance: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
102
- AccountId20,
103
- Compact<u128>
104
- ]>;
87
+ forceSetBalance: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
105
88
  /**
106
89
  * Exactly as `transfer_allow_death`, except the origin must be root and the source account
107
90
  * may be specified.
108
91
  **/
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
- ]>;
92
+ forceTransfer: AugmentedSubmittable<(source: AccountId20 | string | Uint8Array, dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, AccountId20, Compact<u128>]>;
114
93
  /**
115
94
  * Unreserve some balance from a user by force.
116
95
  *
117
96
  * Can only be called by ROOT.
118
97
  **/
119
- forceUnreserve: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
120
- AccountId20,
121
- u128
122
- ]>;
98
+ forceUnreserve: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, u128]>;
123
99
  /**
124
100
  * Transfer the entire transferable balance from the caller account.
125
101
  *
@@ -137,10 +113,7 @@ declare module "@polkadot/api-base/types/submittable" {
137
113
  * transfer everything except at least the existential deposit, which will guarantee to
138
114
  * keep the sender account alive (true).
139
115
  **/
140
- transferAll: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
141
- AccountId20,
142
- bool
143
- ]>;
116
+ transferAll: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, bool]>;
144
117
  /**
145
118
  * Transfer some liquid free balance to another account.
146
119
  *
@@ -150,10 +123,7 @@ declare module "@polkadot/api-base/types/submittable" {
150
123
  *
151
124
  * The dispatch origin for this call must be `Signed` by the transactor.
152
125
  **/
153
- transferAllowDeath: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
154
- AccountId20,
155
- Compact<u128>
156
- ]>;
126
+ transferAllowDeath: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
157
127
  /**
158
128
  * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
159
129
  * kill the origin account.
@@ -162,10 +132,7 @@ declare module "@polkadot/api-base/types/submittable" {
162
132
  *
163
133
  * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
164
134
  **/
165
- transferKeepAlive: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
166
- AccountId20,
167
- Compact<u128>
168
- ]>;
135
+ transferKeepAlive: AugmentedSubmittable<(dest: AccountId20 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Compact<u128>]>;
169
136
  /**
170
137
  * Upgrade a specified account.
171
138
  *
@@ -176,9 +143,7 @@ declare module "@polkadot/api-base/types/submittable" {
176
143
  * be upgraded. (We let some not have to be upgraded just in order to allow for the
177
144
  * possibility of churn).
178
145
  **/
179
- upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
180
- Vec<AccountId20>
181
- ]>;
146
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId20>]>;
182
147
  /**
183
148
  * Generic tx
184
149
  **/
@@ -190,20 +155,11 @@ declare module "@polkadot/api-base/types/submittable" {
190
155
  *
191
156
  * 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.
192
157
  **/
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
- ]>;
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>]>;
199
159
  /**
200
160
  * Update read access for an item.
201
161
  **/
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
- ]>;
162
+ updateReadAccess: AugmentedSubmittable<(bucket: H256 | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, readAccessRegex: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [H256, u32, Option<Bytes>]>;
207
163
  /**
208
164
  * Generic tx
209
165
  **/
@@ -219,9 +175,7 @@ declare module "@polkadot/api-base/types/submittable" {
219
175
  EIP2930: any;
220
176
  } | {
221
177
  EIP1559: any;
222
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
223
- EthereumTransactionTransactionV2
224
- ]>;
178
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;
225
179
  /**
226
180
  * Generic tx
227
181
  **/
@@ -231,52 +185,20 @@ declare module "@polkadot/api-base/types/submittable" {
231
185
  /**
232
186
  * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.
233
187
  **/
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
- ]>;
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>]>>]>;
245
189
  /**
246
190
  * Issue an EVM create operation. This is similar to a contract creation transaction in
247
191
  * Ethereum.
248
192
  **/
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
- ]>;
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>]>>]>;
259
194
  /**
260
195
  * Issue an EVM create2 operation.
261
196
  **/
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
- ]>;
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>]>>]>;
273
198
  /**
274
199
  * Withdraw balance from EVM into currency/balances pallet.
275
200
  **/
276
- withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
277
- H160,
278
- u128
279
- ]>;
201
+ withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;
280
202
  /**
281
203
  * Generic tx
282
204
  **/
@@ -284,18 +206,35 @@ declare module "@polkadot/api-base/types/submittable" {
284
206
  };
285
207
  fileSystem: {
286
208
  /**
287
- * Executed by a BSP to confirm to stop storing a file.
209
+ * Executed by a BSP to confirm stopping storage of a file and remove it from their forest.
288
210
  *
289
- * It has to have previously opened a pending stop storing request using the `bsp_request_stop_storing` extrinsic.
290
- * The minimum amount of blocks between the request and the confirmation is defined by the runtime, such that the
291
- * BSP can't immediately stop storing a file it has previously lost when receiving a challenge for it.
211
+ * This is the second step of the two-phase stop storing process. The BSP must have previously
212
+ * called [`bsp_request_stop_storing`] to open a pending stop storing request.
213
+ *
214
+ * A minimum waiting period ([`MinWaitForStopStoring`]) must pass between the request and this
215
+ * confirmation. This prevents a BSP from immediately dropping a file when challenged for it,
216
+ * ensuring they can't avoid slashing by quickly calling stop storing upon receiving a challenge.
217
+ *
218
+ * ## What this extrinsic does
219
+ *
220
+ * 1. Verifies the pending stop storing request exists and the minimum wait time has passed
221
+ * 2. Verifies the file is still in the BSP's forest via the inclusion proof
222
+ * 3. **Removes the file from the BSP's forest and updates their root**
223
+ * 4. Decreases the BSP's used capacity
224
+ * 5. Stops challenge/randomness cycles if the BSP has no more files
225
+ *
226
+ * Note: The payment stream was already updated in [`bsp_request_stop_storing`].
227
+ *
228
+ * ## Errors
229
+ *
230
+ * - [`PendingStopStoringRequestNotFound`]: No pending request exists for this BSP and file
231
+ * - [`MinWaitForStopStoringNotReached`]: The minimum waiting period hasn't passed yet
232
+ * - [`OperationNotAllowedWithInsolventUser`]: The file owner is insolvent (the BSP should use
233
+ * [`stop_storing_for_insolvent_user`] instead)
292
234
  **/
293
235
  bspConfirmStopStoring: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array, inclusionForestProof: SpTrieStorageProofCompactProof | {
294
236
  encodedNodes?: any;
295
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
296
- H256,
297
- SpTrieStorageProofCompactProof
298
- ]>;
237
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpTrieStorageProofCompactProof]>;
299
238
  /**
300
239
  * Used by a BSP to confirm they are storing data of a storage request.
301
240
  **/
@@ -304,32 +243,53 @@ declare module "@polkadot/api-base/types/submittable" {
304
243
  } | string | Uint8Array, fileKeysAndProofs: Vec<PalletFileSystemFileKeyWithProof> | (PalletFileSystemFileKeyWithProof | {
305
244
  fileKey?: any;
306
245
  proof?: any;
307
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
308
- SpTrieStorageProofCompactProof,
309
- Vec<PalletFileSystemFileKeyWithProof>
310
- ]>;
246
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [SpTrieStorageProofCompactProof, Vec<PalletFileSystemFileKeyWithProof>]>;
311
247
  /**
312
248
  * Executed by a BSP to request to stop storing a file.
313
249
  *
314
- * In the event when a storage request no longer exists for the data the BSP no longer stores,
315
- * it is required that the BSP still has access to the metadata of the initial storage request.
316
- * If they do not, they will at least need that metadata to reconstruct the File ID and from wherever
317
- * the BSP gets that data is up to it. One example could be from the assigned MSP.
318
- * This metadata is necessary since it is needed to reconstruct the leaf node key in the storage
319
- * provider's Merkle Forest.
250
+ * This is the first step of a two-phase process for a BSP to voluntarily stop storing a file.
251
+ * The BSP must later call [`bsp_confirm_stop_storing`] after a minimum waiting period to
252
+ * complete the process and actually remove the file from their forest.
253
+ *
254
+ * **Important**: This extrinsic does NOT modify the BSP's forest root. The file remains in the
255
+ * BSP's forest until [`bsp_confirm_stop_storing`] is called.
256
+ *
257
+ * The BSP is required to provide the file metadata (bucket_id, location, owner, fingerprint, size)
258
+ * to reconstruct and verify the file key. The BSP can get this metadata from its file storage, but
259
+ * it providing it is not a proof that the BSP actually has the file, since this metadata can be obtained
260
+ * from the original storage request or from the assigned MSP if the storage request no longer exists.
261
+ *
262
+ * ## Behavior based on storage request state
263
+ *
264
+ * 1. **Storage request exists and BSP has confirmed storing it**: The BSP is removed from the
265
+ * storage request's confirmed and volunteered lists and the confirmed/volunteered counts are decremented.
266
+ * The BSP is also removed from the storage request as a data server.
267
+ *
268
+ * 2. **Storage request exists but BSP is not a volunteer**: The `bsps_required` count is
269
+ * incremented to compensate for the BSP leaving.
270
+ *
271
+ * 3. **No storage request exists**: A new storage request is created with `bsps_required = 1`
272
+ * so another BSP can pick up the file and maintain its replication target. If `can_serve` is true,
273
+ * the requesting BSP is added as a data server to help the new volunteer download the file.
274
+ *
275
+ * ## Fees
276
+ *
277
+ * The BSP is charged a penalty fee ([`BspStopStoringFilePenalty`]) which is transferred to the treasury.
278
+ *
279
+ * ## Payment Stream
280
+ *
281
+ * The payment stream with the file owner is **updated immediately** in this extrinsic (not in
282
+ * [`bsp_confirm_stop_storing`]). This removes any financial incentive for the BSP to delay or
283
+ * skip the confirmation, as they stop getting paid as soon as they announce their intent to stop storing.
284
+ *
285
+ * ## Restrictions
286
+ *
287
+ * This extrinsic will fail with [`FileHasIncompleteStorageRequest`] if an `IncompleteStorageRequest`
288
+ * exists for the file key. The BSP must wait until fisherman nodes clean up the incomplete request.
320
289
  **/
321
290
  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 | {
322
291
  encodedNodes?: any;
323
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
324
- H256,
325
- H256,
326
- Bytes,
327
- AccountId20,
328
- H256,
329
- u64,
330
- bool,
331
- SpTrieStorageProofCompactProof
332
- ]>;
292
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, H256, Bytes, AccountId20, H256, u64, bool, SpTrieStorageProofCompactProof]>;
333
293
  /**
334
294
  * Used by a BSP to volunteer for storing a file.
335
295
  *
@@ -338,21 +298,12 @@ declare module "@polkadot/api-base/types/submittable" {
338
298
  * if the maximum number of BSPs has been reached. A successful assignment as BSP means
339
299
  * that some of the collateral tokens of that MSP are frozen.
340
300
  **/
341
- bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
342
- H256
343
- ]>;
301
+ bspVolunteer: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
344
302
  /**
345
303
  * Create and associate a collection with a bucket.
346
304
  **/
347
- createAndAssociateCollectionWithBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
348
- H256
349
- ]>;
350
- createBucket: AugmentedSubmittable<(mspId: H256 | string | Uint8Array, name: Bytes | string | Uint8Array, private: bool | boolean | Uint8Array, valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
351
- H256,
352
- Bytes,
353
- bool,
354
- H256
355
- ]>;
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]>;
356
307
  /**
357
308
  * Dispatchable extrinsic that allows a User to delete any of their buckets if it is currently empty.
358
309
  * This way, the User is allowed to remove now unused buckets to recover their deposit for them.
@@ -362,9 +313,7 @@ declare module "@polkadot/api-base/types/submittable" {
362
313
  *
363
314
  * To check if a bucket is empty, we compare its current root with the one of an empty trie.
364
315
  **/
365
- deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
366
- H256
367
- ]>;
316
+ deleteBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
368
317
  /**
369
318
  * Deletes files from a provider's forest, changing its root
370
319
  *
@@ -387,11 +336,7 @@ declare module "@polkadot/api-base/types/submittable" {
387
336
  fingerprint?: any;
388
337
  } | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
389
338
  encodedNodes?: any;
390
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
391
- Vec<PalletFileSystemFileDeletionRequest>,
392
- Option<H256>,
393
- SpTrieStorageProofCompactProof
394
- ]>;
339
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemFileDeletionRequest>, Option<H256>, SpTrieStorageProofCompactProof]>;
395
340
  /**
396
341
  * Delete files from an incomplete (rejected, expired or revoked) storage request.
397
342
  *
@@ -404,11 +349,7 @@ declare module "@polkadot/api-base/types/submittable" {
404
349
  **/
405
350
  deleteFilesForIncompleteStorageRequest: AugmentedSubmittable<(fileKeys: Vec<H256> | (H256 | string | Uint8Array)[], bspId: Option<H256> | null | Uint8Array | H256 | string, forestProof: SpTrieStorageProofCompactProof | {
406
351
  encodedNodes?: any;
407
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
408
- Vec<H256>,
409
- Option<H256>,
410
- SpTrieStorageProofCompactProof
411
- ]>;
352
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<H256>, Option<H256>, SpTrieStorageProofCompactProof]>;
412
353
  /**
413
354
  * Issue a new storage request for a file
414
355
  **/
@@ -424,19 +365,8 @@ declare module "@polkadot/api-base/types/submittable" {
424
365
  UltraHighSecurity: any;
425
366
  } | {
426
367
  Custom: any;
427
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
428
- H256,
429
- Bytes,
430
- H256,
431
- u64,
432
- H256,
433
- Vec<Bytes>,
434
- PalletFileSystemReplicationTarget
435
- ]>;
436
- mspRespondMoveBucketRequest: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, response: PalletFileSystemBucketMoveRequestResponse | "Accepted" | "Rejected" | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
437
- H256,
438
- PalletFileSystemBucketMoveRequestResponse
439
- ]>;
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]>;
440
370
  /**
441
371
  * Used by a MSP to accept or decline storage requests in batches, grouped by bucket.
442
372
  *
@@ -452,12 +382,8 @@ declare module "@polkadot/api-base/types/submittable" {
452
382
  bucketId?: any;
453
383
  accept?: any;
454
384
  reject?: any;
455
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
456
- Vec<PalletFileSystemStorageRequestMspBucketResponse>
457
- ]>;
458
- mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
459
- H256
460
- ]>;
385
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletFileSystemStorageRequestMspBucketResponse>]>;
386
+ mspStopStoringBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
461
387
  /**
462
388
  * Executed by a MSP to stop storing a bucket from an insolvent user.
463
389
  *
@@ -474,9 +400,7 @@ declare module "@polkadot/api-base/types/submittable" {
474
400
  * accept storage requests for insolvent users and BSPs can't volunteer nor confirm them either) and afterwards any BSPs that
475
401
  * had confirmed the file can just call `sp_stop_storing_for_insolvent_user` to get rid of it.
476
402
  **/
477
- mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
478
- H256
479
- ]>;
403
+ mspStopStoringBucketForInsolventUser: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
480
404
  /**
481
405
  * Request deletion of a file using a signed delete intention.
482
406
  *
@@ -487,25 +411,12 @@ declare module "@polkadot/api-base/types/submittable" {
487
411
  requestDeleteFile: AugmentedSubmittable<(signedIntention: PalletFileSystemFileOperationIntention | {
488
412
  fileKey?: any;
489
413
  operation?: any;
490
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, bucketId: H256 | string | Uint8Array, location: Bytes | string | Uint8Array, size: u64 | AnyNumber | Uint8Array, fingerprint: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
491
- PalletFileSystemFileOperationIntention,
492
- FpAccountEthereumSignature,
493
- H256,
494
- Bytes,
495
- u64,
496
- H256
497
- ]>;
498
- requestMoveBucket: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, newMspId: H256 | string | Uint8Array, newValuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
499
- H256,
500
- H256,
501
- H256
502
- ]>;
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]>;
503
416
  /**
504
417
  * Revoke storage request
505
418
  **/
506
- revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
507
- H256
508
- ]>;
419
+ revokeStorageRequest: AugmentedSubmittable<(fileKey: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
509
420
  /**
510
421
  * Executed by a SP to stop storing a file from an insolvent user.
511
422
  *
@@ -516,19 +427,8 @@ declare module "@polkadot/api-base/types/submittable" {
516
427
  **/
517
428
  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 | {
518
429
  encodedNodes?: any;
519
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
520
- H256,
521
- H256,
522
- Bytes,
523
- AccountId20,
524
- H256,
525
- u64,
526
- SpTrieStorageProofCompactProof
527
- ]>;
528
- updateBucketPrivacy: AugmentedSubmittable<(bucketId: H256 | string | Uint8Array, private: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
529
- H256,
530
- bool
531
- ]>;
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]>;
532
432
  /**
533
433
  * Generic tx
534
434
  **/
@@ -549,10 +449,7 @@ declare module "@polkadot/api-base/types/submittable" {
549
449
  *
550
450
  * Only callable by root.
551
451
  **/
552
- noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
553
- u32,
554
- u32
555
- ]>;
452
+ noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
556
453
  /**
557
454
  * Report voter equivocation/misbehavior. This method will verify the
558
455
  * equivocation proof and validate the given key ownership proof
@@ -566,10 +463,7 @@ declare module "@polkadot/api-base/types/submittable" {
566
463
  session?: any;
567
464
  trieNodes?: any;
568
465
  validatorCount?: any;
569
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
570
- SpConsensusGrandpaEquivocationProof,
571
- SpSessionMembershipProof
572
- ]>;
466
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
573
467
  /**
574
468
  * Report voter equivocation/misbehavior. This method will verify the
575
469
  * equivocation proof and validate the given key ownership proof
@@ -588,10 +482,7 @@ declare module "@polkadot/api-base/types/submittable" {
588
482
  session?: any;
589
483
  trieNodes?: any;
590
484
  validatorCount?: any;
591
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
592
- SpConsensusGrandpaEquivocationProof,
593
- SpSessionMembershipProof
594
- ]>;
485
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
595
486
  /**
596
487
  * Generic tx
597
488
  **/
@@ -609,11 +500,7 @@ declare module "@polkadot/api-base/types/submittable" {
609
500
  *
610
501
  * Emits `ItemAttributesApprovalAdded` on success.
611
502
  **/
612
- approveItemAttributes: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
613
- u32,
614
- u32,
615
- AccountId20
616
- ]>;
503
+ approveItemAttributes: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
617
504
  /**
618
505
  * Approve an item to be transferred by a delegated third-party account.
619
506
  *
@@ -630,12 +517,7 @@ declare module "@polkadot/api-base/types/submittable" {
630
517
  *
631
518
  * Weight: `O(1)`
632
519
  **/
633
- approveTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array, maybeDeadline: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
634
- u32,
635
- u32,
636
- AccountId20,
637
- Option<u32>
638
- ]>;
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>]>;
639
521
  /**
640
522
  * Destroy a single item.
641
523
  *
@@ -649,10 +531,7 @@ declare module "@polkadot/api-base/types/submittable" {
649
531
  *
650
532
  * Weight: `O(1)`
651
533
  **/
652
- burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
653
- u32,
654
- u32
655
- ]>;
534
+ burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
656
535
  /**
657
536
  * Allows to buy an item if it's up for sale.
658
537
  *
@@ -664,11 +543,7 @@ declare module "@polkadot/api-base/types/submittable" {
664
543
  *
665
544
  * Emits `ItemBought` on success.
666
545
  **/
667
- buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
668
- u32,
669
- u32,
670
- u128
671
- ]>;
546
+ buyItem: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, bidPrice: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
672
547
  /**
673
548
  * Cancel one of the transfer approvals for a specific item.
674
549
  *
@@ -685,11 +560,7 @@ declare module "@polkadot/api-base/types/submittable" {
685
560
  *
686
561
  * Weight: `O(1)`
687
562
  **/
688
- cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
689
- u32,
690
- u32,
691
- AccountId20
692
- ]>;
563
+ cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
693
564
  /**
694
565
  * Cancel the previously provided approval to change item's attributes.
695
566
  * All the previously set attributes by the `delegate` will be removed.
@@ -704,12 +575,7 @@ declare module "@polkadot/api-base/types/submittable" {
704
575
  **/
705
576
  cancelItemAttributesApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, delegate: AccountId20 | string | Uint8Array, witness: PalletNftsCancelAttributesApprovalWitness | {
706
577
  accountAttributes?: any;
707
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
708
- u32,
709
- u32,
710
- AccountId20,
711
- PalletNftsCancelAttributesApprovalWitness
712
- ]>;
578
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, PalletNftsCancelAttributesApprovalWitness]>;
713
579
  /**
714
580
  * Cancel an atomic swap.
715
581
  *
@@ -721,10 +587,7 @@ declare module "@polkadot/api-base/types/submittable" {
721
587
  *
722
588
  * Emits `SwapCancelled` on success.
723
589
  **/
724
- cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
725
- u32,
726
- u32
727
- ]>;
590
+ cancelSwap: AugmentedSubmittable<(offeredCollection: u32 | AnyNumber | Uint8Array, offeredItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
728
591
  /**
729
592
  * Claim an atomic swap.
730
593
  * This method executes a pending swap, that was created by a counterpart before.
@@ -742,13 +605,7 @@ declare module "@polkadot/api-base/types/submittable" {
742
605
  claimSwap: AugmentedSubmittable<(sendCollection: u32 | AnyNumber | Uint8Array, sendItem: u32 | AnyNumber | Uint8Array, receiveCollection: u32 | AnyNumber | Uint8Array, receiveItem: u32 | AnyNumber | Uint8Array, witnessPrice: Option<PalletNftsPriceWithDirection> | null | Uint8Array | PalletNftsPriceWithDirection | {
743
606
  amount?: any;
744
607
  direction?: any;
745
- } | string) => SubmittableExtrinsic<ApiType>, [
746
- u32,
747
- u32,
748
- u32,
749
- u32,
750
- Option<PalletNftsPriceWithDirection>
751
- ]>;
608
+ } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32, Option<PalletNftsPriceWithDirection>]>;
752
609
  /**
753
610
  * Cancel all the approvals of a specific item.
754
611
  *
@@ -764,10 +621,7 @@ declare module "@polkadot/api-base/types/submittable" {
764
621
  *
765
622
  * Weight: `O(1)`
766
623
  **/
767
- clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
768
- u32,
769
- u32
770
- ]>;
624
+ clearAllTransferApprovals: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
771
625
  /**
772
626
  * Clear an attribute for a collection or item.
773
627
  *
@@ -793,12 +647,7 @@ declare module "@polkadot/api-base/types/submittable" {
793
647
  ItemOwner: any;
794
648
  } | {
795
649
  Account: any;
796
- } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
797
- u32,
798
- Option<u32>,
799
- PalletNftsAttributeNamespace,
800
- Bytes
801
- ]>;
650
+ } | string | Uint8Array, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
802
651
  /**
803
652
  * Clear the metadata for a collection.
804
653
  *
@@ -813,9 +662,7 @@ declare module "@polkadot/api-base/types/submittable" {
813
662
  *
814
663
  * Weight: `O(1)`
815
664
  **/
816
- clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
817
- u32
818
- ]>;
665
+ clearCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
819
666
  /**
820
667
  * Clear the metadata for an item.
821
668
  *
@@ -831,10 +678,7 @@ declare module "@polkadot/api-base/types/submittable" {
831
678
  *
832
679
  * Weight: `O(1)`
833
680
  **/
834
- clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
835
- u32,
836
- u32
837
- ]>;
681
+ clearMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
838
682
  /**
839
683
  * Issue a new collection of non-fungible items from a public origin.
840
684
  *
@@ -856,10 +700,7 @@ declare module "@polkadot/api-base/types/submittable" {
856
700
  settings?: any;
857
701
  maxSupply?: any;
858
702
  mintSettings?: any;
859
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
860
- AccountId20,
861
- PalletNftsCollectionConfig
862
- ]>;
703
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, PalletNftsCollectionConfig]>;
863
704
  /**
864
705
  * Register a new atomic swap, declaring an intention to send an `item` in exchange for
865
706
  * `desired_item` from origin to target on the current blockchain.
@@ -881,14 +722,7 @@ declare module "@polkadot/api-base/types/submittable" {
881
722
  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 | {
882
723
  amount?: any;
883
724
  direction?: any;
884
- } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
885
- u32,
886
- u32,
887
- u32,
888
- Option<u32>,
889
- Option<PalletNftsPriceWithDirection>,
890
- u32
891
- ]>;
725
+ } | string, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, Option<u32>, Option<PalletNftsPriceWithDirection>, u32]>;
892
726
  /**
893
727
  * Destroy a collection of fungible items.
894
728
  *
@@ -912,10 +746,7 @@ declare module "@polkadot/api-base/types/submittable" {
912
746
  itemMetadatas?: any;
913
747
  itemConfigs?: any;
914
748
  attributes?: any;
915
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
916
- u32,
917
- PalletNftsDestroyWitness
918
- ]>;
749
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsDestroyWitness]>;
919
750
  /**
920
751
  * Change the config of a collection.
921
752
  *
@@ -932,10 +763,7 @@ declare module "@polkadot/api-base/types/submittable" {
932
763
  settings?: any;
933
764
  maxSupply?: any;
934
765
  mintSettings?: any;
935
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
936
- u32,
937
- PalletNftsCollectionConfig
938
- ]>;
766
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsCollectionConfig]>;
939
767
  /**
940
768
  * Change the Owner of a collection.
941
769
  *
@@ -948,10 +776,7 @@ declare module "@polkadot/api-base/types/submittable" {
948
776
  *
949
777
  * Weight: `O(1)`
950
778
  **/
951
- forceCollectionOwner: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
952
- u32,
953
- AccountId20
954
- ]>;
779
+ forceCollectionOwner: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId20]>;
955
780
  /**
956
781
  * Issue a new collection of non-fungible items from a privileged origin.
957
782
  *
@@ -973,10 +798,7 @@ declare module "@polkadot/api-base/types/submittable" {
973
798
  settings?: any;
974
799
  maxSupply?: any;
975
800
  mintSettings?: any;
976
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
977
- AccountId20,
978
- PalletNftsCollectionConfig
979
- ]>;
801
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, PalletNftsCollectionConfig]>;
980
802
  /**
981
803
  * Mint an item of a particular collection from a privileged origin.
982
804
  *
@@ -994,12 +816,7 @@ declare module "@polkadot/api-base/types/submittable" {
994
816
  **/
995
817
  forceMint: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, mintTo: AccountId20 | string | Uint8Array, itemConfig: PalletNftsItemConfig | {
996
818
  settings?: any;
997
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
998
- u32,
999
- u32,
1000
- AccountId20,
1001
- PalletNftsItemConfig
1002
- ]>;
819
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, PalletNftsItemConfig]>;
1003
820
  /**
1004
821
  * Force-set an attribute for a collection or item.
1005
822
  *
@@ -1027,14 +844,7 @@ declare module "@polkadot/api-base/types/submittable" {
1027
844
  ItemOwner: any;
1028
845
  } | {
1029
846
  Account: any;
1030
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1031
- Option<AccountId20>,
1032
- u32,
1033
- Option<u32>,
1034
- PalletNftsAttributeNamespace,
1035
- Bytes,
1036
- Bytes
1037
- ]>;
847
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId20>, u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1038
848
  /**
1039
849
  * Disallows specified settings for the whole collection.
1040
850
  *
@@ -1049,10 +859,7 @@ declare module "@polkadot/api-base/types/submittable" {
1049
859
  *
1050
860
  * Weight: `O(1)`
1051
861
  **/
1052
- lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1053
- u32,
1054
- u64
1055
- ]>;
862
+ lockCollection: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, lockSettings: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u64]>;
1056
863
  /**
1057
864
  * Disallows changing the metadata or attributes of the item.
1058
865
  *
@@ -1072,12 +879,7 @@ declare module "@polkadot/api-base/types/submittable" {
1072
879
  *
1073
880
  * Weight: `O(1)`
1074
881
  **/
1075
- lockItemProperties: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, lockMetadata: bool | boolean | Uint8Array, lockAttributes: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1076
- u32,
1077
- u32,
1078
- bool,
1079
- bool
1080
- ]>;
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]>;
1081
883
  /**
1082
884
  * Disallow further unprivileged transfer of an item.
1083
885
  *
@@ -1090,10 +892,7 @@ declare module "@polkadot/api-base/types/submittable" {
1090
892
  *
1091
893
  * Weight: `O(1)`
1092
894
  **/
1093
- lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1094
- u32,
1095
- u32
1096
- ]>;
895
+ lockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1097
896
  /**
1098
897
  * Mint an item of a particular collection.
1099
898
  *
@@ -1115,12 +914,7 @@ declare module "@polkadot/api-base/types/submittable" {
1115
914
  mint: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, mintTo: AccountId20 | string | Uint8Array, witnessData: Option<PalletNftsMintWitness> | null | Uint8Array | PalletNftsMintWitness | {
1116
915
  ownedItem?: any;
1117
916
  mintPrice?: any;
1118
- } | string) => SubmittableExtrinsic<ApiType>, [
1119
- u32,
1120
- u32,
1121
- AccountId20,
1122
- Option<PalletNftsMintWitness>
1123
- ]>;
917
+ } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20, Option<PalletNftsMintWitness>]>;
1124
918
  /**
1125
919
  * Mint an item by providing the pre-signed approval.
1126
920
  *
@@ -1144,11 +938,7 @@ declare module "@polkadot/api-base/types/submittable" {
1144
938
  onlyAccount?: any;
1145
939
  deadline?: any;
1146
940
  mintPrice?: any;
1147
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1148
- PalletNftsPreSignedMint,
1149
- FpAccountEthereumSignature,
1150
- AccountId20
1151
- ]>;
941
+ } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedMint, FpAccountEthereumSignature, AccountId20]>;
1152
942
  /**
1153
943
  * Allows to pay the tips.
1154
944
  *
@@ -1163,9 +953,7 @@ declare module "@polkadot/api-base/types/submittable" {
1163
953
  item?: any;
1164
954
  receiver?: any;
1165
955
  amount?: any;
1166
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1167
- Vec<PalletNftsItemTip>
1168
- ]>;
956
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletNftsItemTip>]>;
1169
957
  /**
1170
958
  * Re-evaluate the deposits on some items.
1171
959
  *
@@ -1185,10 +973,7 @@ declare module "@polkadot/api-base/types/submittable" {
1185
973
  *
1186
974
  * Weight: `O(items.len())`
1187
975
  **/
1188
- redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1189
- u32,
1190
- Vec<u32>
1191
- ]>;
976
+ redeposit: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, items: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
1192
977
  /**
1193
978
  * Set (or reset) the acceptance of ownership for a particular account.
1194
979
  *
@@ -1201,9 +986,7 @@ declare module "@polkadot/api-base/types/submittable" {
1201
986
  *
1202
987
  * Emits `OwnershipAcceptanceChanged`.
1203
988
  **/
1204
- setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1205
- Option<u32>
1206
- ]>;
989
+ setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
1207
990
  /**
1208
991
  * Set an attribute for a collection or item.
1209
992
  *
@@ -1236,13 +1019,7 @@ declare module "@polkadot/api-base/types/submittable" {
1236
1019
  ItemOwner: any;
1237
1020
  } | {
1238
1021
  Account: any;
1239
- } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1240
- u32,
1241
- Option<u32>,
1242
- PalletNftsAttributeNamespace,
1243
- Bytes,
1244
- Bytes
1245
- ]>;
1022
+ } | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes, Bytes]>;
1246
1023
  /**
1247
1024
  * Set attributes for an item by providing the pre-signed approval.
1248
1025
  *
@@ -1264,11 +1041,7 @@ declare module "@polkadot/api-base/types/submittable" {
1264
1041
  attributes?: any;
1265
1042
  namespace?: any;
1266
1043
  deadline?: any;
1267
- } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1268
- PalletNftsPreSignedAttributes,
1269
- FpAccountEthereumSignature,
1270
- AccountId20
1271
- ]>;
1044
+ } | string | Uint8Array, signature: FpAccountEthereumSignature | string | Uint8Array, signer: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNftsPreSignedAttributes, FpAccountEthereumSignature, AccountId20]>;
1272
1045
  /**
1273
1046
  * Set the maximum number of items a collection could have.
1274
1047
  *
@@ -1280,10 +1053,7 @@ declare module "@polkadot/api-base/types/submittable" {
1280
1053
  *
1281
1054
  * Emits `CollectionMaxSupplySet` event when successful.
1282
1055
  **/
1283
- setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1284
- u32,
1285
- u32
1286
- ]>;
1056
+ setCollectionMaxSupply: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maxSupply: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1287
1057
  /**
1288
1058
  * Set the metadata for a collection.
1289
1059
  *
@@ -1301,10 +1071,7 @@ declare module "@polkadot/api-base/types/submittable" {
1301
1071
  *
1302
1072
  * Weight: `O(1)`
1303
1073
  **/
1304
- setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1305
- u32,
1306
- Bytes
1307
- ]>;
1074
+ setCollectionMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1308
1075
  /**
1309
1076
  * Set the metadata for an item.
1310
1077
  *
@@ -1323,11 +1090,7 @@ declare module "@polkadot/api-base/types/submittable" {
1323
1090
  *
1324
1091
  * Weight: `O(1)`
1325
1092
  **/
1326
- setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1327
- u32,
1328
- u32,
1329
- Bytes
1330
- ]>;
1093
+ setMetadata: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;
1331
1094
  /**
1332
1095
  * Set (or reset) the price for an item.
1333
1096
  *
@@ -1341,12 +1104,7 @@ declare module "@polkadot/api-base/types/submittable" {
1341
1104
  * Emits `ItemPriceSet` on success if the price is not `None`.
1342
1105
  * Emits `ItemPriceRemoved` on success if the price is `None`.
1343
1106
  **/
1344
- 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>, [
1345
- u32,
1346
- u32,
1347
- Option<u128>,
1348
- Option<AccountId20>
1349
- ]>;
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>]>;
1350
1108
  /**
1351
1109
  * Change the Issuer, Admin and Freezer of a collection.
1352
1110
  *
@@ -1365,12 +1123,7 @@ declare module "@polkadot/api-base/types/submittable" {
1365
1123
  *
1366
1124
  * Weight: `O(1)`
1367
1125
  **/
1368
- 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>, [
1369
- u32,
1370
- Option<AccountId20>,
1371
- Option<AccountId20>,
1372
- Option<AccountId20>
1373
- ]>;
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>]>;
1374
1127
  /**
1375
1128
  * Move an item from the sender account to another.
1376
1129
  *
@@ -1387,11 +1140,7 @@ declare module "@polkadot/api-base/types/submittable" {
1387
1140
  *
1388
1141
  * Weight: `O(1)`
1389
1142
  **/
1390
- transfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, dest: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1391
- u32,
1392
- u32,
1393
- AccountId20
1394
- ]>;
1143
+ transfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, dest: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, AccountId20]>;
1395
1144
  /**
1396
1145
  * Change the Owner of a collection.
1397
1146
  *
@@ -1405,10 +1154,7 @@ declare module "@polkadot/api-base/types/submittable" {
1405
1154
  *
1406
1155
  * Weight: `O(1)`
1407
1156
  **/
1408
- transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1409
- u32,
1410
- AccountId20
1411
- ]>;
1157
+ transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId20]>;
1412
1158
  /**
1413
1159
  * Re-allow unprivileged transfer of an item.
1414
1160
  *
@@ -1421,10 +1167,7 @@ declare module "@polkadot/api-base/types/submittable" {
1421
1167
  *
1422
1168
  * Weight: `O(1)`
1423
1169
  **/
1424
- unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1425
- u32,
1426
- u32
1427
- ]>;
1170
+ unlockItemTransfer: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1428
1171
  /**
1429
1172
  * Update mint settings.
1430
1173
  *
@@ -1442,10 +1185,7 @@ declare module "@polkadot/api-base/types/submittable" {
1442
1185
  startBlock?: any;
1443
1186
  endBlock?: any;
1444
1187
  defaultItemSettings?: any;
1445
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1446
- u32,
1447
- PalletNftsMintSettings
1448
- ]>;
1188
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsMintSettings]>;
1449
1189
  /**
1450
1190
  * Generic tx
1451
1191
  **/
@@ -1460,9 +1200,7 @@ declare module "@polkadot/api-base/types/submittable" {
1460
1200
  **/
1461
1201
  setParameter: AugmentedSubmittable<(keyValue: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters | {
1462
1202
  RuntimeConfig: any;
1463
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1464
- ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters
1465
- ]>;
1203
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters]>;
1466
1204
  /**
1467
1205
  * Generic tx
1468
1206
  **/
@@ -1501,9 +1239,7 @@ declare module "@polkadot/api-base/types/submittable" {
1501
1239
  * 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
1502
1240
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1503
1241
  **/
1504
- chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1505
- Vec<AccountId20>
1506
- ]>;
1242
+ chargeMultipleUsersPaymentStreams: AugmentedSubmittable<(userAccounts: Vec<AccountId20> | (AccountId20 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId20>]>;
1507
1243
  /**
1508
1244
  * Dispatchable extrinsic that allows Providers to charge a payment stream from a User.
1509
1245
  *
@@ -1534,9 +1270,7 @@ declare module "@polkadot/api-base/types/submittable" {
1534
1270
  * 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
1535
1271
  * will try to charge both and the amount charged will be the sum of the amounts charged for each payment stream.
1536
1272
  **/
1537
- chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1538
- AccountId20
1539
- ]>;
1273
+ chargePaymentStreams: AugmentedSubmittable<(userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
1540
1274
  /**
1541
1275
  * Dispatchable extrinsic that allows a user flagged as without funds long ago enough to clear this flag from its account,
1542
1276
  * allowing it to begin contracting and paying for services again. It should have previously paid all its outstanding debt.
@@ -1574,11 +1308,7 @@ declare module "@polkadot/api-base/types/submittable" {
1574
1308
  *
1575
1309
  * Emits `DynamicRatePaymentStreamCreated` event when successful.
1576
1310
  **/
1577
- createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1578
- H256,
1579
- AccountId20,
1580
- u64
1581
- ]>;
1311
+ createDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, amountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u64]>;
1582
1312
  /**
1583
1313
  * Dispatchable extrinsic that allows root to add a fixed-rate payment stream from a User to a Provider.
1584
1314
  *
@@ -1599,11 +1329,7 @@ declare module "@polkadot/api-base/types/submittable" {
1599
1329
  *
1600
1330
  * Emits `FixedRatePaymentStreamCreated` event when successful.
1601
1331
  **/
1602
- createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1603
- H256,
1604
- AccountId20,
1605
- u128
1606
- ]>;
1332
+ createFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u128]>;
1607
1333
  /**
1608
1334
  * Dispatchable extrinsic that allows root to delete an existing dynamic-rate payment stream between a User and a Provider.
1609
1335
  *
@@ -1621,10 +1347,7 @@ declare module "@polkadot/api-base/types/submittable" {
1621
1347
  *
1622
1348
  * Emits `DynamicRatePaymentStreamDeleted` event when successful.
1623
1349
  **/
1624
- deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1625
- H256,
1626
- AccountId20
1627
- ]>;
1350
+ deleteDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20]>;
1628
1351
  /**
1629
1352
  * Dispatchable extrinsic that allows root to delete an existing fixed-rate payment stream between a User and a Provider.
1630
1353
  *
@@ -1642,10 +1365,7 @@ declare module "@polkadot/api-base/types/submittable" {
1642
1365
  *
1643
1366
  * Emits `FixedRatePaymentStreamDeleted` event when successful.
1644
1367
  **/
1645
- deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1646
- H256,
1647
- AccountId20
1648
- ]>;
1368
+ deleteFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20]>;
1649
1369
  /**
1650
1370
  * Dispatchable extrinsic that allows a user flagged as without funds to pay the Providers that still have payment streams
1651
1371
  * with it, in order to recover as much of its deposits as possible.
@@ -1669,9 +1389,7 @@ declare module "@polkadot/api-base/types/submittable" {
1669
1389
  * 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,
1670
1390
  * but the correct benchmarking of this extrinsic should be enough to avoid any potential abuse.
1671
1391
  **/
1672
- payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1673
- Vec<H256>
1674
- ]>;
1392
+ payOutstandingDebt: AugmentedSubmittable<(providers: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
1675
1393
  /**
1676
1394
  * Dispatchable extrinsic that allows root to update an existing dynamic-rate payment stream between a User and a Provider.
1677
1395
  *
@@ -1690,11 +1408,7 @@ declare module "@polkadot/api-base/types/submittable" {
1690
1408
  *
1691
1409
  * Emits `DynamicRatePaymentStreamUpdated` event when successful.
1692
1410
  **/
1693
- updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1694
- H256,
1695
- AccountId20,
1696
- u64
1697
- ]>;
1411
+ updateDynamicRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newAmountProvided: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u64]>;
1698
1412
  /**
1699
1413
  * Dispatchable extrinsic that allows root to update an existing fixed-rate payment stream between a User and a Provider.
1700
1414
  *
@@ -1713,11 +1427,7 @@ declare module "@polkadot/api-base/types/submittable" {
1713
1427
  *
1714
1428
  * Emits `FixedRatePaymentStreamUpdated` event when successful.
1715
1429
  **/
1716
- updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1717
- H256,
1718
- AccountId20,
1719
- u128
1720
- ]>;
1430
+ updateFixedRatePaymentStream: AugmentedSubmittable<(providerId: H256 | string | Uint8Array, userAccount: AccountId20 | string | Uint8Array, newRate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, AccountId20, u128]>;
1721
1431
  /**
1722
1432
  * Generic tx
1723
1433
  **/
@@ -1732,9 +1442,7 @@ declare module "@polkadot/api-base/types/submittable" {
1732
1442
  * Users are charged a small fee for submitting a challenge, which
1733
1443
  * goes to the Treasury.
1734
1444
  **/
1735
- challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1736
- H256
1737
- ]>;
1445
+ challenge: AugmentedSubmittable<(key: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1738
1446
  /**
1739
1447
  * Initialise a Provider's challenge cycle.
1740
1448
  *
@@ -1743,21 +1451,14 @@ declare module "@polkadot/api-base/types/submittable" {
1743
1451
  * Sets the last tick the Provider submitted a proof for to the current tick, and sets the
1744
1452
  * deadline for submitting a proof to the current tick + the Provider's period + the tolerance.
1745
1453
  **/
1746
- forceInitialiseChallengeCycle: AugmentedSubmittable<(provider: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1747
- H256
1748
- ]>;
1749
- priorityChallenge: AugmentedSubmittable<(key: H256 | string | Uint8Array, shouldRemoveKey: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1750
- H256,
1751
- bool
1752
- ]>;
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]>;
1753
1456
  /**
1754
1457
  * Set the [`ChallengesTickerPaused`] to `true` or `false`.
1755
1458
  *
1756
1459
  * Only callable by sudo.
1757
1460
  **/
1758
- setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1759
- bool
1760
- ]>;
1461
+ setPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
1761
1462
  /**
1762
1463
  * For a Provider to submit a proof.
1763
1464
  *
@@ -1788,10 +1489,7 @@ declare module "@polkadot/api-base/types/submittable" {
1788
1489
  submitProof: AugmentedSubmittable<(proof: PalletProofsDealerProof | {
1789
1490
  forestProof?: any;
1790
1491
  keyProofs?: any;
1791
- } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [
1792
- PalletProofsDealerProof,
1793
- Option<H256>
1794
- ]>;
1492
+ } | string | Uint8Array, provider: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [PalletProofsDealerProof, Option<H256>]>;
1795
1493
  /**
1796
1494
  * Generic tx
1797
1495
  **/
@@ -1816,9 +1514,7 @@ declare module "@polkadot/api-base/types/submittable" {
1816
1514
  *
1817
1515
  * Emits `MultiAddressAdded` event when successful.
1818
1516
  **/
1819
- addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1820
- Bytes
1821
- ]>;
1517
+ addMultiaddress: AugmentedSubmittable<(newMultiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1822
1518
  /**
1823
1519
  * Dispatchable extrinsic only callable by an MSP that allows it to add a value proposition to its service
1824
1520
  *
@@ -1827,11 +1523,7 @@ declare module "@polkadot/api-base/types/submittable" {
1827
1523
  *
1828
1524
  * Emits `ValuePropAdded` event when successful.
1829
1525
  **/
1830
- addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1831
- u128,
1832
- Bytes,
1833
- u64
1834
- ]>;
1526
+ addValueProp: AugmentedSubmittable<(pricePerGigaUnitOfDataPerBlock: u128 | AnyNumber | Uint8Array, commitment: Bytes | string | Uint8Array, bucketDataLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, Bytes, u64]>;
1835
1527
  /**
1836
1528
  * Dispatchable extrinsic that allows users to sign off as a Backup Storage Provider.
1837
1529
  *
@@ -1891,9 +1583,7 @@ declare module "@polkadot/api-base/types/submittable" {
1891
1583
  *
1892
1584
  * Emits `CapacityChanged` event when successful.
1893
1585
  **/
1894
- changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1895
- u64
1896
- ]>;
1586
+ changeCapacity: AugmentedSubmittable<(newCapacity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
1897
1587
  /**
1898
1588
  * Dispatchable extrinsic that allows users to confirm their sign up as a Storage Provider, either MSP or BSP.
1899
1589
  *
@@ -1919,9 +1609,7 @@ declare module "@polkadot/api-base/types/submittable" {
1919
1609
  * - The deposit that the user has to pay to register as a SP is held when the user requests to register as a SP
1920
1610
  * - If this extrinsic is successful, it will be free for the caller, to incentive state de-bloating
1921
1611
  **/
1922
- confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [
1923
- Option<AccountId20>
1924
- ]>;
1612
+ confirmSignUp: AugmentedSubmittable<(providerAccount: Option<AccountId20> | null | Uint8Array | AccountId20 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId20>]>;
1925
1613
  /**
1926
1614
  * Delete a provider from the system.
1927
1615
  *
@@ -1939,9 +1627,7 @@ declare module "@polkadot/api-base/types/submittable" {
1939
1627
  * This operation is free if successful to encourage the community to delete insolvent providers,
1940
1628
  * debloating the state.
1941
1629
  **/
1942
- deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1943
- H256
1944
- ]>;
1630
+ deleteProvider: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1945
1631
  /**
1946
1632
  * Dispatchable extrinsic that allows to forcefully and automatically sing up a Backup Storage Provider.
1947
1633
  *
@@ -1963,14 +1649,7 @@ declare module "@polkadot/api-base/types/submittable" {
1963
1649
  *
1964
1650
  * Emits `BspRequestSignUpSuccess` and `BspSignUpSuccess` events when successful.
1965
1651
  **/
1966
- 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>, [
1967
- AccountId20,
1968
- H256,
1969
- u64,
1970
- Vec<Bytes>,
1971
- AccountId20,
1972
- Option<u32>
1973
- ]>;
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>]>;
1974
1653
  /**
1975
1654
  * Dispatchable extrinsic that allows to forcefully and automatically sign up a Main Storage Provider.
1976
1655
  *
@@ -1995,25 +1674,14 @@ declare module "@polkadot/api-base/types/submittable" {
1995
1674
  *
1996
1675
  * Emits `MspRequestSignUpSuccess` and `MspSignUpSuccess` events when successful.
1997
1676
  **/
1998
- 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>, [
1999
- AccountId20,
2000
- H256,
2001
- u64,
2002
- Vec<Bytes>,
2003
- u128,
2004
- Bytes,
2005
- u64,
2006
- AccountId20
2007
- ]>;
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]>;
2008
1678
  /**
2009
1679
  * Dispatchable extrinsic only callable by an MSP that allows it to make a value proposition unavailable.
2010
1680
  *
2011
1681
  * This operation cannot be reversed. You can only add new value propositions.
2012
1682
  * This will not affect existing buckets which are using this value proposition.
2013
1683
  **/
2014
- makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2015
- H256
2016
- ]>;
1684
+ makeValuePropUnavailable: AugmentedSubmittable<(valuePropId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2017
1685
  /**
2018
1686
  * Dispatchable extrinsic that allows users to sign off as a Main Storage Provider.
2019
1687
  *
@@ -2030,9 +1698,7 @@ declare module "@polkadot/api-base/types/submittable" {
2030
1698
  *
2031
1699
  * Emits `MspSignOffSuccess` event when successful.
2032
1700
  **/
2033
- mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2034
- H256
2035
- ]>;
1701
+ mspSignOff: AugmentedSubmittable<(mspId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2036
1702
  /**
2037
1703
  * Dispatchable extrinsic that allows BSPs and MSPs to remove an existing multiaddress from their account.
2038
1704
  *
@@ -2050,9 +1716,7 @@ declare module "@polkadot/api-base/types/submittable" {
2050
1716
  *
2051
1717
  * Emits `MultiAddressRemoved` event when successful.
2052
1718
  **/
2053
- removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2054
- Bytes
2055
- ]>;
1719
+ removeMultiaddress: AugmentedSubmittable<(multiaddress: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2056
1720
  /**
2057
1721
  * Dispatchable extrinsic that allows users to sign up as a Backup Storage Provider.
2058
1722
  *
@@ -2078,11 +1742,7 @@ declare module "@polkadot/api-base/types/submittable" {
2078
1742
  *
2079
1743
  * Emits `BspRequestSignUpSuccess` event when successful.
2080
1744
  **/
2081
- requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2082
- u64,
2083
- Vec<Bytes>,
2084
- AccountId20
2085
- ]>;
1745
+ requestBspSignUp: AugmentedSubmittable<(capacity: u64 | AnyNumber | Uint8Array, multiaddresses: Vec<Bytes> | (Bytes | string | Uint8Array)[], paymentAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>, AccountId20]>;
2086
1746
  /**
2087
1747
  * Dispatchable extrinsic that allows users to request to sign up as a Main Storage Provider.
2088
1748
  *
@@ -2111,14 +1771,7 @@ declare module "@polkadot/api-base/types/submittable" {
2111
1771
  *
2112
1772
  * Emits `MspRequestSignUpSuccess` event when successful.
2113
1773
  **/
2114
- 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>, [
2115
- u64,
2116
- Vec<Bytes>,
2117
- u128,
2118
- Bytes,
2119
- u64,
2120
- AccountId20
2121
- ]>;
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]>;
2122
1775
  /**
2123
1776
  * Dispatchable extrinsic to slash a _slashable_ Storage Provider.
2124
1777
  *
@@ -2127,9 +1780,7 @@ declare module "@polkadot/api-base/types/submittable" {
2127
1780
  *
2128
1781
  * This is a free operation to incentivise the community to slash misbehaving providers.
2129
1782
  **/
2130
- slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2131
- H256
2132
- ]>;
1783
+ slash: AugmentedSubmittable<(providerId: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2133
1784
  /**
2134
1785
  * BSP operation to stop all of your automatic cycles.
2135
1786
  *
@@ -2194,10 +1845,7 @@ declare module "@polkadot/api-base/types/submittable" {
2194
1845
  setKeys: AugmentedSubmittable<(keys: ShSolochainEvmRuntimeSessionKeys | {
2195
1846
  babe?: any;
2196
1847
  grandpa?: any;
2197
- } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2198
- ShSolochainEvmRuntimeSessionKeys,
2199
- Bytes
2200
- ]>;
1848
+ } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ShSolochainEvmRuntimeSessionKeys, Bytes]>;
2201
1849
  /**
2202
1850
  * Generic tx
2203
1851
  **/
@@ -2214,25 +1862,18 @@ declare module "@polkadot/api-base/types/submittable" {
2214
1862
  * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
2215
1863
  * key.
2216
1864
  **/
2217
- setKey: AugmentedSubmittable<(updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2218
- AccountId20
2219
- ]>;
1865
+ setKey: AugmentedSubmittable<(updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
2220
1866
  /**
2221
1867
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
2222
1868
  **/
2223
- sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2224
- Call
2225
- ]>;
1869
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
2226
1870
  /**
2227
1871
  * Authenticates the sudo key and dispatches a function call with `Signed` origin from
2228
1872
  * a given account.
2229
1873
  *
2230
1874
  * The dispatch origin for this call must be _Signed_.
2231
1875
  **/
2232
- sudoAs: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2233
- AccountId20,
2234
- Call
2235
- ]>;
1876
+ sudoAs: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, Call]>;
2236
1877
  /**
2237
1878
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
2238
1879
  * This function does not check the weight of the call, and instead allows the
@@ -2243,10 +1884,7 @@ declare module "@polkadot/api-base/types/submittable" {
2243
1884
  sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
2244
1885
  refTime?: any;
2245
1886
  proofSize?: any;
2246
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2247
- Call,
2248
- SpWeightsWeightV2Weight
2249
- ]>;
1887
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
2250
1888
  /**
2251
1889
  * Generic tx
2252
1890
  **/
@@ -2264,18 +1902,14 @@ declare module "@polkadot/api-base/types/submittable" {
2264
1902
  *
2265
1903
  * All origins are allowed.
2266
1904
  **/
2267
- applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2268
- Bytes
2269
- ]>;
1905
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2270
1906
  /**
2271
1907
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
2272
1908
  * later.
2273
1909
  *
2274
1910
  * This call requires Root origin.
2275
1911
  **/
2276
- authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2277
- H256
2278
- ]>;
1912
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2279
1913
  /**
2280
1914
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
2281
1915
  * later.
@@ -2286,66 +1920,47 @@ declare module "@polkadot/api-base/types/submittable" {
2286
1920
  *
2287
1921
  * This call requires Root origin.
2288
1922
  **/
2289
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2290
- H256
2291
- ]>;
1923
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2292
1924
  /**
2293
1925
  * Kill all storage items with a key that starts with the given prefix.
2294
1926
  *
2295
1927
  * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
2296
1928
  * the prefix we are removing to accurately calculate the weight of this function.
2297
1929
  **/
2298
- killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2299
- Bytes,
2300
- u32
2301
- ]>;
1930
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
2302
1931
  /**
2303
1932
  * Kill some items from storage.
2304
1933
  **/
2305
- killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2306
- Vec<Bytes>
2307
- ]>;
1934
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
2308
1935
  /**
2309
1936
  * Make some on-chain remark.
2310
1937
  *
2311
1938
  * Can be executed by every `origin`.
2312
1939
  **/
2313
- remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2314
- Bytes
2315
- ]>;
1940
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2316
1941
  /**
2317
1942
  * Make some on-chain remark and emit event.
2318
1943
  **/
2319
- remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2320
- Bytes
2321
- ]>;
1944
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2322
1945
  /**
2323
1946
  * Set the new runtime code.
2324
1947
  **/
2325
- setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2326
- Bytes
2327
- ]>;
1948
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2328
1949
  /**
2329
1950
  * Set the new runtime code without doing any checks of the given `code`.
2330
1951
  *
2331
1952
  * Note that runtime upgrades will not run if this is called with a not-increasing spec
2332
1953
  * version!
2333
1954
  **/
2334
- setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2335
- Bytes
2336
- ]>;
1955
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2337
1956
  /**
2338
1957
  * Set the number of pages in the WebAssembly environment's heap.
2339
1958
  **/
2340
- setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2341
- u64
2342
- ]>;
1959
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2343
1960
  /**
2344
1961
  * Set some items of storage.
2345
1962
  **/
2346
- setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
2347
- Vec<ITuple<[Bytes, Bytes]>>
2348
- ]>;
1963
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
2349
1964
  /**
2350
1965
  * Generic tx
2351
1966
  **/
@@ -2373,9 +1988,7 @@ declare module "@polkadot/api-base/types/submittable" {
2373
1988
  * `on_finalize`)
2374
1989
  * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
2375
1990
  **/
2376
- set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2377
- Compact<u64>
2378
- ]>;
1991
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
2379
1992
  /**
2380
1993
  * Generic tx
2381
1994
  **/