@storagehub/api-augment 0.1.0 → 0.2.2

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 (190) hide show
  1. package/LICENSE +674 -0
  2. package/biome.json +2 -9
  3. package/dist/parachain/index.js.map +1 -0
  4. package/dist/parachain/interfaces/augment-api-consts.js.map +1 -0
  5. package/dist/parachain/interfaces/augment-api-errors.js.map +1 -0
  6. package/dist/parachain/interfaces/augment-api-events.js.map +1 -0
  7. package/dist/parachain/interfaces/augment-api-query.js.map +1 -0
  8. package/dist/parachain/interfaces/augment-api-rpc.js.map +1 -0
  9. package/dist/parachain/interfaces/augment-api-runtime.js.map +1 -0
  10. package/dist/parachain/interfaces/augment-api-tx.js.map +1 -0
  11. package/dist/parachain/interfaces/augment-api.js.map +1 -0
  12. package/dist/parachain/interfaces/augment-types.js.map +1 -0
  13. package/dist/parachain/interfaces/definitions.js.map +1 -0
  14. package/dist/parachain/interfaces/index.js.map +1 -0
  15. package/dist/{interfaces → parachain/interfaces}/lookup.js +1465 -813
  16. package/dist/parachain/interfaces/lookup.js.map +1 -0
  17. package/dist/parachain/interfaces/registry.js.map +1 -0
  18. package/dist/parachain/interfaces/storagehubclient/definitions.js +7 -0
  19. package/dist/parachain/interfaces/storagehubclient/definitions.js.map +1 -0
  20. package/dist/parachain/interfaces/storagehubclient/index.js.map +1 -0
  21. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -0
  22. package/dist/parachain/interfaces/storagehubclient/types.js.map +1 -0
  23. package/dist/parachain/interfaces/types-lookup.js.map +1 -0
  24. package/dist/parachain/interfaces/types.js.map +1 -0
  25. package/dist/solochain-evm/index.js +4 -0
  26. package/dist/solochain-evm/index.js.map +1 -0
  27. package/dist/solochain-evm/interfaces/augment-api-consts.js +6 -0
  28. package/dist/solochain-evm/interfaces/augment-api-consts.js.map +1 -0
  29. package/dist/solochain-evm/interfaces/augment-api-errors.js +6 -0
  30. package/dist/solochain-evm/interfaces/augment-api-errors.js.map +1 -0
  31. package/dist/solochain-evm/interfaces/augment-api-events.js +6 -0
  32. package/dist/solochain-evm/interfaces/augment-api-events.js.map +1 -0
  33. package/dist/solochain-evm/interfaces/augment-api-query.js +6 -0
  34. package/dist/solochain-evm/interfaces/augment-api-query.js.map +1 -0
  35. package/dist/solochain-evm/interfaces/augment-api-rpc.js +6 -0
  36. package/dist/solochain-evm/interfaces/augment-api-rpc.js.map +1 -0
  37. package/dist/solochain-evm/interfaces/augment-api-runtime.js +6 -0
  38. package/dist/solochain-evm/interfaces/augment-api-runtime.js.map +1 -0
  39. package/dist/solochain-evm/interfaces/augment-api-tx.js +6 -0
  40. package/dist/solochain-evm/interfaces/augment-api-tx.js.map +1 -0
  41. package/dist/solochain-evm/interfaces/augment-api.js +10 -0
  42. package/dist/solochain-evm/interfaces/augment-api.js.map +1 -0
  43. package/dist/solochain-evm/interfaces/augment-types.js +6 -0
  44. package/dist/solochain-evm/interfaces/augment-types.js.map +1 -0
  45. package/dist/solochain-evm/interfaces/definitions.js +2 -0
  46. package/dist/solochain-evm/interfaces/definitions.js.map +1 -0
  47. package/dist/solochain-evm/interfaces/index.js +4 -0
  48. package/dist/solochain-evm/interfaces/index.js.map +1 -0
  49. package/dist/solochain-evm/interfaces/lookup.js +3744 -0
  50. package/dist/solochain-evm/interfaces/lookup.js.map +1 -0
  51. package/dist/solochain-evm/interfaces/registry.js +6 -0
  52. package/dist/solochain-evm/interfaces/registry.js.map +1 -0
  53. package/dist/solochain-evm/interfaces/storagehubclient/definitions.js +7 -0
  54. package/dist/solochain-evm/interfaces/storagehubclient/definitions.js.map +1 -0
  55. package/dist/solochain-evm/interfaces/storagehubclient/index.js +4 -0
  56. package/dist/solochain-evm/interfaces/storagehubclient/index.js.map +1 -0
  57. package/dist/solochain-evm/interfaces/storagehubclient/types.js +4 -0
  58. package/dist/solochain-evm/interfaces/storagehubclient/types.js.map +1 -0
  59. package/dist/solochain-evm/interfaces/types-lookup.js +6 -0
  60. package/dist/solochain-evm/interfaces/types-lookup.js.map +1 -0
  61. package/dist/solochain-evm/interfaces/types.js +4 -0
  62. package/dist/solochain-evm/interfaces/types.js.map +1 -0
  63. package/dist/types/{interfaces → parachain/interfaces}/augment-api-consts.d.ts +147 -20
  64. package/dist/types/{interfaces → parachain/interfaces}/augment-api-errors.d.ts +235 -8
  65. package/dist/types/{interfaces → parachain/interfaces}/augment-api-events.d.ts +542 -118
  66. package/dist/types/{interfaces → parachain/interfaces}/augment-api-query.d.ts +208 -118
  67. package/dist/types/{interfaces → parachain/interfaces}/augment-api-rpc.d.ts +61 -4
  68. package/dist/types/{interfaces → parachain/interfaces}/augment-api-runtime.d.ts +105 -8
  69. package/dist/types/{interfaces → parachain/interfaces}/augment-api-tx.d.ts +356 -181
  70. package/dist/types/{interfaces → parachain/interfaces}/augment-types.d.ts +145 -11
  71. package/dist/types/{interfaces → parachain/interfaces}/lookup.d.ts +1067 -513
  72. package/dist/types/parachain/interfaces/registry.d.ts +311 -0
  73. package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/types.d.ts +135 -18
  74. package/dist/types/{interfaces → parachain/interfaces}/types-lookup.d.ts +1619 -887
  75. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +641 -0
  76. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +1260 -0
  77. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +2058 -0
  78. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +1317 -0
  79. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +775 -0
  80. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +543 -0
  81. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +2381 -0
  82. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -0
  83. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +1419 -0
  84. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -0
  85. package/dist/types/solochain-evm/interfaces/lookup.d.ts +3363 -0
  86. package/dist/types/solochain-evm/interfaces/registry.d.ts +252 -0
  87. package/dist/types/solochain-evm/interfaces/storagehubclient/definitions.d.ts +6 -0
  88. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -0
  89. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +325 -0
  90. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +3577 -0
  91. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -0
  92. package/metadata-sh-parachain.json +5 -0
  93. package/metadata-sh-solochain-evm.json +5 -0
  94. package/package.json +41 -26
  95. package/scripts/scrapeMetadata.ts +41 -29
  96. package/src/parachain/index.ts +3 -0
  97. package/src/{interfaces → parachain/interfaces}/augment-api-consts.ts +147 -20
  98. package/src/{interfaces → parachain/interfaces}/augment-api-errors.ts +235 -8
  99. package/src/{interfaces → parachain/interfaces}/augment-api-events.ts +527 -137
  100. package/src/{interfaces → parachain/interfaces}/augment-api-query.ts +272 -145
  101. package/src/{interfaces → parachain/interfaces}/augment-api-rpc.ts +123 -5
  102. package/src/{interfaces → parachain/interfaces}/augment-api-runtime.ts +202 -8
  103. package/src/{interfaces → parachain/interfaces}/augment-api-tx.ts +374 -182
  104. package/src/{interfaces → parachain/interfaces}/augment-types.ts +280 -12
  105. package/src/parachain/interfaces/definitions.ts +1 -0
  106. package/src/{interfaces → parachain/interfaces}/lookup.ts +1497 -813
  107. package/src/{interfaces → parachain/interfaces}/registry.ts +176 -98
  108. package/src/parachain/interfaces/storagehubclient/definitions.ts +7 -0
  109. package/src/{interfaces → parachain/interfaces}/storagehubclient/types.ts +165 -18
  110. package/src/{interfaces → parachain/interfaces}/types-lookup.ts +1970 -896
  111. package/src/solochain-evm/index.ts +3 -0
  112. package/src/solochain-evm/interfaces/augment-api-consts.ts +655 -0
  113. package/src/solochain-evm/interfaces/augment-api-errors.ts +1268 -0
  114. package/src/solochain-evm/interfaces/augment-api-events.ts +1813 -0
  115. package/src/solochain-evm/interfaces/augment-api-query.ts +1838 -0
  116. package/src/solochain-evm/interfaces/augment-api-rpc.ts +1319 -0
  117. package/src/solochain-evm/interfaces/augment-api-runtime.ts +977 -0
  118. package/src/solochain-evm/interfaces/augment-api-tx.ts +2818 -0
  119. package/src/solochain-evm/interfaces/augment-api.ts +10 -0
  120. package/src/solochain-evm/interfaces/augment-types.ts +2776 -0
  121. package/src/solochain-evm/interfaces/definitions.ts +1 -0
  122. package/src/solochain-evm/interfaces/index.ts +4 -0
  123. package/src/solochain-evm/interfaces/lookup.ts +3788 -0
  124. package/src/solochain-evm/interfaces/registry.ts +506 -0
  125. package/src/solochain-evm/interfaces/storagehubclient/definitions.ts +7 -0
  126. package/src/solochain-evm/interfaces/storagehubclient/index.ts +4 -0
  127. package/src/solochain-evm/interfaces/storagehubclient/types.ts +398 -0
  128. package/src/solochain-evm/interfaces/types-lookup.ts +4616 -0
  129. package/src/solochain-evm/interfaces/types.ts +4 -0
  130. package/tsconfig.json +17 -20
  131. package/tsconfig.parachain.json +17 -0
  132. package/tsconfig.solochain-evm.json +17 -0
  133. package/tsconfig.tsbuildinfo +1 -0
  134. package/dist/index.js.map +0 -1
  135. package/dist/interfaces/augment-api-consts.js.map +0 -1
  136. package/dist/interfaces/augment-api-errors.js.map +0 -1
  137. package/dist/interfaces/augment-api-events.js.map +0 -1
  138. package/dist/interfaces/augment-api-query.js.map +0 -1
  139. package/dist/interfaces/augment-api-rpc.js.map +0 -1
  140. package/dist/interfaces/augment-api-runtime.js.map +0 -1
  141. package/dist/interfaces/augment-api-tx.js.map +0 -1
  142. package/dist/interfaces/augment-api.js.map +0 -1
  143. package/dist/interfaces/augment-types.js.map +0 -1
  144. package/dist/interfaces/definitions.js.map +0 -1
  145. package/dist/interfaces/index.js.map +0 -1
  146. package/dist/interfaces/lookup.js.map +0 -1
  147. package/dist/interfaces/registry.js.map +0 -1
  148. package/dist/interfaces/storagehubclient/definitions.js +0 -7
  149. package/dist/interfaces/storagehubclient/definitions.js.map +0 -1
  150. package/dist/interfaces/storagehubclient/index.js.map +0 -1
  151. package/dist/interfaces/storagehubclient/runtime.js.map +0 -1
  152. package/dist/interfaces/storagehubclient/types.js.map +0 -1
  153. package/dist/interfaces/types-lookup.js.map +0 -1
  154. package/dist/interfaces/types.js.map +0 -1
  155. package/dist/types/interfaces/registry.d.ts +0 -272
  156. package/src/interfaces/storagehubclient/definitions.ts +0 -7
  157. package/storagehub.json +0 -1
  158. /package/dist/{index.js → parachain/index.js} +0 -0
  159. /package/dist/{interfaces → parachain/interfaces}/augment-api-consts.js +0 -0
  160. /package/dist/{interfaces → parachain/interfaces}/augment-api-errors.js +0 -0
  161. /package/dist/{interfaces → parachain/interfaces}/augment-api-events.js +0 -0
  162. /package/dist/{interfaces → parachain/interfaces}/augment-api-query.js +0 -0
  163. /package/dist/{interfaces → parachain/interfaces}/augment-api-rpc.js +0 -0
  164. /package/dist/{interfaces → parachain/interfaces}/augment-api-runtime.js +0 -0
  165. /package/dist/{interfaces → parachain/interfaces}/augment-api-tx.js +0 -0
  166. /package/dist/{interfaces → parachain/interfaces}/augment-api.js +0 -0
  167. /package/dist/{interfaces → parachain/interfaces}/augment-types.js +0 -0
  168. /package/dist/{interfaces → parachain/interfaces}/definitions.js +0 -0
  169. /package/dist/{interfaces → parachain/interfaces}/index.js +0 -0
  170. /package/dist/{interfaces → parachain/interfaces}/registry.js +0 -0
  171. /package/dist/{interfaces → parachain/interfaces}/storagehubclient/index.js +0 -0
  172. /package/dist/{interfaces → parachain/interfaces}/storagehubclient/runtime.js +0 -0
  173. /package/dist/{interfaces → parachain/interfaces}/storagehubclient/types.js +0 -0
  174. /package/dist/{interfaces → parachain/interfaces}/types-lookup.js +0 -0
  175. /package/dist/{interfaces → parachain/interfaces}/types.js +0 -0
  176. /package/dist/types/{index.d.ts → parachain/index.d.ts} +0 -0
  177. /package/dist/types/{interfaces → parachain/interfaces}/augment-api.d.ts +0 -0
  178. /package/dist/types/{interfaces → parachain/interfaces}/definitions.d.ts +0 -0
  179. /package/dist/types/{interfaces → parachain/interfaces}/index.d.ts +0 -0
  180. /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/definitions.d.ts +0 -0
  181. /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/index.d.ts +0 -0
  182. /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/runtime.d.ts +0 -0
  183. /package/dist/types/{interfaces → parachain/interfaces}/types.d.ts +0 -0
  184. /package/{src/index.ts → dist/types/solochain-evm/index.d.ts} +0 -0
  185. /package/{src/interfaces/definitions.ts → dist/types/solochain-evm/interfaces/definitions.d.ts} +0 -0
  186. /package/src/{interfaces → parachain/interfaces}/augment-api.ts +0 -0
  187. /package/src/{interfaces → parachain/interfaces}/index.ts +0 -0
  188. /package/src/{interfaces → parachain/interfaces}/storagehubclient/index.ts +0 -0
  189. /package/src/{interfaces → parachain/interfaces}/storagehubclient/runtime.ts +0 -0
  190. /package/src/{interfaces → parachain/interfaces}/types.ts +0 -0
@@ -0,0 +1,4616 @@
1
+ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import "@polkadot/types/lookup";
7
+
8
+ import type {
9
+ BTreeMap,
10
+ Bytes,
11
+ Compact,
12
+ Enum,
13
+ Null,
14
+ Option,
15
+ Result,
16
+ Struct,
17
+ Text,
18
+ U256,
19
+ U8aFixed,
20
+ Vec,
21
+ bool,
22
+ u128,
23
+ u32,
24
+ u64,
25
+ u8
26
+ } from "@polkadot/types-codec";
27
+ import type { ITuple } from "@polkadot/types-codec/types";
28
+ import type { AccountId20, Call, H160, H256, Perbill } from "@polkadot/types/interfaces/runtime";
29
+ import type { Event } from "@polkadot/types/interfaces/system";
30
+
31
+ declare module "@polkadot/types/lookup" {
32
+ /** @name FrameSystemAccountInfo (3) */
33
+ interface FrameSystemAccountInfo extends Struct {
34
+ readonly nonce: u32;
35
+ readonly consumers: u32;
36
+ readonly providers: u32;
37
+ readonly sufficients: u32;
38
+ readonly data: PalletBalancesAccountData;
39
+ }
40
+
41
+ /** @name PalletBalancesAccountData (5) */
42
+ interface PalletBalancesAccountData extends Struct {
43
+ readonly free: u128;
44
+ readonly reserved: u128;
45
+ readonly frozen: u128;
46
+ readonly flags: u128;
47
+ }
48
+
49
+ /** @name FrameSupportDispatchPerDispatchClassWeight (9) */
50
+ interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
51
+ readonly normal: SpWeightsWeightV2Weight;
52
+ readonly operational: SpWeightsWeightV2Weight;
53
+ readonly mandatory: SpWeightsWeightV2Weight;
54
+ }
55
+
56
+ /** @name SpWeightsWeightV2Weight (10) */
57
+ interface SpWeightsWeightV2Weight extends Struct {
58
+ readonly refTime: Compact<u64>;
59
+ readonly proofSize: Compact<u64>;
60
+ }
61
+
62
+ /** @name SpRuntimeDigest (16) */
63
+ interface SpRuntimeDigest extends Struct {
64
+ readonly logs: Vec<SpRuntimeDigestDigestItem>;
65
+ }
66
+
67
+ /** @name SpRuntimeDigestDigestItem (18) */
68
+ interface SpRuntimeDigestDigestItem extends Enum {
69
+ readonly isOther: boolean;
70
+ readonly asOther: Bytes;
71
+ readonly isConsensus: boolean;
72
+ readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
73
+ readonly isSeal: boolean;
74
+ readonly asSeal: ITuple<[U8aFixed, Bytes]>;
75
+ readonly isPreRuntime: boolean;
76
+ readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
77
+ readonly isRuntimeEnvironmentUpdated: boolean;
78
+ readonly type: "Other" | "Consensus" | "Seal" | "PreRuntime" | "RuntimeEnvironmentUpdated";
79
+ }
80
+
81
+ /** @name FrameSystemEventRecord (21) */
82
+ interface FrameSystemEventRecord extends Struct {
83
+ readonly phase: FrameSystemPhase;
84
+ readonly event: Event;
85
+ readonly topics: Vec<H256>;
86
+ }
87
+
88
+ /** @name FrameSystemEvent (23) */
89
+ interface FrameSystemEvent extends Enum {
90
+ readonly isExtrinsicSuccess: boolean;
91
+ readonly asExtrinsicSuccess: {
92
+ readonly dispatchInfo: FrameSystemDispatchEventInfo;
93
+ } & Struct;
94
+ readonly isExtrinsicFailed: boolean;
95
+ readonly asExtrinsicFailed: {
96
+ readonly dispatchError: SpRuntimeDispatchError;
97
+ readonly dispatchInfo: FrameSystemDispatchEventInfo;
98
+ } & Struct;
99
+ readonly isCodeUpdated: boolean;
100
+ readonly isNewAccount: boolean;
101
+ readonly asNewAccount: {
102
+ readonly account: AccountId20;
103
+ } & Struct;
104
+ readonly isKilledAccount: boolean;
105
+ readonly asKilledAccount: {
106
+ readonly account: AccountId20;
107
+ } & Struct;
108
+ readonly isRemarked: boolean;
109
+ readonly asRemarked: {
110
+ readonly sender: AccountId20;
111
+ readonly hash_: H256;
112
+ } & Struct;
113
+ readonly isUpgradeAuthorized: boolean;
114
+ readonly asUpgradeAuthorized: {
115
+ readonly codeHash: H256;
116
+ readonly checkVersion: bool;
117
+ } & Struct;
118
+ readonly type:
119
+ | "ExtrinsicSuccess"
120
+ | "ExtrinsicFailed"
121
+ | "CodeUpdated"
122
+ | "NewAccount"
123
+ | "KilledAccount"
124
+ | "Remarked"
125
+ | "UpgradeAuthorized";
126
+ }
127
+
128
+ /** @name FrameSystemDispatchEventInfo (24) */
129
+ interface FrameSystemDispatchEventInfo extends Struct {
130
+ readonly weight: SpWeightsWeightV2Weight;
131
+ readonly class: FrameSupportDispatchDispatchClass;
132
+ readonly paysFee: FrameSupportDispatchPays;
133
+ }
134
+
135
+ /** @name FrameSupportDispatchDispatchClass (25) */
136
+ interface FrameSupportDispatchDispatchClass extends Enum {
137
+ readonly isNormal: boolean;
138
+ readonly isOperational: boolean;
139
+ readonly isMandatory: boolean;
140
+ readonly type: "Normal" | "Operational" | "Mandatory";
141
+ }
142
+
143
+ /** @name FrameSupportDispatchPays (26) */
144
+ interface FrameSupportDispatchPays extends Enum {
145
+ readonly isYes: boolean;
146
+ readonly isNo: boolean;
147
+ readonly type: "Yes" | "No";
148
+ }
149
+
150
+ /** @name SpRuntimeDispatchError (27) */
151
+ interface SpRuntimeDispatchError extends Enum {
152
+ readonly isOther: boolean;
153
+ readonly isCannotLookup: boolean;
154
+ readonly isBadOrigin: boolean;
155
+ readonly isModule: boolean;
156
+ readonly asModule: SpRuntimeModuleError;
157
+ readonly isConsumerRemaining: boolean;
158
+ readonly isNoProviders: boolean;
159
+ readonly isTooManyConsumers: boolean;
160
+ readonly isToken: boolean;
161
+ readonly asToken: SpRuntimeTokenError;
162
+ readonly isArithmetic: boolean;
163
+ readonly asArithmetic: SpArithmeticArithmeticError;
164
+ readonly isTransactional: boolean;
165
+ readonly asTransactional: SpRuntimeTransactionalError;
166
+ readonly isExhausted: boolean;
167
+ readonly isCorruption: boolean;
168
+ readonly isUnavailable: boolean;
169
+ readonly isRootNotAllowed: boolean;
170
+ readonly isTrie: boolean;
171
+ readonly asTrie: SpRuntimeProvingTrieTrieError;
172
+ readonly type:
173
+ | "Other"
174
+ | "CannotLookup"
175
+ | "BadOrigin"
176
+ | "Module"
177
+ | "ConsumerRemaining"
178
+ | "NoProviders"
179
+ | "TooManyConsumers"
180
+ | "Token"
181
+ | "Arithmetic"
182
+ | "Transactional"
183
+ | "Exhausted"
184
+ | "Corruption"
185
+ | "Unavailable"
186
+ | "RootNotAllowed"
187
+ | "Trie";
188
+ }
189
+
190
+ /** @name SpRuntimeModuleError (28) */
191
+ interface SpRuntimeModuleError extends Struct {
192
+ readonly index: u8;
193
+ readonly error: U8aFixed;
194
+ }
195
+
196
+ /** @name SpRuntimeTokenError (29) */
197
+ interface SpRuntimeTokenError extends Enum {
198
+ readonly isFundsUnavailable: boolean;
199
+ readonly isOnlyProvider: boolean;
200
+ readonly isBelowMinimum: boolean;
201
+ readonly isCannotCreate: boolean;
202
+ readonly isUnknownAsset: boolean;
203
+ readonly isFrozen: boolean;
204
+ readonly isUnsupported: boolean;
205
+ readonly isCannotCreateHold: boolean;
206
+ readonly isNotExpendable: boolean;
207
+ readonly isBlocked: boolean;
208
+ readonly type:
209
+ | "FundsUnavailable"
210
+ | "OnlyProvider"
211
+ | "BelowMinimum"
212
+ | "CannotCreate"
213
+ | "UnknownAsset"
214
+ | "Frozen"
215
+ | "Unsupported"
216
+ | "CannotCreateHold"
217
+ | "NotExpendable"
218
+ | "Blocked";
219
+ }
220
+
221
+ /** @name SpArithmeticArithmeticError (30) */
222
+ interface SpArithmeticArithmeticError extends Enum {
223
+ readonly isUnderflow: boolean;
224
+ readonly isOverflow: boolean;
225
+ readonly isDivisionByZero: boolean;
226
+ readonly type: "Underflow" | "Overflow" | "DivisionByZero";
227
+ }
228
+
229
+ /** @name SpRuntimeTransactionalError (31) */
230
+ interface SpRuntimeTransactionalError extends Enum {
231
+ readonly isLimitReached: boolean;
232
+ readonly isNoLayer: boolean;
233
+ readonly type: "LimitReached" | "NoLayer";
234
+ }
235
+
236
+ /** @name SpRuntimeProvingTrieTrieError (32) */
237
+ interface SpRuntimeProvingTrieTrieError extends Enum {
238
+ readonly isInvalidStateRoot: boolean;
239
+ readonly isIncompleteDatabase: boolean;
240
+ readonly isValueAtIncompleteKey: boolean;
241
+ readonly isDecoderError: boolean;
242
+ readonly isInvalidHash: boolean;
243
+ readonly isDuplicateKey: boolean;
244
+ readonly isExtraneousNode: boolean;
245
+ readonly isExtraneousValue: boolean;
246
+ readonly isExtraneousHashReference: boolean;
247
+ readonly isInvalidChildReference: boolean;
248
+ readonly isValueMismatch: boolean;
249
+ readonly isIncompleteProof: boolean;
250
+ readonly isRootMismatch: boolean;
251
+ readonly isDecodeError: boolean;
252
+ readonly type:
253
+ | "InvalidStateRoot"
254
+ | "IncompleteDatabase"
255
+ | "ValueAtIncompleteKey"
256
+ | "DecoderError"
257
+ | "InvalidHash"
258
+ | "DuplicateKey"
259
+ | "ExtraneousNode"
260
+ | "ExtraneousValue"
261
+ | "ExtraneousHashReference"
262
+ | "InvalidChildReference"
263
+ | "ValueMismatch"
264
+ | "IncompleteProof"
265
+ | "RootMismatch"
266
+ | "DecodeError";
267
+ }
268
+
269
+ /** @name PalletBalancesEvent (33) */
270
+ interface PalletBalancesEvent extends Enum {
271
+ readonly isEndowed: boolean;
272
+ readonly asEndowed: {
273
+ readonly account: AccountId20;
274
+ readonly freeBalance: u128;
275
+ } & Struct;
276
+ readonly isDustLost: boolean;
277
+ readonly asDustLost: {
278
+ readonly account: AccountId20;
279
+ readonly amount: u128;
280
+ } & Struct;
281
+ readonly isTransfer: boolean;
282
+ readonly asTransfer: {
283
+ readonly from: AccountId20;
284
+ readonly to: AccountId20;
285
+ readonly amount: u128;
286
+ } & Struct;
287
+ readonly isBalanceSet: boolean;
288
+ readonly asBalanceSet: {
289
+ readonly who: AccountId20;
290
+ readonly free: u128;
291
+ } & Struct;
292
+ readonly isReserved: boolean;
293
+ readonly asReserved: {
294
+ readonly who: AccountId20;
295
+ readonly amount: u128;
296
+ } & Struct;
297
+ readonly isUnreserved: boolean;
298
+ readonly asUnreserved: {
299
+ readonly who: AccountId20;
300
+ readonly amount: u128;
301
+ } & Struct;
302
+ readonly isReserveRepatriated: boolean;
303
+ readonly asReserveRepatriated: {
304
+ readonly from: AccountId20;
305
+ readonly to: AccountId20;
306
+ readonly amount: u128;
307
+ readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
308
+ } & Struct;
309
+ readonly isDeposit: boolean;
310
+ readonly asDeposit: {
311
+ readonly who: AccountId20;
312
+ readonly amount: u128;
313
+ } & Struct;
314
+ readonly isWithdraw: boolean;
315
+ readonly asWithdraw: {
316
+ readonly who: AccountId20;
317
+ readonly amount: u128;
318
+ } & Struct;
319
+ readonly isSlashed: boolean;
320
+ readonly asSlashed: {
321
+ readonly who: AccountId20;
322
+ readonly amount: u128;
323
+ } & Struct;
324
+ readonly isMinted: boolean;
325
+ readonly asMinted: {
326
+ readonly who: AccountId20;
327
+ readonly amount: u128;
328
+ } & Struct;
329
+ readonly isBurned: boolean;
330
+ readonly asBurned: {
331
+ readonly who: AccountId20;
332
+ readonly amount: u128;
333
+ } & Struct;
334
+ readonly isSuspended: boolean;
335
+ readonly asSuspended: {
336
+ readonly who: AccountId20;
337
+ readonly amount: u128;
338
+ } & Struct;
339
+ readonly isRestored: boolean;
340
+ readonly asRestored: {
341
+ readonly who: AccountId20;
342
+ readonly amount: u128;
343
+ } & Struct;
344
+ readonly isUpgraded: boolean;
345
+ readonly asUpgraded: {
346
+ readonly who: AccountId20;
347
+ } & Struct;
348
+ readonly isIssued: boolean;
349
+ readonly asIssued: {
350
+ readonly amount: u128;
351
+ } & Struct;
352
+ readonly isRescinded: boolean;
353
+ readonly asRescinded: {
354
+ readonly amount: u128;
355
+ } & Struct;
356
+ readonly isLocked: boolean;
357
+ readonly asLocked: {
358
+ readonly who: AccountId20;
359
+ readonly amount: u128;
360
+ } & Struct;
361
+ readonly isUnlocked: boolean;
362
+ readonly asUnlocked: {
363
+ readonly who: AccountId20;
364
+ readonly amount: u128;
365
+ } & Struct;
366
+ readonly isFrozen: boolean;
367
+ readonly asFrozen: {
368
+ readonly who: AccountId20;
369
+ readonly amount: u128;
370
+ } & Struct;
371
+ readonly isThawed: boolean;
372
+ readonly asThawed: {
373
+ readonly who: AccountId20;
374
+ readonly amount: u128;
375
+ } & Struct;
376
+ readonly isTotalIssuanceForced: boolean;
377
+ readonly asTotalIssuanceForced: {
378
+ readonly old: u128;
379
+ readonly new_: u128;
380
+ } & Struct;
381
+ readonly type:
382
+ | "Endowed"
383
+ | "DustLost"
384
+ | "Transfer"
385
+ | "BalanceSet"
386
+ | "Reserved"
387
+ | "Unreserved"
388
+ | "ReserveRepatriated"
389
+ | "Deposit"
390
+ | "Withdraw"
391
+ | "Slashed"
392
+ | "Minted"
393
+ | "Burned"
394
+ | "Suspended"
395
+ | "Restored"
396
+ | "Upgraded"
397
+ | "Issued"
398
+ | "Rescinded"
399
+ | "Locked"
400
+ | "Unlocked"
401
+ | "Frozen"
402
+ | "Thawed"
403
+ | "TotalIssuanceForced";
404
+ }
405
+
406
+ /** @name FrameSupportTokensMiscBalanceStatus (34) */
407
+ interface FrameSupportTokensMiscBalanceStatus extends Enum {
408
+ readonly isFree: boolean;
409
+ readonly isReserved: boolean;
410
+ readonly type: "Free" | "Reserved";
411
+ }
412
+
413
+ /** @name PalletOffencesEvent (35) */
414
+ interface PalletOffencesEvent extends Enum {
415
+ readonly isOffence: boolean;
416
+ readonly asOffence: {
417
+ readonly kind: U8aFixed;
418
+ readonly timeslot: Bytes;
419
+ } & Struct;
420
+ readonly type: "Offence";
421
+ }
422
+
423
+ /** @name PalletSessionEvent (37) */
424
+ interface PalletSessionEvent extends Enum {
425
+ readonly isNewSession: boolean;
426
+ readonly asNewSession: {
427
+ readonly sessionIndex: u32;
428
+ } & Struct;
429
+ readonly type: "NewSession";
430
+ }
431
+
432
+ /** @name PalletGrandpaEvent (38) */
433
+ interface PalletGrandpaEvent extends Enum {
434
+ readonly isNewAuthorities: boolean;
435
+ readonly asNewAuthorities: {
436
+ readonly authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
437
+ } & Struct;
438
+ readonly isPaused: boolean;
439
+ readonly isResumed: boolean;
440
+ readonly type: "NewAuthorities" | "Paused" | "Resumed";
441
+ }
442
+
443
+ /** @name SpConsensusGrandpaAppPublic (41) */
444
+ interface SpConsensusGrandpaAppPublic extends U8aFixed {}
445
+
446
+ /** @name PalletTransactionPaymentEvent (42) */
447
+ interface PalletTransactionPaymentEvent extends Enum {
448
+ readonly isTransactionFeePaid: boolean;
449
+ readonly asTransactionFeePaid: {
450
+ readonly who: AccountId20;
451
+ readonly actualFee: u128;
452
+ readonly tip: u128;
453
+ } & Struct;
454
+ readonly type: "TransactionFeePaid";
455
+ }
456
+
457
+ /** @name PalletParametersEvent (43) */
458
+ interface PalletParametersEvent extends Enum {
459
+ readonly isUpdated: boolean;
460
+ readonly asUpdated: {
461
+ readonly key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey;
462
+ readonly oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
463
+ readonly newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
464
+ } & Struct;
465
+ readonly type: "Updated";
466
+ }
467
+
468
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey (44) */
469
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey extends Enum {
470
+ readonly isRuntimeConfig: boolean;
471
+ readonly asRuntimeConfig: ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey;
472
+ readonly type: "RuntimeConfig";
473
+ }
474
+
475
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey (45) */
476
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersKey
477
+ extends Enum {
478
+ readonly isSlashAmountPerMaxFileSize: boolean;
479
+ readonly isStakeToChallengePeriod: boolean;
480
+ readonly isCheckpointChallengePeriod: boolean;
481
+ readonly isMinChallengePeriod: boolean;
482
+ readonly isSystemUtilisationLowerThresholdPercentage: boolean;
483
+ readonly isSystemUtilisationUpperThresholdPercentage: boolean;
484
+ readonly isMostlyStablePrice: boolean;
485
+ readonly isMaxPrice: boolean;
486
+ readonly isMinPrice: boolean;
487
+ readonly isUpperExponentFactor: boolean;
488
+ readonly isLowerExponentFactor: boolean;
489
+ readonly isZeroSizeBucketFixedRate: boolean;
490
+ readonly isIdealUtilisationRate: boolean;
491
+ readonly isDecayRate: boolean;
492
+ readonly isMinimumTreasuryCut: boolean;
493
+ readonly isMaximumTreasuryCut: boolean;
494
+ readonly isBspStopStoringFilePenalty: boolean;
495
+ readonly isProviderTopUpTtl: boolean;
496
+ readonly isBasicReplicationTarget: boolean;
497
+ readonly isStandardReplicationTarget: boolean;
498
+ readonly isHighSecurityReplicationTarget: boolean;
499
+ readonly isSuperHighSecurityReplicationTarget: boolean;
500
+ readonly isUltraHighSecurityReplicationTarget: boolean;
501
+ readonly isMaxReplicationTarget: boolean;
502
+ readonly isTickRangeToMaximumThreshold: boolean;
503
+ readonly isStorageRequestTtl: boolean;
504
+ readonly isMinWaitForStopStoring: boolean;
505
+ readonly isMinSeedPeriod: boolean;
506
+ readonly isStakeToSeedPeriod: boolean;
507
+ readonly isUpfrontTicksToPay: boolean;
508
+ readonly type:
509
+ | "SlashAmountPerMaxFileSize"
510
+ | "StakeToChallengePeriod"
511
+ | "CheckpointChallengePeriod"
512
+ | "MinChallengePeriod"
513
+ | "SystemUtilisationLowerThresholdPercentage"
514
+ | "SystemUtilisationUpperThresholdPercentage"
515
+ | "MostlyStablePrice"
516
+ | "MaxPrice"
517
+ | "MinPrice"
518
+ | "UpperExponentFactor"
519
+ | "LowerExponentFactor"
520
+ | "ZeroSizeBucketFixedRate"
521
+ | "IdealUtilisationRate"
522
+ | "DecayRate"
523
+ | "MinimumTreasuryCut"
524
+ | "MaximumTreasuryCut"
525
+ | "BspStopStoringFilePenalty"
526
+ | "ProviderTopUpTtl"
527
+ | "BasicReplicationTarget"
528
+ | "StandardReplicationTarget"
529
+ | "HighSecurityReplicationTarget"
530
+ | "SuperHighSecurityReplicationTarget"
531
+ | "UltraHighSecurityReplicationTarget"
532
+ | "MaxReplicationTarget"
533
+ | "TickRangeToMaximumThreshold"
534
+ | "StorageRequestTtl"
535
+ | "MinWaitForStopStoring"
536
+ | "MinSeedPeriod"
537
+ | "StakeToSeedPeriod"
538
+ | "UpfrontTicksToPay";
539
+ }
540
+
541
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize (46) */
542
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize =
543
+ Null;
544
+
545
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod (47) */
546
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod =
547
+ Null;
548
+
549
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod (48) */
550
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod =
551
+ Null;
552
+
553
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod (49) */
554
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod = Null;
555
+
556
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationLowerThresholdPercentage (50) */
557
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationLowerThresholdPercentage =
558
+ Null;
559
+
560
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationUpperThresholdPercentage (51) */
561
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationUpperThresholdPercentage =
562
+ Null;
563
+
564
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMostlyStablePrice (52) */
565
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMostlyStablePrice = Null;
566
+
567
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxPrice (53) */
568
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxPrice = Null;
569
+
570
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinPrice (54) */
571
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinPrice = Null;
572
+
573
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpperExponentFactor (55) */
574
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpperExponentFactor =
575
+ Null;
576
+
577
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigLowerExponentFactor (56) */
578
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigLowerExponentFactor =
579
+ Null;
580
+
581
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigZeroSizeBucketFixedRate (57) */
582
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigZeroSizeBucketFixedRate =
583
+ Null;
584
+
585
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigIdealUtilisationRate (58) */
586
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigIdealUtilisationRate =
587
+ Null;
588
+
589
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigDecayRate (59) */
590
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigDecayRate = Null;
591
+
592
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinimumTreasuryCut (60) */
593
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinimumTreasuryCut = Null;
594
+
595
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaximumTreasuryCut (61) */
596
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaximumTreasuryCut = Null;
597
+
598
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBspStopStoringFilePenalty (62) */
599
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBspStopStoringFilePenalty =
600
+ Null;
601
+
602
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigProviderTopUpTtl (63) */
603
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigProviderTopUpTtl = Null;
604
+
605
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBasicReplicationTarget (64) */
606
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBasicReplicationTarget =
607
+ Null;
608
+
609
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStandardReplicationTarget (65) */
610
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStandardReplicationTarget =
611
+ Null;
612
+
613
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigHighSecurityReplicationTarget (66) */
614
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigHighSecurityReplicationTarget =
615
+ Null;
616
+
617
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSuperHighSecurityReplicationTarget (67) */
618
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSuperHighSecurityReplicationTarget =
619
+ Null;
620
+
621
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUltraHighSecurityReplicationTarget (68) */
622
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUltraHighSecurityReplicationTarget =
623
+ Null;
624
+
625
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxReplicationTarget (69) */
626
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxReplicationTarget =
627
+ Null;
628
+
629
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigTickRangeToMaximumThreshold (70) */
630
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigTickRangeToMaximumThreshold =
631
+ Null;
632
+
633
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStorageRequestTtl (71) */
634
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStorageRequestTtl = Null;
635
+
636
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinWaitForStopStoring (72) */
637
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinWaitForStopStoring =
638
+ Null;
639
+
640
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinSeedPeriod (73) */
641
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinSeedPeriod = Null;
642
+
643
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToSeedPeriod (74) */
644
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToSeedPeriod = Null;
645
+
646
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpfrontTicksToPay (75) */
647
+ type ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpfrontTicksToPay = Null;
648
+
649
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue (77) */
650
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue extends Enum {
651
+ readonly isRuntimeConfig: boolean;
652
+ readonly asRuntimeConfig: ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue;
653
+ readonly type: "RuntimeConfig";
654
+ }
655
+
656
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue (78) */
657
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParametersValue
658
+ extends Enum {
659
+ readonly isSlashAmountPerMaxFileSize: boolean;
660
+ readonly asSlashAmountPerMaxFileSize: u128;
661
+ readonly isStakeToChallengePeriod: boolean;
662
+ readonly asStakeToChallengePeriod: u128;
663
+ readonly isCheckpointChallengePeriod: boolean;
664
+ readonly asCheckpointChallengePeriod: u32;
665
+ readonly isMinChallengePeriod: boolean;
666
+ readonly asMinChallengePeriod: u32;
667
+ readonly isSystemUtilisationLowerThresholdPercentage: boolean;
668
+ readonly asSystemUtilisationLowerThresholdPercentage: Perbill;
669
+ readonly isSystemUtilisationUpperThresholdPercentage: boolean;
670
+ readonly asSystemUtilisationUpperThresholdPercentage: Perbill;
671
+ readonly isMostlyStablePrice: boolean;
672
+ readonly asMostlyStablePrice: u128;
673
+ readonly isMaxPrice: boolean;
674
+ readonly asMaxPrice: u128;
675
+ readonly isMinPrice: boolean;
676
+ readonly asMinPrice: u128;
677
+ readonly isUpperExponentFactor: boolean;
678
+ readonly asUpperExponentFactor: u32;
679
+ readonly isLowerExponentFactor: boolean;
680
+ readonly asLowerExponentFactor: u32;
681
+ readonly isZeroSizeBucketFixedRate: boolean;
682
+ readonly asZeroSizeBucketFixedRate: u128;
683
+ readonly isIdealUtilisationRate: boolean;
684
+ readonly asIdealUtilisationRate: Perbill;
685
+ readonly isDecayRate: boolean;
686
+ readonly asDecayRate: Perbill;
687
+ readonly isMinimumTreasuryCut: boolean;
688
+ readonly asMinimumTreasuryCut: Perbill;
689
+ readonly isMaximumTreasuryCut: boolean;
690
+ readonly asMaximumTreasuryCut: Perbill;
691
+ readonly isBspStopStoringFilePenalty: boolean;
692
+ readonly asBspStopStoringFilePenalty: u128;
693
+ readonly isProviderTopUpTtl: boolean;
694
+ readonly asProviderTopUpTtl: u32;
695
+ readonly isBasicReplicationTarget: boolean;
696
+ readonly asBasicReplicationTarget: u32;
697
+ readonly isStandardReplicationTarget: boolean;
698
+ readonly asStandardReplicationTarget: u32;
699
+ readonly isHighSecurityReplicationTarget: boolean;
700
+ readonly asHighSecurityReplicationTarget: u32;
701
+ readonly isSuperHighSecurityReplicationTarget: boolean;
702
+ readonly asSuperHighSecurityReplicationTarget: u32;
703
+ readonly isUltraHighSecurityReplicationTarget: boolean;
704
+ readonly asUltraHighSecurityReplicationTarget: u32;
705
+ readonly isMaxReplicationTarget: boolean;
706
+ readonly asMaxReplicationTarget: u32;
707
+ readonly isTickRangeToMaximumThreshold: boolean;
708
+ readonly asTickRangeToMaximumThreshold: u32;
709
+ readonly isStorageRequestTtl: boolean;
710
+ readonly asStorageRequestTtl: u32;
711
+ readonly isMinWaitForStopStoring: boolean;
712
+ readonly asMinWaitForStopStoring: u32;
713
+ readonly isMinSeedPeriod: boolean;
714
+ readonly asMinSeedPeriod: u32;
715
+ readonly isStakeToSeedPeriod: boolean;
716
+ readonly asStakeToSeedPeriod: u128;
717
+ readonly isUpfrontTicksToPay: boolean;
718
+ readonly asUpfrontTicksToPay: u32;
719
+ readonly type:
720
+ | "SlashAmountPerMaxFileSize"
721
+ | "StakeToChallengePeriod"
722
+ | "CheckpointChallengePeriod"
723
+ | "MinChallengePeriod"
724
+ | "SystemUtilisationLowerThresholdPercentage"
725
+ | "SystemUtilisationUpperThresholdPercentage"
726
+ | "MostlyStablePrice"
727
+ | "MaxPrice"
728
+ | "MinPrice"
729
+ | "UpperExponentFactor"
730
+ | "LowerExponentFactor"
731
+ | "ZeroSizeBucketFixedRate"
732
+ | "IdealUtilisationRate"
733
+ | "DecayRate"
734
+ | "MinimumTreasuryCut"
735
+ | "MaximumTreasuryCut"
736
+ | "BspStopStoringFilePenalty"
737
+ | "ProviderTopUpTtl"
738
+ | "BasicReplicationTarget"
739
+ | "StandardReplicationTarget"
740
+ | "HighSecurityReplicationTarget"
741
+ | "SuperHighSecurityReplicationTarget"
742
+ | "UltraHighSecurityReplicationTarget"
743
+ | "MaxReplicationTarget"
744
+ | "TickRangeToMaximumThreshold"
745
+ | "StorageRequestTtl"
746
+ | "MinWaitForStopStoring"
747
+ | "MinSeedPeriod"
748
+ | "StakeToSeedPeriod"
749
+ | "UpfrontTicksToPay";
750
+ }
751
+
752
+ /** @name PalletSudoEvent (80) */
753
+ interface PalletSudoEvent extends Enum {
754
+ readonly isSudid: boolean;
755
+ readonly asSudid: {
756
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
757
+ } & Struct;
758
+ readonly isKeyChanged: boolean;
759
+ readonly asKeyChanged: {
760
+ readonly old: Option<AccountId20>;
761
+ readonly new_: AccountId20;
762
+ } & Struct;
763
+ readonly isKeyRemoved: boolean;
764
+ readonly isSudoAsDone: boolean;
765
+ readonly asSudoAsDone: {
766
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
767
+ } & Struct;
768
+ readonly type: "Sudid" | "KeyChanged" | "KeyRemoved" | "SudoAsDone";
769
+ }
770
+
771
+ /** @name PalletEthereumEvent (84) */
772
+ interface PalletEthereumEvent extends Enum {
773
+ readonly isExecuted: boolean;
774
+ readonly asExecuted: {
775
+ readonly from: H160;
776
+ readonly to: H160;
777
+ readonly transactionHash: H256;
778
+ readonly exitReason: EvmCoreErrorExitReason;
779
+ readonly extraData: Bytes;
780
+ } & Struct;
781
+ readonly type: "Executed";
782
+ }
783
+
784
+ /** @name EvmCoreErrorExitReason (86) */
785
+ interface EvmCoreErrorExitReason extends Enum {
786
+ readonly isSucceed: boolean;
787
+ readonly asSucceed: EvmCoreErrorExitSucceed;
788
+ readonly isError: boolean;
789
+ readonly asError: EvmCoreErrorExitError;
790
+ readonly isRevert: boolean;
791
+ readonly asRevert: EvmCoreErrorExitRevert;
792
+ readonly isFatal: boolean;
793
+ readonly asFatal: EvmCoreErrorExitFatal;
794
+ readonly type: "Succeed" | "Error" | "Revert" | "Fatal";
795
+ }
796
+
797
+ /** @name EvmCoreErrorExitSucceed (87) */
798
+ interface EvmCoreErrorExitSucceed extends Enum {
799
+ readonly isStopped: boolean;
800
+ readonly isReturned: boolean;
801
+ readonly isSuicided: boolean;
802
+ readonly type: "Stopped" | "Returned" | "Suicided";
803
+ }
804
+
805
+ /** @name EvmCoreErrorExitError (88) */
806
+ interface EvmCoreErrorExitError extends Enum {
807
+ readonly isStackUnderflow: boolean;
808
+ readonly isStackOverflow: boolean;
809
+ readonly isInvalidJump: boolean;
810
+ readonly isInvalidRange: boolean;
811
+ readonly isDesignatedInvalid: boolean;
812
+ readonly isCallTooDeep: boolean;
813
+ readonly isCreateCollision: boolean;
814
+ readonly isCreateContractLimit: boolean;
815
+ readonly isOutOfOffset: boolean;
816
+ readonly isOutOfGas: boolean;
817
+ readonly isOutOfFund: boolean;
818
+ readonly isPcUnderflow: boolean;
819
+ readonly isCreateEmpty: boolean;
820
+ readonly isOther: boolean;
821
+ readonly asOther: Text;
822
+ readonly isMaxNonce: boolean;
823
+ readonly isInvalidCode: boolean;
824
+ readonly asInvalidCode: u8;
825
+ readonly type:
826
+ | "StackUnderflow"
827
+ | "StackOverflow"
828
+ | "InvalidJump"
829
+ | "InvalidRange"
830
+ | "DesignatedInvalid"
831
+ | "CallTooDeep"
832
+ | "CreateCollision"
833
+ | "CreateContractLimit"
834
+ | "OutOfOffset"
835
+ | "OutOfGas"
836
+ | "OutOfFund"
837
+ | "PcUnderflow"
838
+ | "CreateEmpty"
839
+ | "Other"
840
+ | "MaxNonce"
841
+ | "InvalidCode";
842
+ }
843
+
844
+ /** @name EvmCoreErrorExitRevert (92) */
845
+ interface EvmCoreErrorExitRevert extends Enum {
846
+ readonly isReverted: boolean;
847
+ readonly type: "Reverted";
848
+ }
849
+
850
+ /** @name EvmCoreErrorExitFatal (93) */
851
+ interface EvmCoreErrorExitFatal extends Enum {
852
+ readonly isNotSupported: boolean;
853
+ readonly isUnhandledInterrupt: boolean;
854
+ readonly isCallErrorAsFatal: boolean;
855
+ readonly asCallErrorAsFatal: EvmCoreErrorExitError;
856
+ readonly isOther: boolean;
857
+ readonly asOther: Text;
858
+ readonly type: "NotSupported" | "UnhandledInterrupt" | "CallErrorAsFatal" | "Other";
859
+ }
860
+
861
+ /** @name PalletEvmEvent (94) */
862
+ interface PalletEvmEvent extends Enum {
863
+ readonly isLog: boolean;
864
+ readonly asLog: {
865
+ readonly log: EthereumLog;
866
+ } & Struct;
867
+ readonly isCreated: boolean;
868
+ readonly asCreated: {
869
+ readonly address: H160;
870
+ } & Struct;
871
+ readonly isCreatedFailed: boolean;
872
+ readonly asCreatedFailed: {
873
+ readonly address: H160;
874
+ } & Struct;
875
+ readonly isExecuted: boolean;
876
+ readonly asExecuted: {
877
+ readonly address: H160;
878
+ } & Struct;
879
+ readonly isExecutedFailed: boolean;
880
+ readonly asExecutedFailed: {
881
+ readonly address: H160;
882
+ } & Struct;
883
+ readonly type: "Log" | "Created" | "CreatedFailed" | "Executed" | "ExecutedFailed";
884
+ }
885
+
886
+ /** @name EthereumLog (95) */
887
+ interface EthereumLog extends Struct {
888
+ readonly address: H160;
889
+ readonly topics: Vec<H256>;
890
+ readonly data: Bytes;
891
+ }
892
+
893
+ /** @name PalletStorageProvidersEvent (97) */
894
+ interface PalletStorageProvidersEvent extends Enum {
895
+ readonly isMspRequestSignUpSuccess: boolean;
896
+ readonly asMspRequestSignUpSuccess: {
897
+ readonly who: AccountId20;
898
+ readonly multiaddresses: Vec<Bytes>;
899
+ readonly capacity: u64;
900
+ } & Struct;
901
+ readonly isMspSignUpSuccess: boolean;
902
+ readonly asMspSignUpSuccess: {
903
+ readonly who: AccountId20;
904
+ readonly mspId: H256;
905
+ readonly multiaddresses: Vec<Bytes>;
906
+ readonly capacity: u64;
907
+ readonly valueProp: PalletStorageProvidersValuePropositionWithId;
908
+ } & Struct;
909
+ readonly isBspRequestSignUpSuccess: boolean;
910
+ readonly asBspRequestSignUpSuccess: {
911
+ readonly who: AccountId20;
912
+ readonly multiaddresses: Vec<Bytes>;
913
+ readonly capacity: u64;
914
+ } & Struct;
915
+ readonly isBspSignUpSuccess: boolean;
916
+ readonly asBspSignUpSuccess: {
917
+ readonly who: AccountId20;
918
+ readonly bspId: H256;
919
+ readonly root: H256;
920
+ readonly multiaddresses: Vec<Bytes>;
921
+ readonly capacity: u64;
922
+ } & Struct;
923
+ readonly isSignUpRequestCanceled: boolean;
924
+ readonly asSignUpRequestCanceled: {
925
+ readonly who: AccountId20;
926
+ } & Struct;
927
+ readonly isMspSignOffSuccess: boolean;
928
+ readonly asMspSignOffSuccess: {
929
+ readonly who: AccountId20;
930
+ readonly mspId: H256;
931
+ } & Struct;
932
+ readonly isBspSignOffSuccess: boolean;
933
+ readonly asBspSignOffSuccess: {
934
+ readonly who: AccountId20;
935
+ readonly bspId: H256;
936
+ } & Struct;
937
+ readonly isCapacityChanged: boolean;
938
+ readonly asCapacityChanged: {
939
+ readonly who: AccountId20;
940
+ readonly providerId: PalletStorageProvidersStorageProviderId;
941
+ readonly oldCapacity: u64;
942
+ readonly newCapacity: u64;
943
+ readonly nextBlockWhenChangeAllowed: u32;
944
+ } & Struct;
945
+ readonly isSlashed: boolean;
946
+ readonly asSlashed: {
947
+ readonly providerId: H256;
948
+ readonly amount: u128;
949
+ } & Struct;
950
+ readonly isAwaitingTopUp: boolean;
951
+ readonly asAwaitingTopUp: {
952
+ readonly providerId: H256;
953
+ readonly topUpMetadata: PalletStorageProvidersTopUpMetadata;
954
+ } & Struct;
955
+ readonly isTopUpFulfilled: boolean;
956
+ readonly asTopUpFulfilled: {
957
+ readonly providerId: H256;
958
+ readonly amount: u128;
959
+ } & Struct;
960
+ readonly isFailedToGetOwnerAccountOfInsolventProvider: boolean;
961
+ readonly asFailedToGetOwnerAccountOfInsolventProvider: {
962
+ readonly providerId: H256;
963
+ } & Struct;
964
+ readonly isFailedToSlashInsolventProvider: boolean;
965
+ readonly asFailedToSlashInsolventProvider: {
966
+ readonly providerId: H256;
967
+ readonly amountToSlash: u128;
968
+ readonly error: SpRuntimeDispatchError;
969
+ } & Struct;
970
+ readonly isFailedToStopAllCyclesForInsolventBsp: boolean;
971
+ readonly asFailedToStopAllCyclesForInsolventBsp: {
972
+ readonly providerId: H256;
973
+ readonly error: SpRuntimeDispatchError;
974
+ } & Struct;
975
+ readonly isFailedToInsertProviderTopUpExpiration: boolean;
976
+ readonly asFailedToInsertProviderTopUpExpiration: {
977
+ readonly providerId: H256;
978
+ readonly expirationTick: u32;
979
+ } & Struct;
980
+ readonly isProviderInsolvent: boolean;
981
+ readonly asProviderInsolvent: {
982
+ readonly providerId: H256;
983
+ } & Struct;
984
+ readonly isBucketsOfInsolventMsp: boolean;
985
+ readonly asBucketsOfInsolventMsp: {
986
+ readonly mspId: H256;
987
+ readonly buckets: Vec<H256>;
988
+ } & Struct;
989
+ readonly isBucketRootChanged: boolean;
990
+ readonly asBucketRootChanged: {
991
+ readonly bucketId: H256;
992
+ readonly oldRoot: H256;
993
+ readonly newRoot: H256;
994
+ } & Struct;
995
+ readonly isMultiAddressAdded: boolean;
996
+ readonly asMultiAddressAdded: {
997
+ readonly providerId: H256;
998
+ readonly newMultiaddress: Bytes;
999
+ } & Struct;
1000
+ readonly isMultiAddressRemoved: boolean;
1001
+ readonly asMultiAddressRemoved: {
1002
+ readonly providerId: H256;
1003
+ readonly removedMultiaddress: Bytes;
1004
+ } & Struct;
1005
+ readonly isValuePropAdded: boolean;
1006
+ readonly asValuePropAdded: {
1007
+ readonly mspId: H256;
1008
+ readonly valuePropId: H256;
1009
+ readonly valueProp: PalletStorageProvidersValueProposition;
1010
+ } & Struct;
1011
+ readonly isValuePropUnavailable: boolean;
1012
+ readonly asValuePropUnavailable: {
1013
+ readonly mspId: H256;
1014
+ readonly valuePropId: H256;
1015
+ } & Struct;
1016
+ readonly isMspDeleted: boolean;
1017
+ readonly asMspDeleted: {
1018
+ readonly providerId: H256;
1019
+ } & Struct;
1020
+ readonly isBspDeleted: boolean;
1021
+ readonly asBspDeleted: {
1022
+ readonly providerId: H256;
1023
+ } & Struct;
1024
+ readonly type:
1025
+ | "MspRequestSignUpSuccess"
1026
+ | "MspSignUpSuccess"
1027
+ | "BspRequestSignUpSuccess"
1028
+ | "BspSignUpSuccess"
1029
+ | "SignUpRequestCanceled"
1030
+ | "MspSignOffSuccess"
1031
+ | "BspSignOffSuccess"
1032
+ | "CapacityChanged"
1033
+ | "Slashed"
1034
+ | "AwaitingTopUp"
1035
+ | "TopUpFulfilled"
1036
+ | "FailedToGetOwnerAccountOfInsolventProvider"
1037
+ | "FailedToSlashInsolventProvider"
1038
+ | "FailedToStopAllCyclesForInsolventBsp"
1039
+ | "FailedToInsertProviderTopUpExpiration"
1040
+ | "ProviderInsolvent"
1041
+ | "BucketsOfInsolventMsp"
1042
+ | "BucketRootChanged"
1043
+ | "MultiAddressAdded"
1044
+ | "MultiAddressRemoved"
1045
+ | "ValuePropAdded"
1046
+ | "ValuePropUnavailable"
1047
+ | "MspDeleted"
1048
+ | "BspDeleted";
1049
+ }
1050
+
1051
+ /** @name PalletStorageProvidersValuePropositionWithId (101) */
1052
+ interface PalletStorageProvidersValuePropositionWithId extends Struct {
1053
+ readonly id: H256;
1054
+ readonly valueProp: PalletStorageProvidersValueProposition;
1055
+ }
1056
+
1057
+ /** @name PalletStorageProvidersValueProposition (102) */
1058
+ interface PalletStorageProvidersValueProposition extends Struct {
1059
+ readonly pricePerGigaUnitOfDataPerBlock: u128;
1060
+ readonly commitment: Bytes;
1061
+ readonly bucketDataLimit: u64;
1062
+ readonly available: bool;
1063
+ }
1064
+
1065
+ /** @name PalletStorageProvidersStorageProviderId (104) */
1066
+ interface PalletStorageProvidersStorageProviderId extends Enum {
1067
+ readonly isBackupStorageProvider: boolean;
1068
+ readonly asBackupStorageProvider: H256;
1069
+ readonly isMainStorageProvider: boolean;
1070
+ readonly asMainStorageProvider: H256;
1071
+ readonly type: "BackupStorageProvider" | "MainStorageProvider";
1072
+ }
1073
+
1074
+ /** @name PalletStorageProvidersTopUpMetadata (105) */
1075
+ interface PalletStorageProvidersTopUpMetadata extends Struct {
1076
+ readonly startedAt: u32;
1077
+ readonly endTickGracePeriod: u32;
1078
+ }
1079
+
1080
+ /** @name PalletFileSystemEvent (106) */
1081
+ interface PalletFileSystemEvent extends Enum {
1082
+ readonly isNewBucket: boolean;
1083
+ readonly asNewBucket: {
1084
+ readonly who: AccountId20;
1085
+ readonly mspId: H256;
1086
+ readonly bucketId: H256;
1087
+ readonly name: Bytes;
1088
+ readonly root: H256;
1089
+ readonly collectionId: Option<u32>;
1090
+ readonly private: bool;
1091
+ readonly valuePropId: H256;
1092
+ } & Struct;
1093
+ readonly isBucketDeleted: boolean;
1094
+ readonly asBucketDeleted: {
1095
+ readonly who: AccountId20;
1096
+ readonly bucketId: H256;
1097
+ readonly maybeCollectionId: Option<u32>;
1098
+ } & Struct;
1099
+ readonly isMoveBucketRequested: boolean;
1100
+ readonly asMoveBucketRequested: {
1101
+ readonly who: AccountId20;
1102
+ readonly bucketId: H256;
1103
+ readonly newMspId: H256;
1104
+ readonly newValuePropId: H256;
1105
+ } & Struct;
1106
+ readonly isBucketPrivacyUpdated: boolean;
1107
+ readonly asBucketPrivacyUpdated: {
1108
+ readonly who: AccountId20;
1109
+ readonly bucketId: H256;
1110
+ readonly collectionId: Option<u32>;
1111
+ readonly private: bool;
1112
+ } & Struct;
1113
+ readonly isNewCollectionAndAssociation: boolean;
1114
+ readonly asNewCollectionAndAssociation: {
1115
+ readonly who: AccountId20;
1116
+ readonly bucketId: H256;
1117
+ readonly collectionId: u32;
1118
+ } & Struct;
1119
+ readonly isNewStorageRequest: boolean;
1120
+ readonly asNewStorageRequest: {
1121
+ readonly who: AccountId20;
1122
+ readonly fileKey: H256;
1123
+ readonly bucketId: H256;
1124
+ readonly location: Bytes;
1125
+ readonly fingerprint: H256;
1126
+ readonly size_: u64;
1127
+ readonly peerIds: Vec<Bytes>;
1128
+ readonly expiresAt: u32;
1129
+ } & Struct;
1130
+ readonly isMspAcceptedStorageRequest: boolean;
1131
+ readonly asMspAcceptedStorageRequest: {
1132
+ readonly fileKey: H256;
1133
+ readonly fileMetadata: ShpFileMetadataFileMetadata;
1134
+ } & Struct;
1135
+ readonly isAcceptedBspVolunteer: boolean;
1136
+ readonly asAcceptedBspVolunteer: {
1137
+ readonly bspId: H256;
1138
+ readonly bucketId: H256;
1139
+ readonly location: Bytes;
1140
+ readonly fingerprint: H256;
1141
+ readonly multiaddresses: Vec<Bytes>;
1142
+ readonly owner: AccountId20;
1143
+ readonly size_: u64;
1144
+ } & Struct;
1145
+ readonly isBspConfirmedStoring: boolean;
1146
+ readonly asBspConfirmedStoring: {
1147
+ readonly who: AccountId20;
1148
+ readonly bspId: H256;
1149
+ readonly confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>;
1150
+ readonly skippedFileKeys: Vec<H256>;
1151
+ readonly newRoot: H256;
1152
+ } & Struct;
1153
+ readonly isStorageRequestFulfilled: boolean;
1154
+ readonly asStorageRequestFulfilled: {
1155
+ readonly fileKey: H256;
1156
+ } & Struct;
1157
+ readonly isStorageRequestExpired: boolean;
1158
+ readonly asStorageRequestExpired: {
1159
+ readonly fileKey: H256;
1160
+ } & Struct;
1161
+ readonly isStorageRequestRevoked: boolean;
1162
+ readonly asStorageRequestRevoked: {
1163
+ readonly fileKey: H256;
1164
+ } & Struct;
1165
+ readonly isStorageRequestRejected: boolean;
1166
+ readonly asStorageRequestRejected: {
1167
+ readonly fileKey: H256;
1168
+ readonly reason: PalletFileSystemRejectedStorageRequestReason;
1169
+ } & Struct;
1170
+ readonly isBspRequestedToStopStoring: boolean;
1171
+ readonly asBspRequestedToStopStoring: {
1172
+ readonly bspId: H256;
1173
+ readonly fileKey: H256;
1174
+ readonly owner: AccountId20;
1175
+ readonly location: Bytes;
1176
+ } & Struct;
1177
+ readonly isBspConfirmStoppedStoring: boolean;
1178
+ readonly asBspConfirmStoppedStoring: {
1179
+ readonly bspId: H256;
1180
+ readonly fileKey: H256;
1181
+ readonly newRoot: H256;
1182
+ } & Struct;
1183
+ readonly isPriorityChallengeForFileDeletionQueued: boolean;
1184
+ readonly asPriorityChallengeForFileDeletionQueued: {
1185
+ readonly issuer: PalletFileSystemEitherAccountIdOrMspId;
1186
+ readonly fileKey: H256;
1187
+ } & Struct;
1188
+ readonly isSpStopStoringInsolventUser: boolean;
1189
+ readonly asSpStopStoringInsolventUser: {
1190
+ readonly spId: H256;
1191
+ readonly fileKey: H256;
1192
+ readonly owner: AccountId20;
1193
+ readonly location: Bytes;
1194
+ readonly newRoot: H256;
1195
+ } & Struct;
1196
+ readonly isMspStopStoringBucketInsolventUser: boolean;
1197
+ readonly asMspStopStoringBucketInsolventUser: {
1198
+ readonly mspId: H256;
1199
+ readonly owner: AccountId20;
1200
+ readonly bucketId: H256;
1201
+ } & Struct;
1202
+ readonly isFailedToQueuePriorityChallenge: boolean;
1203
+ readonly asFailedToQueuePriorityChallenge: {
1204
+ readonly fileKey: H256;
1205
+ readonly error: SpRuntimeDispatchError;
1206
+ } & Struct;
1207
+ readonly isFileDeletionRequest: boolean;
1208
+ readonly asFileDeletionRequest: {
1209
+ readonly user: AccountId20;
1210
+ readonly fileKey: H256;
1211
+ readonly fileSize: u64;
1212
+ readonly bucketId: H256;
1213
+ readonly mspId: H256;
1214
+ readonly proofOfInclusion: bool;
1215
+ } & Struct;
1216
+ readonly isProofSubmittedForPendingFileDeletionRequest: boolean;
1217
+ readonly asProofSubmittedForPendingFileDeletionRequest: {
1218
+ readonly user: AccountId20;
1219
+ readonly fileKey: H256;
1220
+ readonly fileSize: u64;
1221
+ readonly bucketId: H256;
1222
+ readonly mspId: H256;
1223
+ readonly proofOfInclusion: bool;
1224
+ } & Struct;
1225
+ readonly isBspChallengeCycleInitialised: boolean;
1226
+ readonly asBspChallengeCycleInitialised: {
1227
+ readonly who: AccountId20;
1228
+ readonly bspId: H256;
1229
+ } & Struct;
1230
+ readonly isMoveBucketRequestExpired: boolean;
1231
+ readonly asMoveBucketRequestExpired: {
1232
+ readonly bucketId: H256;
1233
+ } & Struct;
1234
+ readonly isMoveBucketAccepted: boolean;
1235
+ readonly asMoveBucketAccepted: {
1236
+ readonly bucketId: H256;
1237
+ readonly oldMspId: Option<H256>;
1238
+ readonly newMspId: H256;
1239
+ readonly valuePropId: H256;
1240
+ } & Struct;
1241
+ readonly isMoveBucketRejected: boolean;
1242
+ readonly asMoveBucketRejected: {
1243
+ readonly bucketId: H256;
1244
+ readonly oldMspId: Option<H256>;
1245
+ readonly newMspId: H256;
1246
+ } & Struct;
1247
+ readonly isMspStoppedStoringBucket: boolean;
1248
+ readonly asMspStoppedStoringBucket: {
1249
+ readonly mspId: H256;
1250
+ readonly owner: AccountId20;
1251
+ readonly bucketId: H256;
1252
+ } & Struct;
1253
+ readonly isFailedToGetMspOfBucket: boolean;
1254
+ readonly asFailedToGetMspOfBucket: {
1255
+ readonly bucketId: H256;
1256
+ readonly error: SpRuntimeDispatchError;
1257
+ } & Struct;
1258
+ readonly isFailedToDecreaseMspUsedCapacity: boolean;
1259
+ readonly asFailedToDecreaseMspUsedCapacity: {
1260
+ readonly user: AccountId20;
1261
+ readonly mspId: H256;
1262
+ readonly fileKey: H256;
1263
+ readonly fileSize: u64;
1264
+ readonly error: SpRuntimeDispatchError;
1265
+ } & Struct;
1266
+ readonly isUsedCapacityShouldBeZero: boolean;
1267
+ readonly asUsedCapacityShouldBeZero: {
1268
+ readonly actualUsedCapacity: u64;
1269
+ } & Struct;
1270
+ readonly isFailedToReleaseStorageRequestCreationDeposit: boolean;
1271
+ readonly asFailedToReleaseStorageRequestCreationDeposit: {
1272
+ readonly fileKey: H256;
1273
+ readonly owner: AccountId20;
1274
+ readonly amountToReturn: u128;
1275
+ readonly error: SpRuntimeDispatchError;
1276
+ } & Struct;
1277
+ readonly isFailedToTransferDepositFundsToBsp: boolean;
1278
+ readonly asFailedToTransferDepositFundsToBsp: {
1279
+ readonly fileKey: H256;
1280
+ readonly owner: AccountId20;
1281
+ readonly bspId: H256;
1282
+ readonly amountToTransfer: u128;
1283
+ readonly error: SpRuntimeDispatchError;
1284
+ } & Struct;
1285
+ readonly isFileDeletionRequested: boolean;
1286
+ readonly asFileDeletionRequested: {
1287
+ readonly signedDeleteIntention: PalletFileSystemFileOperationIntention;
1288
+ readonly signature: FpAccountEthereumSignature;
1289
+ } & Struct;
1290
+ readonly isBucketFileDeletionCompleted: boolean;
1291
+ readonly asBucketFileDeletionCompleted: {
1292
+ readonly user: AccountId20;
1293
+ readonly fileKey: H256;
1294
+ readonly fileSize: u64;
1295
+ readonly bucketId: H256;
1296
+ readonly mspId: Option<H256>;
1297
+ readonly oldRoot: H256;
1298
+ readonly newRoot: H256;
1299
+ } & Struct;
1300
+ readonly isBspFileDeletionCompleted: boolean;
1301
+ readonly asBspFileDeletionCompleted: {
1302
+ readonly user: AccountId20;
1303
+ readonly fileKey: H256;
1304
+ readonly fileSize: u64;
1305
+ readonly bspId: H256;
1306
+ readonly oldRoot: H256;
1307
+ readonly newRoot: H256;
1308
+ } & Struct;
1309
+ readonly isFileDeletedFromIncompleteStorageRequest: boolean;
1310
+ readonly asFileDeletedFromIncompleteStorageRequest: {
1311
+ readonly fileKey: H256;
1312
+ readonly bspId: Option<H256>;
1313
+ } & Struct;
1314
+ readonly isIncompleteStorageRequest: boolean;
1315
+ readonly asIncompleteStorageRequest: {
1316
+ readonly fileKey: H256;
1317
+ } & Struct;
1318
+ readonly type:
1319
+ | "NewBucket"
1320
+ | "BucketDeleted"
1321
+ | "MoveBucketRequested"
1322
+ | "BucketPrivacyUpdated"
1323
+ | "NewCollectionAndAssociation"
1324
+ | "NewStorageRequest"
1325
+ | "MspAcceptedStorageRequest"
1326
+ | "AcceptedBspVolunteer"
1327
+ | "BspConfirmedStoring"
1328
+ | "StorageRequestFulfilled"
1329
+ | "StorageRequestExpired"
1330
+ | "StorageRequestRevoked"
1331
+ | "StorageRequestRejected"
1332
+ | "BspRequestedToStopStoring"
1333
+ | "BspConfirmStoppedStoring"
1334
+ | "PriorityChallengeForFileDeletionQueued"
1335
+ | "SpStopStoringInsolventUser"
1336
+ | "MspStopStoringBucketInsolventUser"
1337
+ | "FailedToQueuePriorityChallenge"
1338
+ | "FileDeletionRequest"
1339
+ | "ProofSubmittedForPendingFileDeletionRequest"
1340
+ | "BspChallengeCycleInitialised"
1341
+ | "MoveBucketRequestExpired"
1342
+ | "MoveBucketAccepted"
1343
+ | "MoveBucketRejected"
1344
+ | "MspStoppedStoringBucket"
1345
+ | "FailedToGetMspOfBucket"
1346
+ | "FailedToDecreaseMspUsedCapacity"
1347
+ | "UsedCapacityShouldBeZero"
1348
+ | "FailedToReleaseStorageRequestCreationDeposit"
1349
+ | "FailedToTransferDepositFundsToBsp"
1350
+ | "FileDeletionRequested"
1351
+ | "BucketFileDeletionCompleted"
1352
+ | "BspFileDeletionCompleted"
1353
+ | "FileDeletedFromIncompleteStorageRequest"
1354
+ | "IncompleteStorageRequest";
1355
+ }
1356
+
1357
+ /** @name ShpFileMetadataFileMetadata (109) */
1358
+ interface ShpFileMetadataFileMetadata extends Struct {
1359
+ readonly owner: Bytes;
1360
+ readonly bucketId: Bytes;
1361
+ readonly location: Bytes;
1362
+ readonly fileSize: Compact<u64>;
1363
+ readonly fingerprint: ShpFileMetadataFingerprint;
1364
+ }
1365
+
1366
+ /** @name ShpFileMetadataFingerprint (110) */
1367
+ interface ShpFileMetadataFingerprint extends U8aFixed {}
1368
+
1369
+ /** @name PalletFileSystemRejectedStorageRequestReason (115) */
1370
+ interface PalletFileSystemRejectedStorageRequestReason extends Enum {
1371
+ readonly isReachedMaximumCapacity: boolean;
1372
+ readonly isReceivedInvalidProof: boolean;
1373
+ readonly isFileKeyAlreadyStored: boolean;
1374
+ readonly isRequestExpired: boolean;
1375
+ readonly isInternalError: boolean;
1376
+ readonly type:
1377
+ | "ReachedMaximumCapacity"
1378
+ | "ReceivedInvalidProof"
1379
+ | "FileKeyAlreadyStored"
1380
+ | "RequestExpired"
1381
+ | "InternalError";
1382
+ }
1383
+
1384
+ /** @name PalletFileSystemEitherAccountIdOrMspId (116) */
1385
+ interface PalletFileSystemEitherAccountIdOrMspId extends Enum {
1386
+ readonly isAccountId: boolean;
1387
+ readonly asAccountId: AccountId20;
1388
+ readonly isMspId: boolean;
1389
+ readonly asMspId: H256;
1390
+ readonly type: "AccountId" | "MspId";
1391
+ }
1392
+
1393
+ /** @name PalletFileSystemFileOperationIntention (118) */
1394
+ interface PalletFileSystemFileOperationIntention extends Struct {
1395
+ readonly fileKey: H256;
1396
+ readonly operation: PalletFileSystemFileOperation;
1397
+ }
1398
+
1399
+ /** @name PalletFileSystemFileOperation (119) */
1400
+ interface PalletFileSystemFileOperation extends Enum {
1401
+ readonly isDelete: boolean;
1402
+ readonly type: "Delete";
1403
+ }
1404
+
1405
+ /** @name FpAccountEthereumSignature (120) */
1406
+ interface FpAccountEthereumSignature extends U8aFixed {}
1407
+
1408
+ /** @name PalletProofsDealerEvent (122) */
1409
+ interface PalletProofsDealerEvent extends Enum {
1410
+ readonly isNewChallenge: boolean;
1411
+ readonly asNewChallenge: {
1412
+ readonly who: Option<AccountId20>;
1413
+ readonly keyChallenged: H256;
1414
+ } & Struct;
1415
+ readonly isNewPriorityChallenge: boolean;
1416
+ readonly asNewPriorityChallenge: {
1417
+ readonly who: Option<AccountId20>;
1418
+ readonly keyChallenged: H256;
1419
+ readonly shouldRemoveKey: bool;
1420
+ } & Struct;
1421
+ readonly isProofAccepted: boolean;
1422
+ readonly asProofAccepted: {
1423
+ readonly providerId: H256;
1424
+ readonly proof: PalletProofsDealerProof;
1425
+ readonly lastTickProven: u32;
1426
+ } & Struct;
1427
+ readonly isNewChallengeSeed: boolean;
1428
+ readonly asNewChallengeSeed: {
1429
+ readonly challengesTicker: u32;
1430
+ readonly seed: H256;
1431
+ } & Struct;
1432
+ readonly isNewCheckpointChallenge: boolean;
1433
+ readonly asNewCheckpointChallenge: {
1434
+ readonly challengesTicker: u32;
1435
+ readonly challenges: Vec<PalletProofsDealerCustomChallenge>;
1436
+ } & Struct;
1437
+ readonly isSlashableProvider: boolean;
1438
+ readonly asSlashableProvider: {
1439
+ readonly provider: H256;
1440
+ readonly nextChallengeDeadline: u32;
1441
+ } & Struct;
1442
+ readonly isNoRecordOfLastSubmittedProof: boolean;
1443
+ readonly asNoRecordOfLastSubmittedProof: {
1444
+ readonly provider: H256;
1445
+ } & Struct;
1446
+ readonly isNewChallengeCycleInitialised: boolean;
1447
+ readonly asNewChallengeCycleInitialised: {
1448
+ readonly currentTick: u32;
1449
+ readonly nextChallengeDeadline: u32;
1450
+ readonly provider: H256;
1451
+ readonly maybeProviderAccount: Option<AccountId20>;
1452
+ } & Struct;
1453
+ readonly isMutationsAppliedForProvider: boolean;
1454
+ readonly asMutationsAppliedForProvider: {
1455
+ readonly providerId: H256;
1456
+ readonly mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1457
+ readonly oldRoot: H256;
1458
+ readonly newRoot: H256;
1459
+ } & Struct;
1460
+ readonly isMutationsApplied: boolean;
1461
+ readonly asMutationsApplied: {
1462
+ readonly mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1463
+ readonly oldRoot: H256;
1464
+ readonly newRoot: H256;
1465
+ readonly eventInfo: Option<Bytes>;
1466
+ } & Struct;
1467
+ readonly isChallengesTickerSet: boolean;
1468
+ readonly asChallengesTickerSet: {
1469
+ readonly paused: bool;
1470
+ } & Struct;
1471
+ readonly type:
1472
+ | "NewChallenge"
1473
+ | "NewPriorityChallenge"
1474
+ | "ProofAccepted"
1475
+ | "NewChallengeSeed"
1476
+ | "NewCheckpointChallenge"
1477
+ | "SlashableProvider"
1478
+ | "NoRecordOfLastSubmittedProof"
1479
+ | "NewChallengeCycleInitialised"
1480
+ | "MutationsAppliedForProvider"
1481
+ | "MutationsApplied"
1482
+ | "ChallengesTickerSet";
1483
+ }
1484
+
1485
+ /** @name PalletProofsDealerProof (123) */
1486
+ interface PalletProofsDealerProof extends Struct {
1487
+ readonly forestProof: SpTrieStorageProofCompactProof;
1488
+ readonly keyProofs: BTreeMap<H256, PalletProofsDealerKeyProof>;
1489
+ }
1490
+
1491
+ /** @name SpTrieStorageProofCompactProof (124) */
1492
+ interface SpTrieStorageProofCompactProof extends Struct {
1493
+ readonly encodedNodes: Vec<Bytes>;
1494
+ }
1495
+
1496
+ /** @name PalletProofsDealerKeyProof (127) */
1497
+ interface PalletProofsDealerKeyProof extends Struct {
1498
+ readonly proof: ShpFileKeyVerifierFileKeyProof;
1499
+ readonly challengeCount: u32;
1500
+ }
1501
+
1502
+ /** @name ShpFileKeyVerifierFileKeyProof (128) */
1503
+ interface ShpFileKeyVerifierFileKeyProof extends Struct {
1504
+ readonly fileMetadata: ShpFileMetadataFileMetadata;
1505
+ readonly proof: SpTrieStorageProofCompactProof;
1506
+ }
1507
+
1508
+ /** @name PalletProofsDealerCustomChallenge (132) */
1509
+ interface PalletProofsDealerCustomChallenge extends Struct {
1510
+ readonly key: H256;
1511
+ readonly shouldRemoveKey: bool;
1512
+ }
1513
+
1514
+ /** @name ShpTraitsTrieMutation (136) */
1515
+ interface ShpTraitsTrieMutation extends Enum {
1516
+ readonly isAdd: boolean;
1517
+ readonly asAdd: ShpTraitsTrieAddMutation;
1518
+ readonly isRemove: boolean;
1519
+ readonly asRemove: ShpTraitsTrieRemoveMutation;
1520
+ readonly type: "Add" | "Remove";
1521
+ }
1522
+
1523
+ /** @name ShpTraitsTrieAddMutation (137) */
1524
+ interface ShpTraitsTrieAddMutation extends Struct {
1525
+ readonly value: Bytes;
1526
+ }
1527
+
1528
+ /** @name ShpTraitsTrieRemoveMutation (138) */
1529
+ interface ShpTraitsTrieRemoveMutation extends Struct {
1530
+ readonly maybeValue: Option<Bytes>;
1531
+ }
1532
+
1533
+ /** @name PalletRandomnessEvent (140) */
1534
+ interface PalletRandomnessEvent extends Enum {
1535
+ readonly isNewOneEpochAgoRandomnessAvailable: boolean;
1536
+ readonly asNewOneEpochAgoRandomnessAvailable: {
1537
+ readonly randomnessSeed: H256;
1538
+ readonly fromEpoch: u64;
1539
+ readonly validUntilBlock: u32;
1540
+ } & Struct;
1541
+ readonly type: "NewOneEpochAgoRandomnessAvailable";
1542
+ }
1543
+
1544
+ /** @name PalletPaymentStreamsEvent (141) */
1545
+ interface PalletPaymentStreamsEvent extends Enum {
1546
+ readonly isFixedRatePaymentStreamCreated: boolean;
1547
+ readonly asFixedRatePaymentStreamCreated: {
1548
+ readonly userAccount: AccountId20;
1549
+ readonly providerId: H256;
1550
+ readonly rate: u128;
1551
+ } & Struct;
1552
+ readonly isFixedRatePaymentStreamUpdated: boolean;
1553
+ readonly asFixedRatePaymentStreamUpdated: {
1554
+ readonly userAccount: AccountId20;
1555
+ readonly providerId: H256;
1556
+ readonly newRate: u128;
1557
+ } & Struct;
1558
+ readonly isFixedRatePaymentStreamDeleted: boolean;
1559
+ readonly asFixedRatePaymentStreamDeleted: {
1560
+ readonly userAccount: AccountId20;
1561
+ readonly providerId: H256;
1562
+ } & Struct;
1563
+ readonly isDynamicRatePaymentStreamCreated: boolean;
1564
+ readonly asDynamicRatePaymentStreamCreated: {
1565
+ readonly userAccount: AccountId20;
1566
+ readonly providerId: H256;
1567
+ readonly amountProvided: u64;
1568
+ } & Struct;
1569
+ readonly isDynamicRatePaymentStreamUpdated: boolean;
1570
+ readonly asDynamicRatePaymentStreamUpdated: {
1571
+ readonly userAccount: AccountId20;
1572
+ readonly providerId: H256;
1573
+ readonly newAmountProvided: u64;
1574
+ } & Struct;
1575
+ readonly isDynamicRatePaymentStreamDeleted: boolean;
1576
+ readonly asDynamicRatePaymentStreamDeleted: {
1577
+ readonly userAccount: AccountId20;
1578
+ readonly providerId: H256;
1579
+ } & Struct;
1580
+ readonly isPaymentStreamCharged: boolean;
1581
+ readonly asPaymentStreamCharged: {
1582
+ readonly userAccount: AccountId20;
1583
+ readonly providerId: H256;
1584
+ readonly amount: u128;
1585
+ readonly lastTickCharged: u32;
1586
+ readonly chargedAtTick: u32;
1587
+ } & Struct;
1588
+ readonly isUsersCharged: boolean;
1589
+ readonly asUsersCharged: {
1590
+ readonly userAccounts: Vec<AccountId20>;
1591
+ readonly providerId: H256;
1592
+ readonly chargedAtTick: u32;
1593
+ } & Struct;
1594
+ readonly isLastChargeableInfoUpdated: boolean;
1595
+ readonly asLastChargeableInfoUpdated: {
1596
+ readonly providerId: H256;
1597
+ readonly lastChargeableTick: u32;
1598
+ readonly lastChargeablePriceIndex: u128;
1599
+ } & Struct;
1600
+ readonly isUserWithoutFunds: boolean;
1601
+ readonly asUserWithoutFunds: {
1602
+ readonly who: AccountId20;
1603
+ } & Struct;
1604
+ readonly isUserPaidAllDebts: boolean;
1605
+ readonly asUserPaidAllDebts: {
1606
+ readonly who: AccountId20;
1607
+ } & Struct;
1608
+ readonly isUserPaidSomeDebts: boolean;
1609
+ readonly asUserPaidSomeDebts: {
1610
+ readonly who: AccountId20;
1611
+ } & Struct;
1612
+ readonly isUserSolvent: boolean;
1613
+ readonly asUserSolvent: {
1614
+ readonly who: AccountId20;
1615
+ } & Struct;
1616
+ readonly isInconsistentTickProcessing: boolean;
1617
+ readonly asInconsistentTickProcessing: {
1618
+ readonly lastProcessedTick: u32;
1619
+ readonly tickToProcess: u32;
1620
+ } & Struct;
1621
+ readonly type:
1622
+ | "FixedRatePaymentStreamCreated"
1623
+ | "FixedRatePaymentStreamUpdated"
1624
+ | "FixedRatePaymentStreamDeleted"
1625
+ | "DynamicRatePaymentStreamCreated"
1626
+ | "DynamicRatePaymentStreamUpdated"
1627
+ | "DynamicRatePaymentStreamDeleted"
1628
+ | "PaymentStreamCharged"
1629
+ | "UsersCharged"
1630
+ | "LastChargeableInfoUpdated"
1631
+ | "UserWithoutFunds"
1632
+ | "UserPaidAllDebts"
1633
+ | "UserPaidSomeDebts"
1634
+ | "UserSolvent"
1635
+ | "InconsistentTickProcessing";
1636
+ }
1637
+
1638
+ /** @name PalletBucketNftsEvent (144) */
1639
+ interface PalletBucketNftsEvent extends Enum {
1640
+ readonly isAccessShared: boolean;
1641
+ readonly asAccessShared: {
1642
+ readonly issuer: AccountId20;
1643
+ readonly recipient: AccountId20;
1644
+ } & Struct;
1645
+ readonly isItemReadAccessUpdated: boolean;
1646
+ readonly asItemReadAccessUpdated: {
1647
+ readonly admin: AccountId20;
1648
+ readonly bucket: H256;
1649
+ readonly itemId: u32;
1650
+ } & Struct;
1651
+ readonly isItemBurned: boolean;
1652
+ readonly asItemBurned: {
1653
+ readonly account: AccountId20;
1654
+ readonly bucket: H256;
1655
+ readonly itemId: u32;
1656
+ } & Struct;
1657
+ readonly type: "AccessShared" | "ItemReadAccessUpdated" | "ItemBurned";
1658
+ }
1659
+
1660
+ /** @name PalletNftsEvent (145) */
1661
+ interface PalletNftsEvent extends Enum {
1662
+ readonly isCreated: boolean;
1663
+ readonly asCreated: {
1664
+ readonly collection: u32;
1665
+ readonly creator: AccountId20;
1666
+ readonly owner: AccountId20;
1667
+ } & Struct;
1668
+ readonly isForceCreated: boolean;
1669
+ readonly asForceCreated: {
1670
+ readonly collection: u32;
1671
+ readonly owner: AccountId20;
1672
+ } & Struct;
1673
+ readonly isDestroyed: boolean;
1674
+ readonly asDestroyed: {
1675
+ readonly collection: u32;
1676
+ } & Struct;
1677
+ readonly isIssued: boolean;
1678
+ readonly asIssued: {
1679
+ readonly collection: u32;
1680
+ readonly item: u32;
1681
+ readonly owner: AccountId20;
1682
+ } & Struct;
1683
+ readonly isTransferred: boolean;
1684
+ readonly asTransferred: {
1685
+ readonly collection: u32;
1686
+ readonly item: u32;
1687
+ readonly from: AccountId20;
1688
+ readonly to: AccountId20;
1689
+ } & Struct;
1690
+ readonly isBurned: boolean;
1691
+ readonly asBurned: {
1692
+ readonly collection: u32;
1693
+ readonly item: u32;
1694
+ readonly owner: AccountId20;
1695
+ } & Struct;
1696
+ readonly isItemTransferLocked: boolean;
1697
+ readonly asItemTransferLocked: {
1698
+ readonly collection: u32;
1699
+ readonly item: u32;
1700
+ } & Struct;
1701
+ readonly isItemTransferUnlocked: boolean;
1702
+ readonly asItemTransferUnlocked: {
1703
+ readonly collection: u32;
1704
+ readonly item: u32;
1705
+ } & Struct;
1706
+ readonly isItemPropertiesLocked: boolean;
1707
+ readonly asItemPropertiesLocked: {
1708
+ readonly collection: u32;
1709
+ readonly item: u32;
1710
+ readonly lockMetadata: bool;
1711
+ readonly lockAttributes: bool;
1712
+ } & Struct;
1713
+ readonly isCollectionLocked: boolean;
1714
+ readonly asCollectionLocked: {
1715
+ readonly collection: u32;
1716
+ } & Struct;
1717
+ readonly isOwnerChanged: boolean;
1718
+ readonly asOwnerChanged: {
1719
+ readonly collection: u32;
1720
+ readonly newOwner: AccountId20;
1721
+ } & Struct;
1722
+ readonly isTeamChanged: boolean;
1723
+ readonly asTeamChanged: {
1724
+ readonly collection: u32;
1725
+ readonly issuer: Option<AccountId20>;
1726
+ readonly admin: Option<AccountId20>;
1727
+ readonly freezer: Option<AccountId20>;
1728
+ } & Struct;
1729
+ readonly isTransferApproved: boolean;
1730
+ readonly asTransferApproved: {
1731
+ readonly collection: u32;
1732
+ readonly item: u32;
1733
+ readonly owner: AccountId20;
1734
+ readonly delegate: AccountId20;
1735
+ readonly deadline: Option<u32>;
1736
+ } & Struct;
1737
+ readonly isApprovalCancelled: boolean;
1738
+ readonly asApprovalCancelled: {
1739
+ readonly collection: u32;
1740
+ readonly item: u32;
1741
+ readonly owner: AccountId20;
1742
+ readonly delegate: AccountId20;
1743
+ } & Struct;
1744
+ readonly isAllApprovalsCancelled: boolean;
1745
+ readonly asAllApprovalsCancelled: {
1746
+ readonly collection: u32;
1747
+ readonly item: u32;
1748
+ readonly owner: AccountId20;
1749
+ } & Struct;
1750
+ readonly isCollectionConfigChanged: boolean;
1751
+ readonly asCollectionConfigChanged: {
1752
+ readonly collection: u32;
1753
+ } & Struct;
1754
+ readonly isCollectionMetadataSet: boolean;
1755
+ readonly asCollectionMetadataSet: {
1756
+ readonly collection: u32;
1757
+ readonly data: Bytes;
1758
+ } & Struct;
1759
+ readonly isCollectionMetadataCleared: boolean;
1760
+ readonly asCollectionMetadataCleared: {
1761
+ readonly collection: u32;
1762
+ } & Struct;
1763
+ readonly isItemMetadataSet: boolean;
1764
+ readonly asItemMetadataSet: {
1765
+ readonly collection: u32;
1766
+ readonly item: u32;
1767
+ readonly data: Bytes;
1768
+ } & Struct;
1769
+ readonly isItemMetadataCleared: boolean;
1770
+ readonly asItemMetadataCleared: {
1771
+ readonly collection: u32;
1772
+ readonly item: u32;
1773
+ } & Struct;
1774
+ readonly isRedeposited: boolean;
1775
+ readonly asRedeposited: {
1776
+ readonly collection: u32;
1777
+ readonly successfulItems: Vec<u32>;
1778
+ } & Struct;
1779
+ readonly isAttributeSet: boolean;
1780
+ readonly asAttributeSet: {
1781
+ readonly collection: u32;
1782
+ readonly maybeItem: Option<u32>;
1783
+ readonly key: Bytes;
1784
+ readonly value: Bytes;
1785
+ readonly namespace: PalletNftsAttributeNamespace;
1786
+ } & Struct;
1787
+ readonly isAttributeCleared: boolean;
1788
+ readonly asAttributeCleared: {
1789
+ readonly collection: u32;
1790
+ readonly maybeItem: Option<u32>;
1791
+ readonly key: Bytes;
1792
+ readonly namespace: PalletNftsAttributeNamespace;
1793
+ } & Struct;
1794
+ readonly isItemAttributesApprovalAdded: boolean;
1795
+ readonly asItemAttributesApprovalAdded: {
1796
+ readonly collection: u32;
1797
+ readonly item: u32;
1798
+ readonly delegate: AccountId20;
1799
+ } & Struct;
1800
+ readonly isItemAttributesApprovalRemoved: boolean;
1801
+ readonly asItemAttributesApprovalRemoved: {
1802
+ readonly collection: u32;
1803
+ readonly item: u32;
1804
+ readonly delegate: AccountId20;
1805
+ } & Struct;
1806
+ readonly isOwnershipAcceptanceChanged: boolean;
1807
+ readonly asOwnershipAcceptanceChanged: {
1808
+ readonly who: AccountId20;
1809
+ readonly maybeCollection: Option<u32>;
1810
+ } & Struct;
1811
+ readonly isCollectionMaxSupplySet: boolean;
1812
+ readonly asCollectionMaxSupplySet: {
1813
+ readonly collection: u32;
1814
+ readonly maxSupply: u32;
1815
+ } & Struct;
1816
+ readonly isCollectionMintSettingsUpdated: boolean;
1817
+ readonly asCollectionMintSettingsUpdated: {
1818
+ readonly collection: u32;
1819
+ } & Struct;
1820
+ readonly isNextCollectionIdIncremented: boolean;
1821
+ readonly asNextCollectionIdIncremented: {
1822
+ readonly nextId: Option<u32>;
1823
+ } & Struct;
1824
+ readonly isItemPriceSet: boolean;
1825
+ readonly asItemPriceSet: {
1826
+ readonly collection: u32;
1827
+ readonly item: u32;
1828
+ readonly price: u128;
1829
+ readonly whitelistedBuyer: Option<AccountId20>;
1830
+ } & Struct;
1831
+ readonly isItemPriceRemoved: boolean;
1832
+ readonly asItemPriceRemoved: {
1833
+ readonly collection: u32;
1834
+ readonly item: u32;
1835
+ } & Struct;
1836
+ readonly isItemBought: boolean;
1837
+ readonly asItemBought: {
1838
+ readonly collection: u32;
1839
+ readonly item: u32;
1840
+ readonly price: u128;
1841
+ readonly seller: AccountId20;
1842
+ readonly buyer: AccountId20;
1843
+ } & Struct;
1844
+ readonly isTipSent: boolean;
1845
+ readonly asTipSent: {
1846
+ readonly collection: u32;
1847
+ readonly item: u32;
1848
+ readonly sender: AccountId20;
1849
+ readonly receiver: AccountId20;
1850
+ readonly amount: u128;
1851
+ } & Struct;
1852
+ readonly isSwapCreated: boolean;
1853
+ readonly asSwapCreated: {
1854
+ readonly offeredCollection: u32;
1855
+ readonly offeredItem: u32;
1856
+ readonly desiredCollection: u32;
1857
+ readonly desiredItem: Option<u32>;
1858
+ readonly price: Option<PalletNftsPriceWithDirection>;
1859
+ readonly deadline: u32;
1860
+ } & Struct;
1861
+ readonly isSwapCancelled: boolean;
1862
+ readonly asSwapCancelled: {
1863
+ readonly offeredCollection: u32;
1864
+ readonly offeredItem: u32;
1865
+ readonly desiredCollection: u32;
1866
+ readonly desiredItem: Option<u32>;
1867
+ readonly price: Option<PalletNftsPriceWithDirection>;
1868
+ readonly deadline: u32;
1869
+ } & Struct;
1870
+ readonly isSwapClaimed: boolean;
1871
+ readonly asSwapClaimed: {
1872
+ readonly sentCollection: u32;
1873
+ readonly sentItem: u32;
1874
+ readonly sentItemOwner: AccountId20;
1875
+ readonly receivedCollection: u32;
1876
+ readonly receivedItem: u32;
1877
+ readonly receivedItemOwner: AccountId20;
1878
+ readonly price: Option<PalletNftsPriceWithDirection>;
1879
+ readonly deadline: u32;
1880
+ } & Struct;
1881
+ readonly isPreSignedAttributesSet: boolean;
1882
+ readonly asPreSignedAttributesSet: {
1883
+ readonly collection: u32;
1884
+ readonly item: u32;
1885
+ readonly namespace: PalletNftsAttributeNamespace;
1886
+ } & Struct;
1887
+ readonly isPalletAttributeSet: boolean;
1888
+ readonly asPalletAttributeSet: {
1889
+ readonly collection: u32;
1890
+ readonly item: Option<u32>;
1891
+ readonly attribute: PalletNftsPalletAttributes;
1892
+ readonly value: Bytes;
1893
+ } & Struct;
1894
+ readonly type:
1895
+ | "Created"
1896
+ | "ForceCreated"
1897
+ | "Destroyed"
1898
+ | "Issued"
1899
+ | "Transferred"
1900
+ | "Burned"
1901
+ | "ItemTransferLocked"
1902
+ | "ItemTransferUnlocked"
1903
+ | "ItemPropertiesLocked"
1904
+ | "CollectionLocked"
1905
+ | "OwnerChanged"
1906
+ | "TeamChanged"
1907
+ | "TransferApproved"
1908
+ | "ApprovalCancelled"
1909
+ | "AllApprovalsCancelled"
1910
+ | "CollectionConfigChanged"
1911
+ | "CollectionMetadataSet"
1912
+ | "CollectionMetadataCleared"
1913
+ | "ItemMetadataSet"
1914
+ | "ItemMetadataCleared"
1915
+ | "Redeposited"
1916
+ | "AttributeSet"
1917
+ | "AttributeCleared"
1918
+ | "ItemAttributesApprovalAdded"
1919
+ | "ItemAttributesApprovalRemoved"
1920
+ | "OwnershipAcceptanceChanged"
1921
+ | "CollectionMaxSupplySet"
1922
+ | "CollectionMintSettingsUpdated"
1923
+ | "NextCollectionIdIncremented"
1924
+ | "ItemPriceSet"
1925
+ | "ItemPriceRemoved"
1926
+ | "ItemBought"
1927
+ | "TipSent"
1928
+ | "SwapCreated"
1929
+ | "SwapCancelled"
1930
+ | "SwapClaimed"
1931
+ | "PreSignedAttributesSet"
1932
+ | "PalletAttributeSet";
1933
+ }
1934
+
1935
+ /** @name PalletNftsAttributeNamespace (149) */
1936
+ interface PalletNftsAttributeNamespace extends Enum {
1937
+ readonly isPallet: boolean;
1938
+ readonly isCollectionOwner: boolean;
1939
+ readonly isItemOwner: boolean;
1940
+ readonly isAccount: boolean;
1941
+ readonly asAccount: AccountId20;
1942
+ readonly type: "Pallet" | "CollectionOwner" | "ItemOwner" | "Account";
1943
+ }
1944
+
1945
+ /** @name PalletNftsPriceWithDirection (151) */
1946
+ interface PalletNftsPriceWithDirection extends Struct {
1947
+ readonly amount: u128;
1948
+ readonly direction: PalletNftsPriceDirection;
1949
+ }
1950
+
1951
+ /** @name PalletNftsPriceDirection (152) */
1952
+ interface PalletNftsPriceDirection extends Enum {
1953
+ readonly isSend: boolean;
1954
+ readonly isReceive: boolean;
1955
+ readonly type: "Send" | "Receive";
1956
+ }
1957
+
1958
+ /** @name PalletNftsPalletAttributes (153) */
1959
+ interface PalletNftsPalletAttributes extends Enum {
1960
+ readonly isUsedToClaim: boolean;
1961
+ readonly asUsedToClaim: u32;
1962
+ readonly isTransferDisabled: boolean;
1963
+ readonly type: "UsedToClaim" | "TransferDisabled";
1964
+ }
1965
+
1966
+ /** @name FrameSystemPhase (154) */
1967
+ interface FrameSystemPhase extends Enum {
1968
+ readonly isApplyExtrinsic: boolean;
1969
+ readonly asApplyExtrinsic: u32;
1970
+ readonly isFinalization: boolean;
1971
+ readonly isInitialization: boolean;
1972
+ readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization";
1973
+ }
1974
+
1975
+ /** @name FrameSystemLastRuntimeUpgradeInfo (157) */
1976
+ interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
1977
+ readonly specVersion: Compact<u32>;
1978
+ readonly specName: Text;
1979
+ }
1980
+
1981
+ /** @name FrameSystemCodeUpgradeAuthorization (159) */
1982
+ interface FrameSystemCodeUpgradeAuthorization extends Struct {
1983
+ readonly codeHash: H256;
1984
+ readonly checkVersion: bool;
1985
+ }
1986
+
1987
+ /** @name FrameSystemCall (160) */
1988
+ interface FrameSystemCall extends Enum {
1989
+ readonly isRemark: boolean;
1990
+ readonly asRemark: {
1991
+ readonly remark: Bytes;
1992
+ } & Struct;
1993
+ readonly isSetHeapPages: boolean;
1994
+ readonly asSetHeapPages: {
1995
+ readonly pages: u64;
1996
+ } & Struct;
1997
+ readonly isSetCode: boolean;
1998
+ readonly asSetCode: {
1999
+ readonly code: Bytes;
2000
+ } & Struct;
2001
+ readonly isSetCodeWithoutChecks: boolean;
2002
+ readonly asSetCodeWithoutChecks: {
2003
+ readonly code: Bytes;
2004
+ } & Struct;
2005
+ readonly isSetStorage: boolean;
2006
+ readonly asSetStorage: {
2007
+ readonly items: Vec<ITuple<[Bytes, Bytes]>>;
2008
+ } & Struct;
2009
+ readonly isKillStorage: boolean;
2010
+ readonly asKillStorage: {
2011
+ readonly keys_: Vec<Bytes>;
2012
+ } & Struct;
2013
+ readonly isKillPrefix: boolean;
2014
+ readonly asKillPrefix: {
2015
+ readonly prefix: Bytes;
2016
+ readonly subkeys: u32;
2017
+ } & Struct;
2018
+ readonly isRemarkWithEvent: boolean;
2019
+ readonly asRemarkWithEvent: {
2020
+ readonly remark: Bytes;
2021
+ } & Struct;
2022
+ readonly isAuthorizeUpgrade: boolean;
2023
+ readonly asAuthorizeUpgrade: {
2024
+ readonly codeHash: H256;
2025
+ } & Struct;
2026
+ readonly isAuthorizeUpgradeWithoutChecks: boolean;
2027
+ readonly asAuthorizeUpgradeWithoutChecks: {
2028
+ readonly codeHash: H256;
2029
+ } & Struct;
2030
+ readonly isApplyAuthorizedUpgrade: boolean;
2031
+ readonly asApplyAuthorizedUpgrade: {
2032
+ readonly code: Bytes;
2033
+ } & Struct;
2034
+ readonly type:
2035
+ | "Remark"
2036
+ | "SetHeapPages"
2037
+ | "SetCode"
2038
+ | "SetCodeWithoutChecks"
2039
+ | "SetStorage"
2040
+ | "KillStorage"
2041
+ | "KillPrefix"
2042
+ | "RemarkWithEvent"
2043
+ | "AuthorizeUpgrade"
2044
+ | "AuthorizeUpgradeWithoutChecks"
2045
+ | "ApplyAuthorizedUpgrade";
2046
+ }
2047
+
2048
+ /** @name FrameSystemLimitsBlockWeights (163) */
2049
+ interface FrameSystemLimitsBlockWeights extends Struct {
2050
+ readonly baseBlock: SpWeightsWeightV2Weight;
2051
+ readonly maxBlock: SpWeightsWeightV2Weight;
2052
+ readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
2053
+ }
2054
+
2055
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (164) */
2056
+ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
2057
+ readonly normal: FrameSystemLimitsWeightsPerClass;
2058
+ readonly operational: FrameSystemLimitsWeightsPerClass;
2059
+ readonly mandatory: FrameSystemLimitsWeightsPerClass;
2060
+ }
2061
+
2062
+ /** @name FrameSystemLimitsWeightsPerClass (165) */
2063
+ interface FrameSystemLimitsWeightsPerClass extends Struct {
2064
+ readonly baseExtrinsic: SpWeightsWeightV2Weight;
2065
+ readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
2066
+ readonly maxTotal: Option<SpWeightsWeightV2Weight>;
2067
+ readonly reserved: Option<SpWeightsWeightV2Weight>;
2068
+ }
2069
+
2070
+ /** @name FrameSystemLimitsBlockLength (167) */
2071
+ interface FrameSystemLimitsBlockLength extends Struct {
2072
+ readonly max: FrameSupportDispatchPerDispatchClassU32;
2073
+ }
2074
+
2075
+ /** @name FrameSupportDispatchPerDispatchClassU32 (168) */
2076
+ interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
2077
+ readonly normal: u32;
2078
+ readonly operational: u32;
2079
+ readonly mandatory: u32;
2080
+ }
2081
+
2082
+ /** @name SpWeightsRuntimeDbWeight (169) */
2083
+ interface SpWeightsRuntimeDbWeight extends Struct {
2084
+ readonly read: u64;
2085
+ readonly write: u64;
2086
+ }
2087
+
2088
+ /** @name SpVersionRuntimeVersion (170) */
2089
+ interface SpVersionRuntimeVersion extends Struct {
2090
+ readonly specName: Text;
2091
+ readonly implName: Text;
2092
+ readonly authoringVersion: u32;
2093
+ readonly specVersion: u32;
2094
+ readonly implVersion: u32;
2095
+ readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
2096
+ readonly transactionVersion: u32;
2097
+ readonly systemVersion: u8;
2098
+ }
2099
+
2100
+ /** @name FrameSystemError (176) */
2101
+ interface FrameSystemError extends Enum {
2102
+ readonly isInvalidSpecName: boolean;
2103
+ readonly isSpecVersionNeedsToIncrease: boolean;
2104
+ readonly isFailedToExtractRuntimeVersion: boolean;
2105
+ readonly isNonDefaultComposite: boolean;
2106
+ readonly isNonZeroRefCount: boolean;
2107
+ readonly isCallFiltered: boolean;
2108
+ readonly isMultiBlockMigrationsOngoing: boolean;
2109
+ readonly isNothingAuthorized: boolean;
2110
+ readonly isUnauthorized: boolean;
2111
+ readonly type:
2112
+ | "InvalidSpecName"
2113
+ | "SpecVersionNeedsToIncrease"
2114
+ | "FailedToExtractRuntimeVersion"
2115
+ | "NonDefaultComposite"
2116
+ | "NonZeroRefCount"
2117
+ | "CallFiltered"
2118
+ | "MultiBlockMigrationsOngoing"
2119
+ | "NothingAuthorized"
2120
+ | "Unauthorized";
2121
+ }
2122
+
2123
+ /** @name SpConsensusBabeAppPublic (179) */
2124
+ interface SpConsensusBabeAppPublic extends U8aFixed {}
2125
+
2126
+ /** @name SpConsensusBabeDigestsNextConfigDescriptor (182) */
2127
+ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum {
2128
+ readonly isV1: boolean;
2129
+ readonly asV1: {
2130
+ readonly c: ITuple<[u64, u64]>;
2131
+ readonly allowedSlots: SpConsensusBabeAllowedSlots;
2132
+ } & Struct;
2133
+ readonly type: "V1";
2134
+ }
2135
+
2136
+ /** @name SpConsensusBabeAllowedSlots (184) */
2137
+ interface SpConsensusBabeAllowedSlots extends Enum {
2138
+ readonly isPrimarySlots: boolean;
2139
+ readonly isPrimaryAndSecondaryPlainSlots: boolean;
2140
+ readonly isPrimaryAndSecondaryVRFSlots: boolean;
2141
+ readonly type: "PrimarySlots" | "PrimaryAndSecondaryPlainSlots" | "PrimaryAndSecondaryVRFSlots";
2142
+ }
2143
+
2144
+ /** @name SpConsensusBabeDigestsPreDigest (188) */
2145
+ interface SpConsensusBabeDigestsPreDigest extends Enum {
2146
+ readonly isPrimary: boolean;
2147
+ readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest;
2148
+ readonly isSecondaryPlain: boolean;
2149
+ readonly asSecondaryPlain: SpConsensusBabeDigestsSecondaryPlainPreDigest;
2150
+ readonly isSecondaryVRF: boolean;
2151
+ readonly asSecondaryVRF: SpConsensusBabeDigestsSecondaryVRFPreDigest;
2152
+ readonly type: "Primary" | "SecondaryPlain" | "SecondaryVRF";
2153
+ }
2154
+
2155
+ /** @name SpConsensusBabeDigestsPrimaryPreDigest (189) */
2156
+ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct {
2157
+ readonly authorityIndex: u32;
2158
+ readonly slot: u64;
2159
+ readonly vrfSignature: SpCoreSr25519VrfVrfSignature;
2160
+ }
2161
+
2162
+ /** @name SpCoreSr25519VrfVrfSignature (190) */
2163
+ interface SpCoreSr25519VrfVrfSignature extends Struct {
2164
+ readonly preOutput: U8aFixed;
2165
+ readonly proof: U8aFixed;
2166
+ }
2167
+
2168
+ /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (192) */
2169
+ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct {
2170
+ readonly authorityIndex: u32;
2171
+ readonly slot: u64;
2172
+ }
2173
+
2174
+ /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (193) */
2175
+ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct {
2176
+ readonly authorityIndex: u32;
2177
+ readonly slot: u64;
2178
+ readonly vrfSignature: SpCoreSr25519VrfVrfSignature;
2179
+ }
2180
+
2181
+ /** @name SpConsensusBabeBabeEpochConfiguration (195) */
2182
+ interface SpConsensusBabeBabeEpochConfiguration extends Struct {
2183
+ readonly c: ITuple<[u64, u64]>;
2184
+ readonly allowedSlots: SpConsensusBabeAllowedSlots;
2185
+ }
2186
+
2187
+ /** @name PalletBabeCall (199) */
2188
+ interface PalletBabeCall extends Enum {
2189
+ readonly isReportEquivocation: boolean;
2190
+ readonly asReportEquivocation: {
2191
+ readonly equivocationProof: SpConsensusSlotsEquivocationProof;
2192
+ readonly keyOwnerProof: SpSessionMembershipProof;
2193
+ } & Struct;
2194
+ readonly isReportEquivocationUnsigned: boolean;
2195
+ readonly asReportEquivocationUnsigned: {
2196
+ readonly equivocationProof: SpConsensusSlotsEquivocationProof;
2197
+ readonly keyOwnerProof: SpSessionMembershipProof;
2198
+ } & Struct;
2199
+ readonly isPlanConfigChange: boolean;
2200
+ readonly asPlanConfigChange: {
2201
+ readonly config: SpConsensusBabeDigestsNextConfigDescriptor;
2202
+ } & Struct;
2203
+ readonly type: "ReportEquivocation" | "ReportEquivocationUnsigned" | "PlanConfigChange";
2204
+ }
2205
+
2206
+ /** @name SpConsensusSlotsEquivocationProof (200) */
2207
+ interface SpConsensusSlotsEquivocationProof extends Struct {
2208
+ readonly offender: SpConsensusBabeAppPublic;
2209
+ readonly slot: u64;
2210
+ readonly firstHeader: SpRuntimeHeader;
2211
+ readonly secondHeader: SpRuntimeHeader;
2212
+ }
2213
+
2214
+ /** @name SpRuntimeHeader (201) */
2215
+ interface SpRuntimeHeader extends Struct {
2216
+ readonly parentHash: H256;
2217
+ readonly number: Compact<u32>;
2218
+ readonly stateRoot: H256;
2219
+ readonly extrinsicsRoot: H256;
2220
+ readonly digest: SpRuntimeDigest;
2221
+ }
2222
+
2223
+ /** @name SpSessionMembershipProof (202) */
2224
+ interface SpSessionMembershipProof extends Struct {
2225
+ readonly session: u32;
2226
+ readonly trieNodes: Vec<Bytes>;
2227
+ readonly validatorCount: u32;
2228
+ }
2229
+
2230
+ /** @name PalletBabeError (203) */
2231
+ interface PalletBabeError extends Enum {
2232
+ readonly isInvalidEquivocationProof: boolean;
2233
+ readonly isInvalidKeyOwnershipProof: boolean;
2234
+ readonly isDuplicateOffenceReport: boolean;
2235
+ readonly isInvalidConfiguration: boolean;
2236
+ readonly type:
2237
+ | "InvalidEquivocationProof"
2238
+ | "InvalidKeyOwnershipProof"
2239
+ | "DuplicateOffenceReport"
2240
+ | "InvalidConfiguration";
2241
+ }
2242
+
2243
+ /** @name PalletTimestampCall (204) */
2244
+ interface PalletTimestampCall extends Enum {
2245
+ readonly isSet: boolean;
2246
+ readonly asSet: {
2247
+ readonly now: Compact<u64>;
2248
+ } & Struct;
2249
+ readonly type: "Set";
2250
+ }
2251
+
2252
+ /** @name PalletBalancesBalanceLock (206) */
2253
+ interface PalletBalancesBalanceLock extends Struct {
2254
+ readonly id: U8aFixed;
2255
+ readonly amount: u128;
2256
+ readonly reasons: PalletBalancesReasons;
2257
+ }
2258
+
2259
+ /** @name PalletBalancesReasons (207) */
2260
+ interface PalletBalancesReasons extends Enum {
2261
+ readonly isFee: boolean;
2262
+ readonly isMisc: boolean;
2263
+ readonly isAll: boolean;
2264
+ readonly type: "Fee" | "Misc" | "All";
2265
+ }
2266
+
2267
+ /** @name PalletBalancesReserveData (210) */
2268
+ interface PalletBalancesReserveData extends Struct {
2269
+ readonly id: U8aFixed;
2270
+ readonly amount: u128;
2271
+ }
2272
+
2273
+ /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (213) */
2274
+ interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
2275
+ readonly id: ShSolochainEvmRuntimeRuntimeHoldReason;
2276
+ readonly amount: u128;
2277
+ }
2278
+
2279
+ /** @name ShSolochainEvmRuntimeRuntimeHoldReason (214) */
2280
+ interface ShSolochainEvmRuntimeRuntimeHoldReason extends Enum {
2281
+ readonly isProviders: boolean;
2282
+ readonly asProviders: PalletStorageProvidersHoldReason;
2283
+ readonly isFileSystem: boolean;
2284
+ readonly asFileSystem: PalletFileSystemHoldReason;
2285
+ readonly isPaymentStreams: boolean;
2286
+ readonly asPaymentStreams: PalletPaymentStreamsHoldReason;
2287
+ readonly type: "Providers" | "FileSystem" | "PaymentStreams";
2288
+ }
2289
+
2290
+ /** @name PalletStorageProvidersHoldReason (215) */
2291
+ interface PalletStorageProvidersHoldReason extends Enum {
2292
+ readonly isStorageProviderDeposit: boolean;
2293
+ readonly isBucketDeposit: boolean;
2294
+ readonly type: "StorageProviderDeposit" | "BucketDeposit";
2295
+ }
2296
+
2297
+ /** @name PalletFileSystemHoldReason (216) */
2298
+ interface PalletFileSystemHoldReason extends Enum {
2299
+ readonly isStorageRequestCreationHold: boolean;
2300
+ readonly isFileDeletionRequestHold: boolean;
2301
+ readonly type: "StorageRequestCreationHold" | "FileDeletionRequestHold";
2302
+ }
2303
+
2304
+ /** @name PalletPaymentStreamsHoldReason (217) */
2305
+ interface PalletPaymentStreamsHoldReason extends Enum {
2306
+ readonly isPaymentStreamDeposit: boolean;
2307
+ readonly type: "PaymentStreamDeposit";
2308
+ }
2309
+
2310
+ /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (220) */
2311
+ interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
2312
+ readonly id: ShSolochainEvmRuntimeRuntimeFreezeReason;
2313
+ readonly amount: u128;
2314
+ }
2315
+
2316
+ /** @name ShSolochainEvmRuntimeRuntimeFreezeReason (221) */
2317
+ type ShSolochainEvmRuntimeRuntimeFreezeReason = Null;
2318
+
2319
+ /** @name PalletBalancesCall (223) */
2320
+ interface PalletBalancesCall extends Enum {
2321
+ readonly isTransferAllowDeath: boolean;
2322
+ readonly asTransferAllowDeath: {
2323
+ readonly dest: AccountId20;
2324
+ readonly value: Compact<u128>;
2325
+ } & Struct;
2326
+ readonly isForceTransfer: boolean;
2327
+ readonly asForceTransfer: {
2328
+ readonly source: AccountId20;
2329
+ readonly dest: AccountId20;
2330
+ readonly value: Compact<u128>;
2331
+ } & Struct;
2332
+ readonly isTransferKeepAlive: boolean;
2333
+ readonly asTransferKeepAlive: {
2334
+ readonly dest: AccountId20;
2335
+ readonly value: Compact<u128>;
2336
+ } & Struct;
2337
+ readonly isTransferAll: boolean;
2338
+ readonly asTransferAll: {
2339
+ readonly dest: AccountId20;
2340
+ readonly keepAlive: bool;
2341
+ } & Struct;
2342
+ readonly isForceUnreserve: boolean;
2343
+ readonly asForceUnreserve: {
2344
+ readonly who: AccountId20;
2345
+ readonly amount: u128;
2346
+ } & Struct;
2347
+ readonly isUpgradeAccounts: boolean;
2348
+ readonly asUpgradeAccounts: {
2349
+ readonly who: Vec<AccountId20>;
2350
+ } & Struct;
2351
+ readonly isForceSetBalance: boolean;
2352
+ readonly asForceSetBalance: {
2353
+ readonly who: AccountId20;
2354
+ readonly newFree: Compact<u128>;
2355
+ } & Struct;
2356
+ readonly isForceAdjustTotalIssuance: boolean;
2357
+ readonly asForceAdjustTotalIssuance: {
2358
+ readonly direction: PalletBalancesAdjustmentDirection;
2359
+ readonly delta: Compact<u128>;
2360
+ } & Struct;
2361
+ readonly isBurn: boolean;
2362
+ readonly asBurn: {
2363
+ readonly value: Compact<u128>;
2364
+ readonly keepAlive: bool;
2365
+ } & Struct;
2366
+ readonly type:
2367
+ | "TransferAllowDeath"
2368
+ | "ForceTransfer"
2369
+ | "TransferKeepAlive"
2370
+ | "TransferAll"
2371
+ | "ForceUnreserve"
2372
+ | "UpgradeAccounts"
2373
+ | "ForceSetBalance"
2374
+ | "ForceAdjustTotalIssuance"
2375
+ | "Burn";
2376
+ }
2377
+
2378
+ /** @name PalletBalancesAdjustmentDirection (225) */
2379
+ interface PalletBalancesAdjustmentDirection extends Enum {
2380
+ readonly isIncrease: boolean;
2381
+ readonly isDecrease: boolean;
2382
+ readonly type: "Increase" | "Decrease";
2383
+ }
2384
+
2385
+ /** @name PalletBalancesError (226) */
2386
+ interface PalletBalancesError extends Enum {
2387
+ readonly isVestingBalance: boolean;
2388
+ readonly isLiquidityRestrictions: boolean;
2389
+ readonly isInsufficientBalance: boolean;
2390
+ readonly isExistentialDeposit: boolean;
2391
+ readonly isExpendability: boolean;
2392
+ readonly isExistingVestingSchedule: boolean;
2393
+ readonly isDeadAccount: boolean;
2394
+ readonly isTooManyReserves: boolean;
2395
+ readonly isTooManyHolds: boolean;
2396
+ readonly isTooManyFreezes: boolean;
2397
+ readonly isIssuanceDeactivated: boolean;
2398
+ readonly isDeltaZero: boolean;
2399
+ readonly type:
2400
+ | "VestingBalance"
2401
+ | "LiquidityRestrictions"
2402
+ | "InsufficientBalance"
2403
+ | "ExistentialDeposit"
2404
+ | "Expendability"
2405
+ | "ExistingVestingSchedule"
2406
+ | "DeadAccount"
2407
+ | "TooManyReserves"
2408
+ | "TooManyHolds"
2409
+ | "TooManyFreezes"
2410
+ | "IssuanceDeactivated"
2411
+ | "DeltaZero";
2412
+ }
2413
+
2414
+ /** @name SpStakingOffenceOffenceDetails (227) */
2415
+ interface SpStakingOffenceOffenceDetails extends Struct {
2416
+ readonly offender: ITuple<[AccountId20, Null]>;
2417
+ readonly reporters: Vec<AccountId20>;
2418
+ }
2419
+
2420
+ /** @name ShSolochainEvmRuntimeSessionKeys (233) */
2421
+ interface ShSolochainEvmRuntimeSessionKeys extends Struct {
2422
+ readonly babe: SpConsensusBabeAppPublic;
2423
+ readonly grandpa: SpConsensusGrandpaAppPublic;
2424
+ }
2425
+
2426
+ /** @name SpCoreCryptoKeyTypeId (235) */
2427
+ interface SpCoreCryptoKeyTypeId extends U8aFixed {}
2428
+
2429
+ /** @name PalletSessionCall (236) */
2430
+ interface PalletSessionCall extends Enum {
2431
+ readonly isSetKeys: boolean;
2432
+ readonly asSetKeys: {
2433
+ readonly keys_: ShSolochainEvmRuntimeSessionKeys;
2434
+ readonly proof: Bytes;
2435
+ } & Struct;
2436
+ readonly isPurgeKeys: boolean;
2437
+ readonly type: "SetKeys" | "PurgeKeys";
2438
+ }
2439
+
2440
+ /** @name PalletSessionError (237) */
2441
+ interface PalletSessionError extends Enum {
2442
+ readonly isInvalidProof: boolean;
2443
+ readonly isNoAssociatedValidatorId: boolean;
2444
+ readonly isDuplicatedKey: boolean;
2445
+ readonly isNoKeys: boolean;
2446
+ readonly isNoAccount: boolean;
2447
+ readonly type:
2448
+ | "InvalidProof"
2449
+ | "NoAssociatedValidatorId"
2450
+ | "DuplicatedKey"
2451
+ | "NoKeys"
2452
+ | "NoAccount";
2453
+ }
2454
+
2455
+ /** @name PalletGrandpaStoredState (238) */
2456
+ interface PalletGrandpaStoredState extends Enum {
2457
+ readonly isLive: boolean;
2458
+ readonly isPendingPause: boolean;
2459
+ readonly asPendingPause: {
2460
+ readonly scheduledAt: u32;
2461
+ readonly delay: u32;
2462
+ } & Struct;
2463
+ readonly isPaused: boolean;
2464
+ readonly isPendingResume: boolean;
2465
+ readonly asPendingResume: {
2466
+ readonly scheduledAt: u32;
2467
+ readonly delay: u32;
2468
+ } & Struct;
2469
+ readonly type: "Live" | "PendingPause" | "Paused" | "PendingResume";
2470
+ }
2471
+
2472
+ /** @name PalletGrandpaStoredPendingChange (239) */
2473
+ interface PalletGrandpaStoredPendingChange extends Struct {
2474
+ readonly scheduledAt: u32;
2475
+ readonly delay: u32;
2476
+ readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
2477
+ readonly forced: Option<u32>;
2478
+ }
2479
+
2480
+ /** @name PalletGrandpaCall (241) */
2481
+ interface PalletGrandpaCall extends Enum {
2482
+ readonly isReportEquivocation: boolean;
2483
+ readonly asReportEquivocation: {
2484
+ readonly equivocationProof: SpConsensusGrandpaEquivocationProof;
2485
+ readonly keyOwnerProof: SpSessionMembershipProof;
2486
+ } & Struct;
2487
+ readonly isReportEquivocationUnsigned: boolean;
2488
+ readonly asReportEquivocationUnsigned: {
2489
+ readonly equivocationProof: SpConsensusGrandpaEquivocationProof;
2490
+ readonly keyOwnerProof: SpSessionMembershipProof;
2491
+ } & Struct;
2492
+ readonly isNoteStalled: boolean;
2493
+ readonly asNoteStalled: {
2494
+ readonly delay: u32;
2495
+ readonly bestFinalizedBlockNumber: u32;
2496
+ } & Struct;
2497
+ readonly type: "ReportEquivocation" | "ReportEquivocationUnsigned" | "NoteStalled";
2498
+ }
2499
+
2500
+ /** @name SpConsensusGrandpaEquivocationProof (242) */
2501
+ interface SpConsensusGrandpaEquivocationProof extends Struct {
2502
+ readonly setId: u64;
2503
+ readonly equivocation: SpConsensusGrandpaEquivocation;
2504
+ }
2505
+
2506
+ /** @name SpConsensusGrandpaEquivocation (243) */
2507
+ interface SpConsensusGrandpaEquivocation extends Enum {
2508
+ readonly isPrevote: boolean;
2509
+ readonly asPrevote: FinalityGrandpaEquivocationPrevote;
2510
+ readonly isPrecommit: boolean;
2511
+ readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
2512
+ readonly type: "Prevote" | "Precommit";
2513
+ }
2514
+
2515
+ /** @name FinalityGrandpaEquivocationPrevote (244) */
2516
+ interface FinalityGrandpaEquivocationPrevote extends Struct {
2517
+ readonly roundNumber: u64;
2518
+ readonly identity: SpConsensusGrandpaAppPublic;
2519
+ readonly first: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
2520
+ readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
2521
+ }
2522
+
2523
+ /** @name FinalityGrandpaPrevote (245) */
2524
+ interface FinalityGrandpaPrevote extends Struct {
2525
+ readonly targetHash: H256;
2526
+ readonly targetNumber: u32;
2527
+ }
2528
+
2529
+ /** @name SpConsensusGrandpaAppSignature (246) */
2530
+ interface SpConsensusGrandpaAppSignature extends U8aFixed {}
2531
+
2532
+ /** @name FinalityGrandpaEquivocationPrecommit (248) */
2533
+ interface FinalityGrandpaEquivocationPrecommit extends Struct {
2534
+ readonly roundNumber: u64;
2535
+ readonly identity: SpConsensusGrandpaAppPublic;
2536
+ readonly first: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
2537
+ readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
2538
+ }
2539
+
2540
+ /** @name FinalityGrandpaPrecommit (249) */
2541
+ interface FinalityGrandpaPrecommit extends Struct {
2542
+ readonly targetHash: H256;
2543
+ readonly targetNumber: u32;
2544
+ }
2545
+
2546
+ /** @name PalletGrandpaError (251) */
2547
+ interface PalletGrandpaError extends Enum {
2548
+ readonly isPauseFailed: boolean;
2549
+ readonly isResumeFailed: boolean;
2550
+ readonly isChangePending: boolean;
2551
+ readonly isTooSoon: boolean;
2552
+ readonly isInvalidKeyOwnershipProof: boolean;
2553
+ readonly isInvalidEquivocationProof: boolean;
2554
+ readonly isDuplicateOffenceReport: boolean;
2555
+ readonly type:
2556
+ | "PauseFailed"
2557
+ | "ResumeFailed"
2558
+ | "ChangePending"
2559
+ | "TooSoon"
2560
+ | "InvalidKeyOwnershipProof"
2561
+ | "InvalidEquivocationProof"
2562
+ | "DuplicateOffenceReport";
2563
+ }
2564
+
2565
+ /** @name PalletTransactionPaymentReleases (253) */
2566
+ interface PalletTransactionPaymentReleases extends Enum {
2567
+ readonly isV1Ancient: boolean;
2568
+ readonly isV2: boolean;
2569
+ readonly type: "V1Ancient" | "V2";
2570
+ }
2571
+
2572
+ /** @name PalletParametersCall (254) */
2573
+ interface PalletParametersCall extends Enum {
2574
+ readonly isSetParameter: boolean;
2575
+ readonly asSetParameter: {
2576
+ readonly keyValue: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters;
2577
+ } & Struct;
2578
+ readonly type: "SetParameter";
2579
+ }
2580
+
2581
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters (255) */
2582
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParameters extends Enum {
2583
+ readonly isRuntimeConfig: boolean;
2584
+ readonly asRuntimeConfig: ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters;
2585
+ readonly type: "RuntimeConfig";
2586
+ }
2587
+
2588
+ /** @name ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters (256) */
2589
+ interface ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigParameters
2590
+ extends Enum {
2591
+ readonly isSlashAmountPerMaxFileSize: boolean;
2592
+ readonly asSlashAmountPerMaxFileSize: ITuple<
2593
+ [
2594
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSlashAmountPerMaxFileSize,
2595
+ Option<u128>
2596
+ ]
2597
+ >;
2598
+ readonly isStakeToChallengePeriod: boolean;
2599
+ readonly asStakeToChallengePeriod: ITuple<
2600
+ [
2601
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToChallengePeriod,
2602
+ Option<u128>
2603
+ ]
2604
+ >;
2605
+ readonly isCheckpointChallengePeriod: boolean;
2606
+ readonly asCheckpointChallengePeriod: ITuple<
2607
+ [
2608
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigCheckpointChallengePeriod,
2609
+ Option<u32>
2610
+ ]
2611
+ >;
2612
+ readonly isMinChallengePeriod: boolean;
2613
+ readonly asMinChallengePeriod: ITuple<
2614
+ [
2615
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinChallengePeriod,
2616
+ Option<u32>
2617
+ ]
2618
+ >;
2619
+ readonly isSystemUtilisationLowerThresholdPercentage: boolean;
2620
+ readonly asSystemUtilisationLowerThresholdPercentage: ITuple<
2621
+ [
2622
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationLowerThresholdPercentage,
2623
+ Option<Perbill>
2624
+ ]
2625
+ >;
2626
+ readonly isSystemUtilisationUpperThresholdPercentage: boolean;
2627
+ readonly asSystemUtilisationUpperThresholdPercentage: ITuple<
2628
+ [
2629
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSystemUtilisationUpperThresholdPercentage,
2630
+ Option<Perbill>
2631
+ ]
2632
+ >;
2633
+ readonly isMostlyStablePrice: boolean;
2634
+ readonly asMostlyStablePrice: ITuple<
2635
+ [
2636
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMostlyStablePrice,
2637
+ Option<u128>
2638
+ ]
2639
+ >;
2640
+ readonly isMaxPrice: boolean;
2641
+ readonly asMaxPrice: ITuple<
2642
+ [ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxPrice, Option<u128>]
2643
+ >;
2644
+ readonly isMinPrice: boolean;
2645
+ readonly asMinPrice: ITuple<
2646
+ [ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinPrice, Option<u128>]
2647
+ >;
2648
+ readonly isUpperExponentFactor: boolean;
2649
+ readonly asUpperExponentFactor: ITuple<
2650
+ [
2651
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpperExponentFactor,
2652
+ Option<u32>
2653
+ ]
2654
+ >;
2655
+ readonly isLowerExponentFactor: boolean;
2656
+ readonly asLowerExponentFactor: ITuple<
2657
+ [
2658
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigLowerExponentFactor,
2659
+ Option<u32>
2660
+ ]
2661
+ >;
2662
+ readonly isZeroSizeBucketFixedRate: boolean;
2663
+ readonly asZeroSizeBucketFixedRate: ITuple<
2664
+ [
2665
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigZeroSizeBucketFixedRate,
2666
+ Option<u128>
2667
+ ]
2668
+ >;
2669
+ readonly isIdealUtilisationRate: boolean;
2670
+ readonly asIdealUtilisationRate: ITuple<
2671
+ [
2672
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigIdealUtilisationRate,
2673
+ Option<Perbill>
2674
+ ]
2675
+ >;
2676
+ readonly isDecayRate: boolean;
2677
+ readonly asDecayRate: ITuple<
2678
+ [
2679
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigDecayRate,
2680
+ Option<Perbill>
2681
+ ]
2682
+ >;
2683
+ readonly isMinimumTreasuryCut: boolean;
2684
+ readonly asMinimumTreasuryCut: ITuple<
2685
+ [
2686
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinimumTreasuryCut,
2687
+ Option<Perbill>
2688
+ ]
2689
+ >;
2690
+ readonly isMaximumTreasuryCut: boolean;
2691
+ readonly asMaximumTreasuryCut: ITuple<
2692
+ [
2693
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaximumTreasuryCut,
2694
+ Option<Perbill>
2695
+ ]
2696
+ >;
2697
+ readonly isBspStopStoringFilePenalty: boolean;
2698
+ readonly asBspStopStoringFilePenalty: ITuple<
2699
+ [
2700
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBspStopStoringFilePenalty,
2701
+ Option<u128>
2702
+ ]
2703
+ >;
2704
+ readonly isProviderTopUpTtl: boolean;
2705
+ readonly asProviderTopUpTtl: ITuple<
2706
+ [
2707
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigProviderTopUpTtl,
2708
+ Option<u32>
2709
+ ]
2710
+ >;
2711
+ readonly isBasicReplicationTarget: boolean;
2712
+ readonly asBasicReplicationTarget: ITuple<
2713
+ [
2714
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigBasicReplicationTarget,
2715
+ Option<u32>
2716
+ ]
2717
+ >;
2718
+ readonly isStandardReplicationTarget: boolean;
2719
+ readonly asStandardReplicationTarget: ITuple<
2720
+ [
2721
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStandardReplicationTarget,
2722
+ Option<u32>
2723
+ ]
2724
+ >;
2725
+ readonly isHighSecurityReplicationTarget: boolean;
2726
+ readonly asHighSecurityReplicationTarget: ITuple<
2727
+ [
2728
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigHighSecurityReplicationTarget,
2729
+ Option<u32>
2730
+ ]
2731
+ >;
2732
+ readonly isSuperHighSecurityReplicationTarget: boolean;
2733
+ readonly asSuperHighSecurityReplicationTarget: ITuple<
2734
+ [
2735
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigSuperHighSecurityReplicationTarget,
2736
+ Option<u32>
2737
+ ]
2738
+ >;
2739
+ readonly isUltraHighSecurityReplicationTarget: boolean;
2740
+ readonly asUltraHighSecurityReplicationTarget: ITuple<
2741
+ [
2742
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUltraHighSecurityReplicationTarget,
2743
+ Option<u32>
2744
+ ]
2745
+ >;
2746
+ readonly isMaxReplicationTarget: boolean;
2747
+ readonly asMaxReplicationTarget: ITuple<
2748
+ [
2749
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMaxReplicationTarget,
2750
+ Option<u32>
2751
+ ]
2752
+ >;
2753
+ readonly isTickRangeToMaximumThreshold: boolean;
2754
+ readonly asTickRangeToMaximumThreshold: ITuple<
2755
+ [
2756
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigTickRangeToMaximumThreshold,
2757
+ Option<u32>
2758
+ ]
2759
+ >;
2760
+ readonly isStorageRequestTtl: boolean;
2761
+ readonly asStorageRequestTtl: ITuple<
2762
+ [
2763
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStorageRequestTtl,
2764
+ Option<u32>
2765
+ ]
2766
+ >;
2767
+ readonly isMinWaitForStopStoring: boolean;
2768
+ readonly asMinWaitForStopStoring: ITuple<
2769
+ [
2770
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinWaitForStopStoring,
2771
+ Option<u32>
2772
+ ]
2773
+ >;
2774
+ readonly isMinSeedPeriod: boolean;
2775
+ readonly asMinSeedPeriod: ITuple<
2776
+ [
2777
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigMinSeedPeriod,
2778
+ Option<u32>
2779
+ ]
2780
+ >;
2781
+ readonly isStakeToSeedPeriod: boolean;
2782
+ readonly asStakeToSeedPeriod: ITuple<
2783
+ [
2784
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigStakeToSeedPeriod,
2785
+ Option<u128>
2786
+ ]
2787
+ >;
2788
+ readonly isUpfrontTicksToPay: boolean;
2789
+ readonly asUpfrontTicksToPay: ITuple<
2790
+ [
2791
+ ShSolochainEvmRuntimeConfigsRuntimeParamsDynamicParamsRuntimeConfigUpfrontTicksToPay,
2792
+ Option<u32>
2793
+ ]
2794
+ >;
2795
+ readonly type:
2796
+ | "SlashAmountPerMaxFileSize"
2797
+ | "StakeToChallengePeriod"
2798
+ | "CheckpointChallengePeriod"
2799
+ | "MinChallengePeriod"
2800
+ | "SystemUtilisationLowerThresholdPercentage"
2801
+ | "SystemUtilisationUpperThresholdPercentage"
2802
+ | "MostlyStablePrice"
2803
+ | "MaxPrice"
2804
+ | "MinPrice"
2805
+ | "UpperExponentFactor"
2806
+ | "LowerExponentFactor"
2807
+ | "ZeroSizeBucketFixedRate"
2808
+ | "IdealUtilisationRate"
2809
+ | "DecayRate"
2810
+ | "MinimumTreasuryCut"
2811
+ | "MaximumTreasuryCut"
2812
+ | "BspStopStoringFilePenalty"
2813
+ | "ProviderTopUpTtl"
2814
+ | "BasicReplicationTarget"
2815
+ | "StandardReplicationTarget"
2816
+ | "HighSecurityReplicationTarget"
2817
+ | "SuperHighSecurityReplicationTarget"
2818
+ | "UltraHighSecurityReplicationTarget"
2819
+ | "MaxReplicationTarget"
2820
+ | "TickRangeToMaximumThreshold"
2821
+ | "StorageRequestTtl"
2822
+ | "MinWaitForStopStoring"
2823
+ | "MinSeedPeriod"
2824
+ | "StakeToSeedPeriod"
2825
+ | "UpfrontTicksToPay";
2826
+ }
2827
+
2828
+ /** @name PalletSudoCall (259) */
2829
+ interface PalletSudoCall extends Enum {
2830
+ readonly isSudo: boolean;
2831
+ readonly asSudo: {
2832
+ readonly call: Call;
2833
+ } & Struct;
2834
+ readonly isSudoUncheckedWeight: boolean;
2835
+ readonly asSudoUncheckedWeight: {
2836
+ readonly call: Call;
2837
+ readonly weight: SpWeightsWeightV2Weight;
2838
+ } & Struct;
2839
+ readonly isSetKey: boolean;
2840
+ readonly asSetKey: {
2841
+ readonly new_: AccountId20;
2842
+ } & Struct;
2843
+ readonly isSudoAs: boolean;
2844
+ readonly asSudoAs: {
2845
+ readonly who: AccountId20;
2846
+ readonly call: Call;
2847
+ } & Struct;
2848
+ readonly isRemoveKey: boolean;
2849
+ readonly type: "Sudo" | "SudoUncheckedWeight" | "SetKey" | "SudoAs" | "RemoveKey";
2850
+ }
2851
+
2852
+ /** @name PalletEthereumCall (261) */
2853
+ interface PalletEthereumCall extends Enum {
2854
+ readonly isTransact: boolean;
2855
+ readonly asTransact: {
2856
+ readonly transaction: EthereumTransactionTransactionV2;
2857
+ } & Struct;
2858
+ readonly type: "Transact";
2859
+ }
2860
+
2861
+ /** @name EthereumTransactionTransactionV2 (262) */
2862
+ interface EthereumTransactionTransactionV2 extends Enum {
2863
+ readonly isLegacy: boolean;
2864
+ readonly asLegacy: EthereumTransactionLegacyLegacyTransaction;
2865
+ readonly isEip2930: boolean;
2866
+ readonly asEip2930: EthereumTransactionEip2930Eip2930Transaction;
2867
+ readonly isEip1559: boolean;
2868
+ readonly asEip1559: EthereumTransactionEip1559Eip1559Transaction;
2869
+ readonly type: "Legacy" | "Eip2930" | "Eip1559";
2870
+ }
2871
+
2872
+ /** @name EthereumTransactionLegacyLegacyTransaction (263) */
2873
+ interface EthereumTransactionLegacyLegacyTransaction extends Struct {
2874
+ readonly nonce: U256;
2875
+ readonly gasPrice: U256;
2876
+ readonly gasLimit: U256;
2877
+ readonly action: EthereumTransactionLegacyTransactionAction;
2878
+ readonly value: U256;
2879
+ readonly input: Bytes;
2880
+ readonly signature: EthereumTransactionLegacyTransactionSignature;
2881
+ }
2882
+
2883
+ /** @name EthereumTransactionLegacyTransactionAction (266) */
2884
+ interface EthereumTransactionLegacyTransactionAction extends Enum {
2885
+ readonly isCall: boolean;
2886
+ readonly asCall: H160;
2887
+ readonly isCreate: boolean;
2888
+ readonly type: "Call" | "Create";
2889
+ }
2890
+
2891
+ /** @name EthereumTransactionLegacyTransactionSignature (267) */
2892
+ interface EthereumTransactionLegacyTransactionSignature extends Struct {
2893
+ readonly v: u64;
2894
+ readonly r: H256;
2895
+ readonly s: H256;
2896
+ }
2897
+
2898
+ /** @name EthereumTransactionEip2930Eip2930Transaction (269) */
2899
+ interface EthereumTransactionEip2930Eip2930Transaction extends Struct {
2900
+ readonly chainId: u64;
2901
+ readonly nonce: U256;
2902
+ readonly gasPrice: U256;
2903
+ readonly gasLimit: U256;
2904
+ readonly action: EthereumTransactionLegacyTransactionAction;
2905
+ readonly value: U256;
2906
+ readonly input: Bytes;
2907
+ readonly accessList: Vec<EthereumTransactionEip2930AccessListItem>;
2908
+ readonly oddYParity: bool;
2909
+ readonly r: H256;
2910
+ readonly s: H256;
2911
+ }
2912
+
2913
+ /** @name EthereumTransactionEip2930AccessListItem (271) */
2914
+ interface EthereumTransactionEip2930AccessListItem extends Struct {
2915
+ readonly address: H160;
2916
+ readonly storageKeys: Vec<H256>;
2917
+ }
2918
+
2919
+ /** @name EthereumTransactionEip1559Eip1559Transaction (272) */
2920
+ interface EthereumTransactionEip1559Eip1559Transaction extends Struct {
2921
+ readonly chainId: u64;
2922
+ readonly nonce: U256;
2923
+ readonly maxPriorityFeePerGas: U256;
2924
+ readonly maxFeePerGas: U256;
2925
+ readonly gasLimit: U256;
2926
+ readonly action: EthereumTransactionLegacyTransactionAction;
2927
+ readonly value: U256;
2928
+ readonly input: Bytes;
2929
+ readonly accessList: Vec<EthereumTransactionEip2930AccessListItem>;
2930
+ readonly oddYParity: bool;
2931
+ readonly r: H256;
2932
+ readonly s: H256;
2933
+ }
2934
+
2935
+ /** @name PalletEvmCall (273) */
2936
+ interface PalletEvmCall extends Enum {
2937
+ readonly isWithdraw: boolean;
2938
+ readonly asWithdraw: {
2939
+ readonly address: H160;
2940
+ readonly value: u128;
2941
+ } & Struct;
2942
+ readonly isCall: boolean;
2943
+ readonly asCall: {
2944
+ readonly source: H160;
2945
+ readonly target: H160;
2946
+ readonly input: Bytes;
2947
+ readonly value: U256;
2948
+ readonly gasLimit: u64;
2949
+ readonly maxFeePerGas: U256;
2950
+ readonly maxPriorityFeePerGas: Option<U256>;
2951
+ readonly nonce: Option<U256>;
2952
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
2953
+ } & Struct;
2954
+ readonly isCreate: boolean;
2955
+ readonly asCreate: {
2956
+ readonly source: H160;
2957
+ readonly init: Bytes;
2958
+ readonly value: U256;
2959
+ readonly gasLimit: u64;
2960
+ readonly maxFeePerGas: U256;
2961
+ readonly maxPriorityFeePerGas: Option<U256>;
2962
+ readonly nonce: Option<U256>;
2963
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
2964
+ } & Struct;
2965
+ readonly isCreate2: boolean;
2966
+ readonly asCreate2: {
2967
+ readonly source: H160;
2968
+ readonly init: Bytes;
2969
+ readonly salt: H256;
2970
+ readonly value: U256;
2971
+ readonly gasLimit: u64;
2972
+ readonly maxFeePerGas: U256;
2973
+ readonly maxPriorityFeePerGas: Option<U256>;
2974
+ readonly nonce: Option<U256>;
2975
+ readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
2976
+ } & Struct;
2977
+ readonly type: "Withdraw" | "Call" | "Create" | "Create2";
2978
+ }
2979
+
2980
+ /** @name PalletStorageProvidersCall (277) */
2981
+ interface PalletStorageProvidersCall extends Enum {
2982
+ readonly isRequestMspSignUp: boolean;
2983
+ readonly asRequestMspSignUp: {
2984
+ readonly capacity: u64;
2985
+ readonly multiaddresses: Vec<Bytes>;
2986
+ readonly valuePropPricePerGigaUnitOfDataPerBlock: u128;
2987
+ readonly commitment: Bytes;
2988
+ readonly valuePropMaxDataLimit: u64;
2989
+ readonly paymentAccount: AccountId20;
2990
+ } & Struct;
2991
+ readonly isRequestBspSignUp: boolean;
2992
+ readonly asRequestBspSignUp: {
2993
+ readonly capacity: u64;
2994
+ readonly multiaddresses: Vec<Bytes>;
2995
+ readonly paymentAccount: AccountId20;
2996
+ } & Struct;
2997
+ readonly isConfirmSignUp: boolean;
2998
+ readonly asConfirmSignUp: {
2999
+ readonly providerAccount: Option<AccountId20>;
3000
+ } & Struct;
3001
+ readonly isCancelSignUp: boolean;
3002
+ readonly isMspSignOff: boolean;
3003
+ readonly asMspSignOff: {
3004
+ readonly mspId: H256;
3005
+ } & Struct;
3006
+ readonly isBspSignOff: boolean;
3007
+ readonly isChangeCapacity: boolean;
3008
+ readonly asChangeCapacity: {
3009
+ readonly newCapacity: u64;
3010
+ } & Struct;
3011
+ readonly isAddValueProp: boolean;
3012
+ readonly asAddValueProp: {
3013
+ readonly pricePerGigaUnitOfDataPerBlock: u128;
3014
+ readonly commitment: Bytes;
3015
+ readonly bucketDataLimit: u64;
3016
+ } & Struct;
3017
+ readonly isMakeValuePropUnavailable: boolean;
3018
+ readonly asMakeValuePropUnavailable: {
3019
+ readonly valuePropId: H256;
3020
+ } & Struct;
3021
+ readonly isAddMultiaddress: boolean;
3022
+ readonly asAddMultiaddress: {
3023
+ readonly newMultiaddress: Bytes;
3024
+ } & Struct;
3025
+ readonly isRemoveMultiaddress: boolean;
3026
+ readonly asRemoveMultiaddress: {
3027
+ readonly multiaddress: Bytes;
3028
+ } & Struct;
3029
+ readonly isForceMspSignUp: boolean;
3030
+ readonly asForceMspSignUp: {
3031
+ readonly who: AccountId20;
3032
+ readonly mspId: H256;
3033
+ readonly capacity: u64;
3034
+ readonly multiaddresses: Vec<Bytes>;
3035
+ readonly valuePropPricePerGigaUnitOfDataPerBlock: u128;
3036
+ readonly commitment: Bytes;
3037
+ readonly valuePropMaxDataLimit: u64;
3038
+ readonly paymentAccount: AccountId20;
3039
+ } & Struct;
3040
+ readonly isForceBspSignUp: boolean;
3041
+ readonly asForceBspSignUp: {
3042
+ readonly who: AccountId20;
3043
+ readonly bspId: H256;
3044
+ readonly capacity: u64;
3045
+ readonly multiaddresses: Vec<Bytes>;
3046
+ readonly paymentAccount: AccountId20;
3047
+ readonly weight: Option<u32>;
3048
+ } & Struct;
3049
+ readonly isSlash: boolean;
3050
+ readonly asSlash: {
3051
+ readonly providerId: H256;
3052
+ } & Struct;
3053
+ readonly isTopUpDeposit: boolean;
3054
+ readonly isDeleteProvider: boolean;
3055
+ readonly asDeleteProvider: {
3056
+ readonly providerId: H256;
3057
+ } & Struct;
3058
+ readonly isStopAllCycles: boolean;
3059
+ readonly type:
3060
+ | "RequestMspSignUp"
3061
+ | "RequestBspSignUp"
3062
+ | "ConfirmSignUp"
3063
+ | "CancelSignUp"
3064
+ | "MspSignOff"
3065
+ | "BspSignOff"
3066
+ | "ChangeCapacity"
3067
+ | "AddValueProp"
3068
+ | "MakeValuePropUnavailable"
3069
+ | "AddMultiaddress"
3070
+ | "RemoveMultiaddress"
3071
+ | "ForceMspSignUp"
3072
+ | "ForceBspSignUp"
3073
+ | "Slash"
3074
+ | "TopUpDeposit"
3075
+ | "DeleteProvider"
3076
+ | "StopAllCycles";
3077
+ }
3078
+
3079
+ /** @name PalletFileSystemCall (278) */
3080
+ interface PalletFileSystemCall extends Enum {
3081
+ readonly isCreateBucket: boolean;
3082
+ readonly asCreateBucket: {
3083
+ readonly mspId: H256;
3084
+ readonly name: Bytes;
3085
+ readonly private: bool;
3086
+ readonly valuePropId: H256;
3087
+ } & Struct;
3088
+ readonly isRequestMoveBucket: boolean;
3089
+ readonly asRequestMoveBucket: {
3090
+ readonly bucketId: H256;
3091
+ readonly newMspId: H256;
3092
+ readonly newValuePropId: H256;
3093
+ } & Struct;
3094
+ readonly isMspRespondMoveBucketRequest: boolean;
3095
+ readonly asMspRespondMoveBucketRequest: {
3096
+ readonly bucketId: H256;
3097
+ readonly response: PalletFileSystemBucketMoveRequestResponse;
3098
+ } & Struct;
3099
+ readonly isUpdateBucketPrivacy: boolean;
3100
+ readonly asUpdateBucketPrivacy: {
3101
+ readonly bucketId: H256;
3102
+ readonly private: bool;
3103
+ } & Struct;
3104
+ readonly isCreateAndAssociateCollectionWithBucket: boolean;
3105
+ readonly asCreateAndAssociateCollectionWithBucket: {
3106
+ readonly bucketId: H256;
3107
+ } & Struct;
3108
+ readonly isDeleteBucket: boolean;
3109
+ readonly asDeleteBucket: {
3110
+ readonly bucketId: H256;
3111
+ } & Struct;
3112
+ readonly isIssueStorageRequest: boolean;
3113
+ readonly asIssueStorageRequest: {
3114
+ readonly bucketId: H256;
3115
+ readonly location: Bytes;
3116
+ readonly fingerprint: H256;
3117
+ readonly size_: u64;
3118
+ readonly mspId: H256;
3119
+ readonly peerIds: Vec<Bytes>;
3120
+ readonly replicationTarget: PalletFileSystemReplicationTarget;
3121
+ } & Struct;
3122
+ readonly isRevokeStorageRequest: boolean;
3123
+ readonly asRevokeStorageRequest: {
3124
+ readonly fileKey: H256;
3125
+ } & Struct;
3126
+ readonly isMspRespondStorageRequestsMultipleBuckets: boolean;
3127
+ readonly asMspRespondStorageRequestsMultipleBuckets: {
3128
+ readonly storageRequestMspResponse: Vec<PalletFileSystemStorageRequestMspBucketResponse>;
3129
+ } & Struct;
3130
+ readonly isMspStopStoringBucket: boolean;
3131
+ readonly asMspStopStoringBucket: {
3132
+ readonly bucketId: H256;
3133
+ } & Struct;
3134
+ readonly isBspVolunteer: boolean;
3135
+ readonly asBspVolunteer: {
3136
+ readonly fileKey: H256;
3137
+ } & Struct;
3138
+ readonly isBspConfirmStoring: boolean;
3139
+ readonly asBspConfirmStoring: {
3140
+ readonly nonInclusionForestProof: SpTrieStorageProofCompactProof;
3141
+ readonly fileKeysAndProofs: Vec<PalletFileSystemFileKeyWithProof>;
3142
+ } & Struct;
3143
+ readonly isBspRequestStopStoring: boolean;
3144
+ readonly asBspRequestStopStoring: {
3145
+ readonly fileKey: H256;
3146
+ readonly bucketId: H256;
3147
+ readonly location: Bytes;
3148
+ readonly owner: AccountId20;
3149
+ readonly fingerprint: H256;
3150
+ readonly size_: u64;
3151
+ readonly canServe: bool;
3152
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3153
+ } & Struct;
3154
+ readonly isBspConfirmStopStoring: boolean;
3155
+ readonly asBspConfirmStopStoring: {
3156
+ readonly fileKey: H256;
3157
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3158
+ } & Struct;
3159
+ readonly isStopStoringForInsolventUser: boolean;
3160
+ readonly asStopStoringForInsolventUser: {
3161
+ readonly fileKey: H256;
3162
+ readonly bucketId: H256;
3163
+ readonly location: Bytes;
3164
+ readonly owner: AccountId20;
3165
+ readonly fingerprint: H256;
3166
+ readonly size_: u64;
3167
+ readonly inclusionForestProof: SpTrieStorageProofCompactProof;
3168
+ } & Struct;
3169
+ readonly isMspStopStoringBucketForInsolventUser: boolean;
3170
+ readonly asMspStopStoringBucketForInsolventUser: {
3171
+ readonly bucketId: H256;
3172
+ } & Struct;
3173
+ readonly isRequestDeleteFile: boolean;
3174
+ readonly asRequestDeleteFile: {
3175
+ readonly signedIntention: PalletFileSystemFileOperationIntention;
3176
+ readonly signature: FpAccountEthereumSignature;
3177
+ readonly bucketId: H256;
3178
+ readonly location: Bytes;
3179
+ readonly size_: u64;
3180
+ readonly fingerprint: H256;
3181
+ } & Struct;
3182
+ readonly isDeleteFile: boolean;
3183
+ readonly asDeleteFile: {
3184
+ readonly fileOwner: AccountId20;
3185
+ readonly signedIntention: PalletFileSystemFileOperationIntention;
3186
+ readonly signature: FpAccountEthereumSignature;
3187
+ readonly bucketId: H256;
3188
+ readonly location: Bytes;
3189
+ readonly size_: u64;
3190
+ readonly fingerprint: H256;
3191
+ readonly bspId: Option<H256>;
3192
+ readonly forestProof: SpTrieStorageProofCompactProof;
3193
+ } & Struct;
3194
+ readonly isDeleteFileForIncompleteStorageRequest: boolean;
3195
+ readonly asDeleteFileForIncompleteStorageRequest: {
3196
+ readonly fileKey: H256;
3197
+ readonly bspId: Option<H256>;
3198
+ readonly forestProof: SpTrieStorageProofCompactProof;
3199
+ } & Struct;
3200
+ readonly type:
3201
+ | "CreateBucket"
3202
+ | "RequestMoveBucket"
3203
+ | "MspRespondMoveBucketRequest"
3204
+ | "UpdateBucketPrivacy"
3205
+ | "CreateAndAssociateCollectionWithBucket"
3206
+ | "DeleteBucket"
3207
+ | "IssueStorageRequest"
3208
+ | "RevokeStorageRequest"
3209
+ | "MspRespondStorageRequestsMultipleBuckets"
3210
+ | "MspStopStoringBucket"
3211
+ | "BspVolunteer"
3212
+ | "BspConfirmStoring"
3213
+ | "BspRequestStopStoring"
3214
+ | "BspConfirmStopStoring"
3215
+ | "StopStoringForInsolventUser"
3216
+ | "MspStopStoringBucketForInsolventUser"
3217
+ | "RequestDeleteFile"
3218
+ | "DeleteFile"
3219
+ | "DeleteFileForIncompleteStorageRequest";
3220
+ }
3221
+
3222
+ /** @name PalletFileSystemBucketMoveRequestResponse (279) */
3223
+ interface PalletFileSystemBucketMoveRequestResponse extends Enum {
3224
+ readonly isAccepted: boolean;
3225
+ readonly isRejected: boolean;
3226
+ readonly type: "Accepted" | "Rejected";
3227
+ }
3228
+
3229
+ /** @name PalletFileSystemReplicationTarget (280) */
3230
+ interface PalletFileSystemReplicationTarget extends Enum {
3231
+ readonly isBasic: boolean;
3232
+ readonly isStandard: boolean;
3233
+ readonly isHighSecurity: boolean;
3234
+ readonly isSuperHighSecurity: boolean;
3235
+ readonly isUltraHighSecurity: boolean;
3236
+ readonly isCustom: boolean;
3237
+ readonly asCustom: u32;
3238
+ readonly type:
3239
+ | "Basic"
3240
+ | "Standard"
3241
+ | "HighSecurity"
3242
+ | "SuperHighSecurity"
3243
+ | "UltraHighSecurity"
3244
+ | "Custom";
3245
+ }
3246
+
3247
+ /** @name PalletFileSystemStorageRequestMspBucketResponse (282) */
3248
+ interface PalletFileSystemStorageRequestMspBucketResponse extends Struct {
3249
+ readonly bucketId: H256;
3250
+ readonly accept: Option<PalletFileSystemStorageRequestMspAcceptedFileKeys>;
3251
+ readonly reject: Vec<PalletFileSystemRejectedStorageRequest>;
3252
+ }
3253
+
3254
+ /** @name PalletFileSystemStorageRequestMspAcceptedFileKeys (284) */
3255
+ interface PalletFileSystemStorageRequestMspAcceptedFileKeys extends Struct {
3256
+ readonly fileKeysAndProofs: Vec<PalletFileSystemFileKeyWithProof>;
3257
+ readonly forestProof: SpTrieStorageProofCompactProof;
3258
+ }
3259
+
3260
+ /** @name PalletFileSystemFileKeyWithProof (286) */
3261
+ interface PalletFileSystemFileKeyWithProof extends Struct {
3262
+ readonly fileKey: H256;
3263
+ readonly proof: ShpFileKeyVerifierFileKeyProof;
3264
+ }
3265
+
3266
+ /** @name PalletFileSystemRejectedStorageRequest (288) */
3267
+ interface PalletFileSystemRejectedStorageRequest extends Struct {
3268
+ readonly fileKey: H256;
3269
+ readonly reason: PalletFileSystemRejectedStorageRequestReason;
3270
+ }
3271
+
3272
+ /** @name PalletProofsDealerCall (290) */
3273
+ interface PalletProofsDealerCall extends Enum {
3274
+ readonly isChallenge: boolean;
3275
+ readonly asChallenge: {
3276
+ readonly key: H256;
3277
+ } & Struct;
3278
+ readonly isSubmitProof: boolean;
3279
+ readonly asSubmitProof: {
3280
+ readonly proof: PalletProofsDealerProof;
3281
+ readonly provider: Option<H256>;
3282
+ } & Struct;
3283
+ readonly isForceInitialiseChallengeCycle: boolean;
3284
+ readonly asForceInitialiseChallengeCycle: {
3285
+ readonly provider: H256;
3286
+ } & Struct;
3287
+ readonly isSetPaused: boolean;
3288
+ readonly asSetPaused: {
3289
+ readonly paused: bool;
3290
+ } & Struct;
3291
+ readonly isPriorityChallenge: boolean;
3292
+ readonly asPriorityChallenge: {
3293
+ readonly key: H256;
3294
+ readonly shouldRemoveKey: bool;
3295
+ } & Struct;
3296
+ readonly type:
3297
+ | "Challenge"
3298
+ | "SubmitProof"
3299
+ | "ForceInitialiseChallengeCycle"
3300
+ | "SetPaused"
3301
+ | "PriorityChallenge";
3302
+ }
3303
+
3304
+ /** @name PalletRandomnessCall (291) */
3305
+ interface PalletRandomnessCall extends Enum {
3306
+ readonly isSetBabeRandomness: boolean;
3307
+ readonly type: "SetBabeRandomness";
3308
+ }
3309
+
3310
+ /** @name PalletPaymentStreamsCall (292) */
3311
+ interface PalletPaymentStreamsCall extends Enum {
3312
+ readonly isCreateFixedRatePaymentStream: boolean;
3313
+ readonly asCreateFixedRatePaymentStream: {
3314
+ readonly providerId: H256;
3315
+ readonly userAccount: AccountId20;
3316
+ readonly rate: u128;
3317
+ } & Struct;
3318
+ readonly isUpdateFixedRatePaymentStream: boolean;
3319
+ readonly asUpdateFixedRatePaymentStream: {
3320
+ readonly providerId: H256;
3321
+ readonly userAccount: AccountId20;
3322
+ readonly newRate: u128;
3323
+ } & Struct;
3324
+ readonly isDeleteFixedRatePaymentStream: boolean;
3325
+ readonly asDeleteFixedRatePaymentStream: {
3326
+ readonly providerId: H256;
3327
+ readonly userAccount: AccountId20;
3328
+ } & Struct;
3329
+ readonly isCreateDynamicRatePaymentStream: boolean;
3330
+ readonly asCreateDynamicRatePaymentStream: {
3331
+ readonly providerId: H256;
3332
+ readonly userAccount: AccountId20;
3333
+ readonly amountProvided: u64;
3334
+ } & Struct;
3335
+ readonly isUpdateDynamicRatePaymentStream: boolean;
3336
+ readonly asUpdateDynamicRatePaymentStream: {
3337
+ readonly providerId: H256;
3338
+ readonly userAccount: AccountId20;
3339
+ readonly newAmountProvided: u64;
3340
+ } & Struct;
3341
+ readonly isDeleteDynamicRatePaymentStream: boolean;
3342
+ readonly asDeleteDynamicRatePaymentStream: {
3343
+ readonly providerId: H256;
3344
+ readonly userAccount: AccountId20;
3345
+ } & Struct;
3346
+ readonly isChargePaymentStreams: boolean;
3347
+ readonly asChargePaymentStreams: {
3348
+ readonly userAccount: AccountId20;
3349
+ } & Struct;
3350
+ readonly isChargeMultipleUsersPaymentStreams: boolean;
3351
+ readonly asChargeMultipleUsersPaymentStreams: {
3352
+ readonly userAccounts: Vec<AccountId20>;
3353
+ } & Struct;
3354
+ readonly isPayOutstandingDebt: boolean;
3355
+ readonly asPayOutstandingDebt: {
3356
+ readonly providers: Vec<H256>;
3357
+ } & Struct;
3358
+ readonly isClearInsolventFlag: boolean;
3359
+ readonly type:
3360
+ | "CreateFixedRatePaymentStream"
3361
+ | "UpdateFixedRatePaymentStream"
3362
+ | "DeleteFixedRatePaymentStream"
3363
+ | "CreateDynamicRatePaymentStream"
3364
+ | "UpdateDynamicRatePaymentStream"
3365
+ | "DeleteDynamicRatePaymentStream"
3366
+ | "ChargePaymentStreams"
3367
+ | "ChargeMultipleUsersPaymentStreams"
3368
+ | "PayOutstandingDebt"
3369
+ | "ClearInsolventFlag";
3370
+ }
3371
+
3372
+ /** @name PalletBucketNftsCall (293) */
3373
+ interface PalletBucketNftsCall extends Enum {
3374
+ readonly isShareAccess: boolean;
3375
+ readonly asShareAccess: {
3376
+ readonly recipient: AccountId20;
3377
+ readonly bucket: H256;
3378
+ readonly itemId: u32;
3379
+ readonly readAccessRegex: Option<Bytes>;
3380
+ } & Struct;
3381
+ readonly isUpdateReadAccess: boolean;
3382
+ readonly asUpdateReadAccess: {
3383
+ readonly bucket: H256;
3384
+ readonly itemId: u32;
3385
+ readonly readAccessRegex: Option<Bytes>;
3386
+ } & Struct;
3387
+ readonly type: "ShareAccess" | "UpdateReadAccess";
3388
+ }
3389
+
3390
+ /** @name PalletNftsCall (295) */
3391
+ interface PalletNftsCall extends Enum {
3392
+ readonly isCreate: boolean;
3393
+ readonly asCreate: {
3394
+ readonly admin: AccountId20;
3395
+ readonly config: PalletNftsCollectionConfig;
3396
+ } & Struct;
3397
+ readonly isForceCreate: boolean;
3398
+ readonly asForceCreate: {
3399
+ readonly owner: AccountId20;
3400
+ readonly config: PalletNftsCollectionConfig;
3401
+ } & Struct;
3402
+ readonly isDestroy: boolean;
3403
+ readonly asDestroy: {
3404
+ readonly collection: u32;
3405
+ readonly witness: PalletNftsDestroyWitness;
3406
+ } & Struct;
3407
+ readonly isMint: boolean;
3408
+ readonly asMint: {
3409
+ readonly collection: u32;
3410
+ readonly item: u32;
3411
+ readonly mintTo: AccountId20;
3412
+ readonly witnessData: Option<PalletNftsMintWitness>;
3413
+ } & Struct;
3414
+ readonly isForceMint: boolean;
3415
+ readonly asForceMint: {
3416
+ readonly collection: u32;
3417
+ readonly item: u32;
3418
+ readonly mintTo: AccountId20;
3419
+ readonly itemConfig: PalletNftsItemConfig;
3420
+ } & Struct;
3421
+ readonly isBurn: boolean;
3422
+ readonly asBurn: {
3423
+ readonly collection: u32;
3424
+ readonly item: u32;
3425
+ } & Struct;
3426
+ readonly isTransfer: boolean;
3427
+ readonly asTransfer: {
3428
+ readonly collection: u32;
3429
+ readonly item: u32;
3430
+ readonly dest: AccountId20;
3431
+ } & Struct;
3432
+ readonly isRedeposit: boolean;
3433
+ readonly asRedeposit: {
3434
+ readonly collection: u32;
3435
+ readonly items: Vec<u32>;
3436
+ } & Struct;
3437
+ readonly isLockItemTransfer: boolean;
3438
+ readonly asLockItemTransfer: {
3439
+ readonly collection: u32;
3440
+ readonly item: u32;
3441
+ } & Struct;
3442
+ readonly isUnlockItemTransfer: boolean;
3443
+ readonly asUnlockItemTransfer: {
3444
+ readonly collection: u32;
3445
+ readonly item: u32;
3446
+ } & Struct;
3447
+ readonly isLockCollection: boolean;
3448
+ readonly asLockCollection: {
3449
+ readonly collection: u32;
3450
+ readonly lockSettings: u64;
3451
+ } & Struct;
3452
+ readonly isTransferOwnership: boolean;
3453
+ readonly asTransferOwnership: {
3454
+ readonly collection: u32;
3455
+ readonly newOwner: AccountId20;
3456
+ } & Struct;
3457
+ readonly isSetTeam: boolean;
3458
+ readonly asSetTeam: {
3459
+ readonly collection: u32;
3460
+ readonly issuer: Option<AccountId20>;
3461
+ readonly admin: Option<AccountId20>;
3462
+ readonly freezer: Option<AccountId20>;
3463
+ } & Struct;
3464
+ readonly isForceCollectionOwner: boolean;
3465
+ readonly asForceCollectionOwner: {
3466
+ readonly collection: u32;
3467
+ readonly owner: AccountId20;
3468
+ } & Struct;
3469
+ readonly isForceCollectionConfig: boolean;
3470
+ readonly asForceCollectionConfig: {
3471
+ readonly collection: u32;
3472
+ readonly config: PalletNftsCollectionConfig;
3473
+ } & Struct;
3474
+ readonly isApproveTransfer: boolean;
3475
+ readonly asApproveTransfer: {
3476
+ readonly collection: u32;
3477
+ readonly item: u32;
3478
+ readonly delegate: AccountId20;
3479
+ readonly maybeDeadline: Option<u32>;
3480
+ } & Struct;
3481
+ readonly isCancelApproval: boolean;
3482
+ readonly asCancelApproval: {
3483
+ readonly collection: u32;
3484
+ readonly item: u32;
3485
+ readonly delegate: AccountId20;
3486
+ } & Struct;
3487
+ readonly isClearAllTransferApprovals: boolean;
3488
+ readonly asClearAllTransferApprovals: {
3489
+ readonly collection: u32;
3490
+ readonly item: u32;
3491
+ } & Struct;
3492
+ readonly isLockItemProperties: boolean;
3493
+ readonly asLockItemProperties: {
3494
+ readonly collection: u32;
3495
+ readonly item: u32;
3496
+ readonly lockMetadata: bool;
3497
+ readonly lockAttributes: bool;
3498
+ } & Struct;
3499
+ readonly isSetAttribute: boolean;
3500
+ readonly asSetAttribute: {
3501
+ readonly collection: u32;
3502
+ readonly maybeItem: Option<u32>;
3503
+ readonly namespace: PalletNftsAttributeNamespace;
3504
+ readonly key: Bytes;
3505
+ readonly value: Bytes;
3506
+ } & Struct;
3507
+ readonly isForceSetAttribute: boolean;
3508
+ readonly asForceSetAttribute: {
3509
+ readonly setAs: Option<AccountId20>;
3510
+ readonly collection: u32;
3511
+ readonly maybeItem: Option<u32>;
3512
+ readonly namespace: PalletNftsAttributeNamespace;
3513
+ readonly key: Bytes;
3514
+ readonly value: Bytes;
3515
+ } & Struct;
3516
+ readonly isClearAttribute: boolean;
3517
+ readonly asClearAttribute: {
3518
+ readonly collection: u32;
3519
+ readonly maybeItem: Option<u32>;
3520
+ readonly namespace: PalletNftsAttributeNamespace;
3521
+ readonly key: Bytes;
3522
+ } & Struct;
3523
+ readonly isApproveItemAttributes: boolean;
3524
+ readonly asApproveItemAttributes: {
3525
+ readonly collection: u32;
3526
+ readonly item: u32;
3527
+ readonly delegate: AccountId20;
3528
+ } & Struct;
3529
+ readonly isCancelItemAttributesApproval: boolean;
3530
+ readonly asCancelItemAttributesApproval: {
3531
+ readonly collection: u32;
3532
+ readonly item: u32;
3533
+ readonly delegate: AccountId20;
3534
+ readonly witness: PalletNftsCancelAttributesApprovalWitness;
3535
+ } & Struct;
3536
+ readonly isSetMetadata: boolean;
3537
+ readonly asSetMetadata: {
3538
+ readonly collection: u32;
3539
+ readonly item: u32;
3540
+ readonly data: Bytes;
3541
+ } & Struct;
3542
+ readonly isClearMetadata: boolean;
3543
+ readonly asClearMetadata: {
3544
+ readonly collection: u32;
3545
+ readonly item: u32;
3546
+ } & Struct;
3547
+ readonly isSetCollectionMetadata: boolean;
3548
+ readonly asSetCollectionMetadata: {
3549
+ readonly collection: u32;
3550
+ readonly data: Bytes;
3551
+ } & Struct;
3552
+ readonly isClearCollectionMetadata: boolean;
3553
+ readonly asClearCollectionMetadata: {
3554
+ readonly collection: u32;
3555
+ } & Struct;
3556
+ readonly isSetAcceptOwnership: boolean;
3557
+ readonly asSetAcceptOwnership: {
3558
+ readonly maybeCollection: Option<u32>;
3559
+ } & Struct;
3560
+ readonly isSetCollectionMaxSupply: boolean;
3561
+ readonly asSetCollectionMaxSupply: {
3562
+ readonly collection: u32;
3563
+ readonly maxSupply: u32;
3564
+ } & Struct;
3565
+ readonly isUpdateMintSettings: boolean;
3566
+ readonly asUpdateMintSettings: {
3567
+ readonly collection: u32;
3568
+ readonly mintSettings: PalletNftsMintSettings;
3569
+ } & Struct;
3570
+ readonly isSetPrice: boolean;
3571
+ readonly asSetPrice: {
3572
+ readonly collection: u32;
3573
+ readonly item: u32;
3574
+ readonly price: Option<u128>;
3575
+ readonly whitelistedBuyer: Option<AccountId20>;
3576
+ } & Struct;
3577
+ readonly isBuyItem: boolean;
3578
+ readonly asBuyItem: {
3579
+ readonly collection: u32;
3580
+ readonly item: u32;
3581
+ readonly bidPrice: u128;
3582
+ } & Struct;
3583
+ readonly isPayTips: boolean;
3584
+ readonly asPayTips: {
3585
+ readonly tips: Vec<PalletNftsItemTip>;
3586
+ } & Struct;
3587
+ readonly isCreateSwap: boolean;
3588
+ readonly asCreateSwap: {
3589
+ readonly offeredCollection: u32;
3590
+ readonly offeredItem: u32;
3591
+ readonly desiredCollection: u32;
3592
+ readonly maybeDesiredItem: Option<u32>;
3593
+ readonly maybePrice: Option<PalletNftsPriceWithDirection>;
3594
+ readonly duration: u32;
3595
+ } & Struct;
3596
+ readonly isCancelSwap: boolean;
3597
+ readonly asCancelSwap: {
3598
+ readonly offeredCollection: u32;
3599
+ readonly offeredItem: u32;
3600
+ } & Struct;
3601
+ readonly isClaimSwap: boolean;
3602
+ readonly asClaimSwap: {
3603
+ readonly sendCollection: u32;
3604
+ readonly sendItem: u32;
3605
+ readonly receiveCollection: u32;
3606
+ readonly receiveItem: u32;
3607
+ readonly witnessPrice: Option<PalletNftsPriceWithDirection>;
3608
+ } & Struct;
3609
+ readonly isMintPreSigned: boolean;
3610
+ readonly asMintPreSigned: {
3611
+ readonly mintData: PalletNftsPreSignedMint;
3612
+ readonly signature: FpAccountEthereumSignature;
3613
+ readonly signer: AccountId20;
3614
+ } & Struct;
3615
+ readonly isSetAttributesPreSigned: boolean;
3616
+ readonly asSetAttributesPreSigned: {
3617
+ readonly data: PalletNftsPreSignedAttributes;
3618
+ readonly signature: FpAccountEthereumSignature;
3619
+ readonly signer: AccountId20;
3620
+ } & Struct;
3621
+ readonly type:
3622
+ | "Create"
3623
+ | "ForceCreate"
3624
+ | "Destroy"
3625
+ | "Mint"
3626
+ | "ForceMint"
3627
+ | "Burn"
3628
+ | "Transfer"
3629
+ | "Redeposit"
3630
+ | "LockItemTransfer"
3631
+ | "UnlockItemTransfer"
3632
+ | "LockCollection"
3633
+ | "TransferOwnership"
3634
+ | "SetTeam"
3635
+ | "ForceCollectionOwner"
3636
+ | "ForceCollectionConfig"
3637
+ | "ApproveTransfer"
3638
+ | "CancelApproval"
3639
+ | "ClearAllTransferApprovals"
3640
+ | "LockItemProperties"
3641
+ | "SetAttribute"
3642
+ | "ForceSetAttribute"
3643
+ | "ClearAttribute"
3644
+ | "ApproveItemAttributes"
3645
+ | "CancelItemAttributesApproval"
3646
+ | "SetMetadata"
3647
+ | "ClearMetadata"
3648
+ | "SetCollectionMetadata"
3649
+ | "ClearCollectionMetadata"
3650
+ | "SetAcceptOwnership"
3651
+ | "SetCollectionMaxSupply"
3652
+ | "UpdateMintSettings"
3653
+ | "SetPrice"
3654
+ | "BuyItem"
3655
+ | "PayTips"
3656
+ | "CreateSwap"
3657
+ | "CancelSwap"
3658
+ | "ClaimSwap"
3659
+ | "MintPreSigned"
3660
+ | "SetAttributesPreSigned";
3661
+ }
3662
+
3663
+ /** @name PalletNftsCollectionConfig (296) */
3664
+ interface PalletNftsCollectionConfig extends Struct {
3665
+ readonly settings: u64;
3666
+ readonly maxSupply: Option<u32>;
3667
+ readonly mintSettings: PalletNftsMintSettings;
3668
+ }
3669
+
3670
+ /** @name PalletNftsCollectionSetting (298) */
3671
+ interface PalletNftsCollectionSetting extends Enum {
3672
+ readonly isTransferableItems: boolean;
3673
+ readonly isUnlockedMetadata: boolean;
3674
+ readonly isUnlockedAttributes: boolean;
3675
+ readonly isUnlockedMaxSupply: boolean;
3676
+ readonly isDepositRequired: boolean;
3677
+ readonly type:
3678
+ | "TransferableItems"
3679
+ | "UnlockedMetadata"
3680
+ | "UnlockedAttributes"
3681
+ | "UnlockedMaxSupply"
3682
+ | "DepositRequired";
3683
+ }
3684
+
3685
+ /** @name PalletNftsMintSettings (299) */
3686
+ interface PalletNftsMintSettings extends Struct {
3687
+ readonly mintType: PalletNftsMintType;
3688
+ readonly price: Option<u128>;
3689
+ readonly startBlock: Option<u32>;
3690
+ readonly endBlock: Option<u32>;
3691
+ readonly defaultItemSettings: u64;
3692
+ }
3693
+
3694
+ /** @name PalletNftsMintType (300) */
3695
+ interface PalletNftsMintType extends Enum {
3696
+ readonly isIssuer: boolean;
3697
+ readonly isPublic: boolean;
3698
+ readonly isHolderOf: boolean;
3699
+ readonly asHolderOf: u32;
3700
+ readonly type: "Issuer" | "Public" | "HolderOf";
3701
+ }
3702
+
3703
+ /** @name PalletNftsItemSetting (302) */
3704
+ interface PalletNftsItemSetting extends Enum {
3705
+ readonly isTransferable: boolean;
3706
+ readonly isUnlockedMetadata: boolean;
3707
+ readonly isUnlockedAttributes: boolean;
3708
+ readonly type: "Transferable" | "UnlockedMetadata" | "UnlockedAttributes";
3709
+ }
3710
+
3711
+ /** @name PalletNftsDestroyWitness (303) */
3712
+ interface PalletNftsDestroyWitness extends Struct {
3713
+ readonly itemMetadatas: Compact<u32>;
3714
+ readonly itemConfigs: Compact<u32>;
3715
+ readonly attributes: Compact<u32>;
3716
+ }
3717
+
3718
+ /** @name PalletNftsMintWitness (305) */
3719
+ interface PalletNftsMintWitness extends Struct {
3720
+ readonly ownedItem: Option<u32>;
3721
+ readonly mintPrice: Option<u128>;
3722
+ }
3723
+
3724
+ /** @name PalletNftsItemConfig (306) */
3725
+ interface PalletNftsItemConfig extends Struct {
3726
+ readonly settings: u64;
3727
+ }
3728
+
3729
+ /** @name PalletNftsCancelAttributesApprovalWitness (307) */
3730
+ interface PalletNftsCancelAttributesApprovalWitness extends Struct {
3731
+ readonly accountAttributes: u32;
3732
+ }
3733
+
3734
+ /** @name PalletNftsItemTip (309) */
3735
+ interface PalletNftsItemTip extends Struct {
3736
+ readonly collection: u32;
3737
+ readonly item: u32;
3738
+ readonly receiver: AccountId20;
3739
+ readonly amount: u128;
3740
+ }
3741
+
3742
+ /** @name PalletNftsPreSignedMint (311) */
3743
+ interface PalletNftsPreSignedMint extends Struct {
3744
+ readonly collection: u32;
3745
+ readonly item: u32;
3746
+ readonly attributes: Vec<ITuple<[Bytes, Bytes]>>;
3747
+ readonly metadata: Bytes;
3748
+ readonly onlyAccount: Option<AccountId20>;
3749
+ readonly deadline: u32;
3750
+ readonly mintPrice: Option<u128>;
3751
+ }
3752
+
3753
+ /** @name PalletNftsPreSignedAttributes (312) */
3754
+ interface PalletNftsPreSignedAttributes extends Struct {
3755
+ readonly collection: u32;
3756
+ readonly item: u32;
3757
+ readonly attributes: Vec<ITuple<[Bytes, Bytes]>>;
3758
+ readonly namespace: PalletNftsAttributeNamespace;
3759
+ readonly deadline: u32;
3760
+ }
3761
+
3762
+ /** @name PalletSudoError (313) */
3763
+ interface PalletSudoError extends Enum {
3764
+ readonly isRequireSudo: boolean;
3765
+ readonly type: "RequireSudo";
3766
+ }
3767
+
3768
+ /** @name FpRpcTransactionStatus (315) */
3769
+ interface FpRpcTransactionStatus extends Struct {
3770
+ readonly transactionHash: H256;
3771
+ readonly transactionIndex: u32;
3772
+ readonly from: H160;
3773
+ readonly to: Option<H160>;
3774
+ readonly contractAddress: Option<H160>;
3775
+ readonly logs: Vec<EthereumLog>;
3776
+ readonly logsBloom: EthbloomBloom;
3777
+ }
3778
+
3779
+ /** @name EthbloomBloom (318) */
3780
+ interface EthbloomBloom extends U8aFixed {}
3781
+
3782
+ /** @name EthereumReceiptReceiptV3 (320) */
3783
+ interface EthereumReceiptReceiptV3 extends Enum {
3784
+ readonly isLegacy: boolean;
3785
+ readonly asLegacy: EthereumReceiptEip658ReceiptData;
3786
+ readonly isEip2930: boolean;
3787
+ readonly asEip2930: EthereumReceiptEip658ReceiptData;
3788
+ readonly isEip1559: boolean;
3789
+ readonly asEip1559: EthereumReceiptEip658ReceiptData;
3790
+ readonly type: "Legacy" | "Eip2930" | "Eip1559";
3791
+ }
3792
+
3793
+ /** @name EthereumReceiptEip658ReceiptData (321) */
3794
+ interface EthereumReceiptEip658ReceiptData extends Struct {
3795
+ readonly statusCode: u8;
3796
+ readonly usedGas: U256;
3797
+ readonly logsBloom: EthbloomBloom;
3798
+ readonly logs: Vec<EthereumLog>;
3799
+ }
3800
+
3801
+ /** @name EthereumBlock (322) */
3802
+ interface EthereumBlock extends Struct {
3803
+ readonly header: EthereumHeader;
3804
+ readonly transactions: Vec<EthereumTransactionTransactionV2>;
3805
+ readonly ommers: Vec<EthereumHeader>;
3806
+ }
3807
+
3808
+ /** @name EthereumHeader (323) */
3809
+ interface EthereumHeader extends Struct {
3810
+ readonly parentHash: H256;
3811
+ readonly ommersHash: H256;
3812
+ readonly beneficiary: H160;
3813
+ readonly stateRoot: H256;
3814
+ readonly transactionsRoot: H256;
3815
+ readonly receiptsRoot: H256;
3816
+ readonly logsBloom: EthbloomBloom;
3817
+ readonly difficulty: U256;
3818
+ readonly number: U256;
3819
+ readonly gasLimit: U256;
3820
+ readonly gasUsed: U256;
3821
+ readonly timestamp: u64;
3822
+ readonly extraData: Bytes;
3823
+ readonly mixHash: H256;
3824
+ readonly nonce: EthereumTypesHashH64;
3825
+ }
3826
+
3827
+ /** @name EthereumTypesHashH64 (324) */
3828
+ interface EthereumTypesHashH64 extends U8aFixed {}
3829
+
3830
+ /** @name PalletEthereumError (329) */
3831
+ interface PalletEthereumError extends Enum {
3832
+ readonly isInvalidSignature: boolean;
3833
+ readonly isPreLogExists: boolean;
3834
+ readonly type: "InvalidSignature" | "PreLogExists";
3835
+ }
3836
+
3837
+ /** @name PalletEvmCodeMetadata (330) */
3838
+ interface PalletEvmCodeMetadata extends Struct {
3839
+ readonly size_: u64;
3840
+ readonly hash_: H256;
3841
+ }
3842
+
3843
+ /** @name PalletEvmError (332) */
3844
+ interface PalletEvmError extends Enum {
3845
+ readonly isBalanceLow: boolean;
3846
+ readonly isFeeOverflow: boolean;
3847
+ readonly isPaymentOverflow: boolean;
3848
+ readonly isWithdrawFailed: boolean;
3849
+ readonly isGasPriceTooLow: boolean;
3850
+ readonly isInvalidNonce: boolean;
3851
+ readonly isGasLimitTooLow: boolean;
3852
+ readonly isGasLimitTooHigh: boolean;
3853
+ readonly isInvalidChainId: boolean;
3854
+ readonly isInvalidSignature: boolean;
3855
+ readonly isReentrancy: boolean;
3856
+ readonly isTransactionMustComeFromEOA: boolean;
3857
+ readonly isUndefined: boolean;
3858
+ readonly type:
3859
+ | "BalanceLow"
3860
+ | "FeeOverflow"
3861
+ | "PaymentOverflow"
3862
+ | "WithdrawFailed"
3863
+ | "GasPriceTooLow"
3864
+ | "InvalidNonce"
3865
+ | "GasLimitTooLow"
3866
+ | "GasLimitTooHigh"
3867
+ | "InvalidChainId"
3868
+ | "InvalidSignature"
3869
+ | "Reentrancy"
3870
+ | "TransactionMustComeFromEOA"
3871
+ | "Undefined";
3872
+ }
3873
+
3874
+ /** @name PalletStorageProvidersSignUpRequest (333) */
3875
+ interface PalletStorageProvidersSignUpRequest extends Struct {
3876
+ readonly spSignUpRequest: PalletStorageProvidersSignUpRequestSpParams;
3877
+ readonly at: u32;
3878
+ }
3879
+
3880
+ /** @name PalletStorageProvidersSignUpRequestSpParams (334) */
3881
+ interface PalletStorageProvidersSignUpRequestSpParams extends Enum {
3882
+ readonly isBackupStorageProvider: boolean;
3883
+ readonly asBackupStorageProvider: PalletStorageProvidersBackupStorageProvider;
3884
+ readonly isMainStorageProvider: boolean;
3885
+ readonly asMainStorageProvider: PalletStorageProvidersMainStorageProviderSignUpRequest;
3886
+ readonly type: "BackupStorageProvider" | "MainStorageProvider";
3887
+ }
3888
+
3889
+ /** @name PalletStorageProvidersBackupStorageProvider (335) */
3890
+ interface PalletStorageProvidersBackupStorageProvider extends Struct {
3891
+ readonly capacity: u64;
3892
+ readonly capacityUsed: u64;
3893
+ readonly multiaddresses: Vec<Bytes>;
3894
+ readonly root: H256;
3895
+ readonly lastCapacityChange: u32;
3896
+ readonly ownerAccount: AccountId20;
3897
+ readonly paymentAccount: AccountId20;
3898
+ readonly reputationWeight: u32;
3899
+ readonly signUpBlock: u32;
3900
+ }
3901
+
3902
+ /** @name PalletStorageProvidersMainStorageProviderSignUpRequest (336) */
3903
+ interface PalletStorageProvidersMainStorageProviderSignUpRequest extends Struct {
3904
+ readonly mspInfo: PalletStorageProvidersMainStorageProvider;
3905
+ readonly valueProp: PalletStorageProvidersValueProposition;
3906
+ }
3907
+
3908
+ /** @name PalletStorageProvidersMainStorageProvider (337) */
3909
+ interface PalletStorageProvidersMainStorageProvider extends Struct {
3910
+ readonly capacity: u64;
3911
+ readonly capacityUsed: u64;
3912
+ readonly multiaddresses: Vec<Bytes>;
3913
+ readonly amountOfBuckets: u128;
3914
+ readonly amountOfValueProps: u32;
3915
+ readonly lastCapacityChange: u32;
3916
+ readonly ownerAccount: AccountId20;
3917
+ readonly paymentAccount: AccountId20;
3918
+ readonly signUpBlock: u32;
3919
+ }
3920
+
3921
+ /** @name PalletStorageProvidersBucket (338) */
3922
+ interface PalletStorageProvidersBucket extends Struct {
3923
+ readonly root: H256;
3924
+ readonly userId: AccountId20;
3925
+ readonly mspId: Option<H256>;
3926
+ readonly private: bool;
3927
+ readonly readAccessGroupId: Option<u32>;
3928
+ readonly size_: u64;
3929
+ readonly valuePropId: H256;
3930
+ }
3931
+
3932
+ /** @name PalletStorageProvidersError (342) */
3933
+ interface PalletStorageProvidersError extends Enum {
3934
+ readonly isAlreadyRegistered: boolean;
3935
+ readonly isSignUpNotRequested: boolean;
3936
+ readonly isSignUpRequestPending: boolean;
3937
+ readonly isNoMultiAddress: boolean;
3938
+ readonly isInvalidMultiAddress: boolean;
3939
+ readonly isStorageTooLow: boolean;
3940
+ readonly isNotEnoughBalance: boolean;
3941
+ readonly isCannotHoldDeposit: boolean;
3942
+ readonly isStorageStillInUse: boolean;
3943
+ readonly isSignOffPeriodNotPassed: boolean;
3944
+ readonly isRandomnessNotValidYet: boolean;
3945
+ readonly isSignUpRequestExpired: boolean;
3946
+ readonly isNewCapacityLessThanUsedStorage: boolean;
3947
+ readonly isNewCapacityEqualsCurrentCapacity: boolean;
3948
+ readonly isNewCapacityCantBeZero: boolean;
3949
+ readonly isNotEnoughTimePassed: boolean;
3950
+ readonly isNewUsedCapacityExceedsStorageCapacity: boolean;
3951
+ readonly isDepositTooLow: boolean;
3952
+ readonly isNotRegistered: boolean;
3953
+ readonly isNoUserId: boolean;
3954
+ readonly isNoBucketId: boolean;
3955
+ readonly isSpRegisteredButDataNotFound: boolean;
3956
+ readonly isBucketNotFound: boolean;
3957
+ readonly isBucketAlreadyExists: boolean;
3958
+ readonly isBucketNotEmpty: boolean;
3959
+ readonly isBucketsMovedAmountMismatch: boolean;
3960
+ readonly isAppendBucketToMspFailed: boolean;
3961
+ readonly isProviderNotSlashable: boolean;
3962
+ readonly isTopUpNotRequired: boolean;
3963
+ readonly isBucketMustHaveMspForOperation: boolean;
3964
+ readonly isMultiAddressesMaxAmountReached: boolean;
3965
+ readonly isMultiAddressNotFound: boolean;
3966
+ readonly isMultiAddressAlreadyExists: boolean;
3967
+ readonly isLastMultiAddressCantBeRemoved: boolean;
3968
+ readonly isValuePropositionNotFound: boolean;
3969
+ readonly isValuePropositionAlreadyExists: boolean;
3970
+ readonly isValuePropositionNotAvailable: boolean;
3971
+ readonly isCantDeactivateLastValueProp: boolean;
3972
+ readonly isValuePropositionsDeletedAmountMismatch: boolean;
3973
+ readonly isFixedRatePaymentStreamNotFound: boolean;
3974
+ readonly isMspAlreadyAssignedToBucket: boolean;
3975
+ readonly isBucketSizeExceedsLimit: boolean;
3976
+ readonly isBucketHasNoValueProposition: boolean;
3977
+ readonly isMaxBlockNumberReached: boolean;
3978
+ readonly isOperationNotAllowedForInsolventProvider: boolean;
3979
+ readonly isDeleteProviderConditionsNotMet: boolean;
3980
+ readonly isCannotStopCycleWithNonDefaultRoot: boolean;
3981
+ readonly isBspOnlyOperation: boolean;
3982
+ readonly isMspOnlyOperation: boolean;
3983
+ readonly isInvalidEncodedFileMetadata: boolean;
3984
+ readonly isInvalidEncodedAccountId: boolean;
3985
+ readonly isPaymentStreamNotFound: boolean;
3986
+ readonly type:
3987
+ | "AlreadyRegistered"
3988
+ | "SignUpNotRequested"
3989
+ | "SignUpRequestPending"
3990
+ | "NoMultiAddress"
3991
+ | "InvalidMultiAddress"
3992
+ | "StorageTooLow"
3993
+ | "NotEnoughBalance"
3994
+ | "CannotHoldDeposit"
3995
+ | "StorageStillInUse"
3996
+ | "SignOffPeriodNotPassed"
3997
+ | "RandomnessNotValidYet"
3998
+ | "SignUpRequestExpired"
3999
+ | "NewCapacityLessThanUsedStorage"
4000
+ | "NewCapacityEqualsCurrentCapacity"
4001
+ | "NewCapacityCantBeZero"
4002
+ | "NotEnoughTimePassed"
4003
+ | "NewUsedCapacityExceedsStorageCapacity"
4004
+ | "DepositTooLow"
4005
+ | "NotRegistered"
4006
+ | "NoUserId"
4007
+ | "NoBucketId"
4008
+ | "SpRegisteredButDataNotFound"
4009
+ | "BucketNotFound"
4010
+ | "BucketAlreadyExists"
4011
+ | "BucketNotEmpty"
4012
+ | "BucketsMovedAmountMismatch"
4013
+ | "AppendBucketToMspFailed"
4014
+ | "ProviderNotSlashable"
4015
+ | "TopUpNotRequired"
4016
+ | "BucketMustHaveMspForOperation"
4017
+ | "MultiAddressesMaxAmountReached"
4018
+ | "MultiAddressNotFound"
4019
+ | "MultiAddressAlreadyExists"
4020
+ | "LastMultiAddressCantBeRemoved"
4021
+ | "ValuePropositionNotFound"
4022
+ | "ValuePropositionAlreadyExists"
4023
+ | "ValuePropositionNotAvailable"
4024
+ | "CantDeactivateLastValueProp"
4025
+ | "ValuePropositionsDeletedAmountMismatch"
4026
+ | "FixedRatePaymentStreamNotFound"
4027
+ | "MspAlreadyAssignedToBucket"
4028
+ | "BucketSizeExceedsLimit"
4029
+ | "BucketHasNoValueProposition"
4030
+ | "MaxBlockNumberReached"
4031
+ | "OperationNotAllowedForInsolventProvider"
4032
+ | "DeleteProviderConditionsNotMet"
4033
+ | "CannotStopCycleWithNonDefaultRoot"
4034
+ | "BspOnlyOperation"
4035
+ | "MspOnlyOperation"
4036
+ | "InvalidEncodedFileMetadata"
4037
+ | "InvalidEncodedAccountId"
4038
+ | "PaymentStreamNotFound";
4039
+ }
4040
+
4041
+ /** @name PalletFileSystemStorageRequestMetadata (343) */
4042
+ interface PalletFileSystemStorageRequestMetadata extends Struct {
4043
+ readonly requestedAt: u32;
4044
+ readonly expiresAt: u32;
4045
+ readonly owner: AccountId20;
4046
+ readonly bucketId: H256;
4047
+ readonly location: Bytes;
4048
+ readonly fingerprint: H256;
4049
+ readonly size_: u64;
4050
+ readonly msp: Option<ITuple<[H256, bool]>>;
4051
+ readonly userPeerIds: Vec<Bytes>;
4052
+ readonly bspsRequired: u32;
4053
+ readonly bspsConfirmed: u32;
4054
+ readonly bspsVolunteered: u32;
4055
+ readonly depositPaid: u128;
4056
+ }
4057
+
4058
+ /** @name PalletFileSystemStorageRequestBspsMetadata (346) */
4059
+ interface PalletFileSystemStorageRequestBspsMetadata extends Struct {
4060
+ readonly confirmed: bool;
4061
+ }
4062
+
4063
+ /** @name PalletFileSystemPendingFileDeletionRequest (349) */
4064
+ interface PalletFileSystemPendingFileDeletionRequest extends Struct {
4065
+ readonly user: AccountId20;
4066
+ readonly fileKey: H256;
4067
+ readonly bucketId: H256;
4068
+ readonly fileSize: u64;
4069
+ readonly depositPaidForCreation: u128;
4070
+ readonly queuePriorityChallenge: bool;
4071
+ }
4072
+
4073
+ /** @name PalletFileSystemPendingStopStoringRequest (351) */
4074
+ interface PalletFileSystemPendingStopStoringRequest extends Struct {
4075
+ readonly tickWhenRequested: u32;
4076
+ readonly fileOwner: AccountId20;
4077
+ readonly fileSize: u64;
4078
+ }
4079
+
4080
+ /** @name PalletFileSystemMoveBucketRequestMetadata (352) */
4081
+ interface PalletFileSystemMoveBucketRequestMetadata extends Struct {
4082
+ readonly requester: AccountId20;
4083
+ readonly newMspId: H256;
4084
+ readonly newValuePropId: H256;
4085
+ }
4086
+
4087
+ /** @name PalletFileSystemIncompleteStorageRequestMetadata (353) */
4088
+ interface PalletFileSystemIncompleteStorageRequestMetadata extends Struct {
4089
+ readonly owner: AccountId20;
4090
+ readonly bucketId: H256;
4091
+ readonly location: Bytes;
4092
+ readonly fileSize: u64;
4093
+ readonly fingerprint: H256;
4094
+ readonly pendingBspRemovals: Vec<H256>;
4095
+ readonly pendingBucketRemoval: bool;
4096
+ }
4097
+
4098
+ /** @name PalletFileSystemError (355) */
4099
+ interface PalletFileSystemError extends Enum {
4100
+ readonly isStorageRequestAlreadyRegistered: boolean;
4101
+ readonly isStorageRequestNotFound: boolean;
4102
+ readonly isStorageRequestNotRevoked: boolean;
4103
+ readonly isStorageRequestExists: boolean;
4104
+ readonly isReplicationTargetCannotBeZero: boolean;
4105
+ readonly isReplicationTargetExceedsMaximum: boolean;
4106
+ readonly isMaxReplicationTargetSmallerThanDefault: boolean;
4107
+ readonly isNotABsp: boolean;
4108
+ readonly isNotAMsp: boolean;
4109
+ readonly isNotASp: boolean;
4110
+ readonly isBspNotVolunteered: boolean;
4111
+ readonly isBspNotConfirmed: boolean;
4112
+ readonly isBspAlreadyConfirmed: boolean;
4113
+ readonly isStorageRequestBspsRequiredFulfilled: boolean;
4114
+ readonly isBspAlreadyVolunteered: boolean;
4115
+ readonly isInsufficientAvailableCapacity: boolean;
4116
+ readonly isUnexpectedNumberOfRemovedVolunteeredBsps: boolean;
4117
+ readonly isBspNotEligibleToVolunteer: boolean;
4118
+ readonly isStorageRequestExpiredNoSlotAvailable: boolean;
4119
+ readonly isStorageRequestNotAuthorized: boolean;
4120
+ readonly isMaxTickNumberReached: boolean;
4121
+ readonly isFailedToEncodeBsp: boolean;
4122
+ readonly isFailedToEncodeFingerprint: boolean;
4123
+ readonly isFailedToDecodeThreshold: boolean;
4124
+ readonly isAboveThreshold: boolean;
4125
+ readonly isThresholdArithmeticError: boolean;
4126
+ readonly isFailedTypeConversion: boolean;
4127
+ readonly isDividedByZero: boolean;
4128
+ readonly isImpossibleFailedToGetValue: boolean;
4129
+ readonly isBucketIsNotPrivate: boolean;
4130
+ readonly isBucketNotFound: boolean;
4131
+ readonly isBucketNotEmpty: boolean;
4132
+ readonly isNotBucketOwner: boolean;
4133
+ readonly isValuePropositionNotAvailable: boolean;
4134
+ readonly isCollectionNotFound: boolean;
4135
+ readonly isProviderRootNotFound: boolean;
4136
+ readonly isExpectedNonInclusionProof: boolean;
4137
+ readonly isExpectedInclusionProof: boolean;
4138
+ readonly isInvalidFileKeyMetadata: boolean;
4139
+ readonly isThresholdBelowAsymptote: boolean;
4140
+ readonly isNotFileOwner: boolean;
4141
+ readonly isFileKeyAlreadyPendingDeletion: boolean;
4142
+ readonly isMaxUserPendingDeletionRequestsReached: boolean;
4143
+ readonly isMspNotStoringBucket: boolean;
4144
+ readonly isFileKeyNotPendingDeletion: boolean;
4145
+ readonly isFileSizeCannotBeZero: boolean;
4146
+ readonly isNoGlobalReputationWeightSet: boolean;
4147
+ readonly isNoBspReputationWeightSet: boolean;
4148
+ readonly isMaximumThresholdCannotBeZero: boolean;
4149
+ readonly isTickRangeToMaximumThresholdCannotBeZero: boolean;
4150
+ readonly isPendingStopStoringRequestNotFound: boolean;
4151
+ readonly isMinWaitForStopStoringNotReached: boolean;
4152
+ readonly isPendingStopStoringRequestAlreadyExists: boolean;
4153
+ readonly isOperationNotAllowedWithInsolventUser: boolean;
4154
+ readonly isUserNotInsolvent: boolean;
4155
+ readonly isNotSelectedMsp: boolean;
4156
+ readonly isMspAlreadyConfirmed: boolean;
4157
+ readonly isRequestWithoutMsp: boolean;
4158
+ readonly isMspAlreadyStoringBucket: boolean;
4159
+ readonly isMoveBucketRequestNotFound: boolean;
4160
+ readonly isBucketIsBeingMoved: boolean;
4161
+ readonly isBspAlreadyDataServer: boolean;
4162
+ readonly isBspDataServersExceeded: boolean;
4163
+ readonly isFileMetadataProcessingQueueFull: boolean;
4164
+ readonly isTooManyBatchResponses: boolean;
4165
+ readonly isTooManyStorageRequestResponses: boolean;
4166
+ readonly isInvalidBucketIdFileKeyPair: boolean;
4167
+ readonly isInconsistentStateKeyAlreadyExists: boolean;
4168
+ readonly isFixedRatePaymentStreamNotFound: boolean;
4169
+ readonly isDynamicRatePaymentStreamNotFound: boolean;
4170
+ readonly isCannotHoldDeposit: boolean;
4171
+ readonly isFailedToQueryEarliestFileVolunteerTick: boolean;
4172
+ readonly isFailedToGetOwnerAccount: boolean;
4173
+ readonly isFailedToGetPaymentAccount: boolean;
4174
+ readonly isNoFileKeysToConfirm: boolean;
4175
+ readonly isRootNotUpdated: boolean;
4176
+ readonly isNoPrivacyChange: boolean;
4177
+ readonly isOperationNotAllowedForInsolventProvider: boolean;
4178
+ readonly isOperationNotAllowedWhileBucketIsNotStoredByMsp: boolean;
4179
+ readonly isFailedToComputeFileKey: boolean;
4180
+ readonly isFailedToCreateFileMetadata: boolean;
4181
+ readonly isInvalidSignature: boolean;
4182
+ readonly isForestProofVerificationFailed: boolean;
4183
+ readonly isProviderNotStoringFile: boolean;
4184
+ readonly isInvalidProviderID: boolean;
4185
+ readonly isInvalidSignedOperation: boolean;
4186
+ readonly isFileKeyMismatch: boolean;
4187
+ readonly isIncompleteStorageRequestNotFound: boolean;
4188
+ readonly type:
4189
+ | "StorageRequestAlreadyRegistered"
4190
+ | "StorageRequestNotFound"
4191
+ | "StorageRequestNotRevoked"
4192
+ | "StorageRequestExists"
4193
+ | "ReplicationTargetCannotBeZero"
4194
+ | "ReplicationTargetExceedsMaximum"
4195
+ | "MaxReplicationTargetSmallerThanDefault"
4196
+ | "NotABsp"
4197
+ | "NotAMsp"
4198
+ | "NotASp"
4199
+ | "BspNotVolunteered"
4200
+ | "BspNotConfirmed"
4201
+ | "BspAlreadyConfirmed"
4202
+ | "StorageRequestBspsRequiredFulfilled"
4203
+ | "BspAlreadyVolunteered"
4204
+ | "InsufficientAvailableCapacity"
4205
+ | "UnexpectedNumberOfRemovedVolunteeredBsps"
4206
+ | "BspNotEligibleToVolunteer"
4207
+ | "StorageRequestExpiredNoSlotAvailable"
4208
+ | "StorageRequestNotAuthorized"
4209
+ | "MaxTickNumberReached"
4210
+ | "FailedToEncodeBsp"
4211
+ | "FailedToEncodeFingerprint"
4212
+ | "FailedToDecodeThreshold"
4213
+ | "AboveThreshold"
4214
+ | "ThresholdArithmeticError"
4215
+ | "FailedTypeConversion"
4216
+ | "DividedByZero"
4217
+ | "ImpossibleFailedToGetValue"
4218
+ | "BucketIsNotPrivate"
4219
+ | "BucketNotFound"
4220
+ | "BucketNotEmpty"
4221
+ | "NotBucketOwner"
4222
+ | "ValuePropositionNotAvailable"
4223
+ | "CollectionNotFound"
4224
+ | "ProviderRootNotFound"
4225
+ | "ExpectedNonInclusionProof"
4226
+ | "ExpectedInclusionProof"
4227
+ | "InvalidFileKeyMetadata"
4228
+ | "ThresholdBelowAsymptote"
4229
+ | "NotFileOwner"
4230
+ | "FileKeyAlreadyPendingDeletion"
4231
+ | "MaxUserPendingDeletionRequestsReached"
4232
+ | "MspNotStoringBucket"
4233
+ | "FileKeyNotPendingDeletion"
4234
+ | "FileSizeCannotBeZero"
4235
+ | "NoGlobalReputationWeightSet"
4236
+ | "NoBspReputationWeightSet"
4237
+ | "MaximumThresholdCannotBeZero"
4238
+ | "TickRangeToMaximumThresholdCannotBeZero"
4239
+ | "PendingStopStoringRequestNotFound"
4240
+ | "MinWaitForStopStoringNotReached"
4241
+ | "PendingStopStoringRequestAlreadyExists"
4242
+ | "OperationNotAllowedWithInsolventUser"
4243
+ | "UserNotInsolvent"
4244
+ | "NotSelectedMsp"
4245
+ | "MspAlreadyConfirmed"
4246
+ | "RequestWithoutMsp"
4247
+ | "MspAlreadyStoringBucket"
4248
+ | "MoveBucketRequestNotFound"
4249
+ | "BucketIsBeingMoved"
4250
+ | "BspAlreadyDataServer"
4251
+ | "BspDataServersExceeded"
4252
+ | "FileMetadataProcessingQueueFull"
4253
+ | "TooManyBatchResponses"
4254
+ | "TooManyStorageRequestResponses"
4255
+ | "InvalidBucketIdFileKeyPair"
4256
+ | "InconsistentStateKeyAlreadyExists"
4257
+ | "FixedRatePaymentStreamNotFound"
4258
+ | "DynamicRatePaymentStreamNotFound"
4259
+ | "CannotHoldDeposit"
4260
+ | "FailedToQueryEarliestFileVolunteerTick"
4261
+ | "FailedToGetOwnerAccount"
4262
+ | "FailedToGetPaymentAccount"
4263
+ | "NoFileKeysToConfirm"
4264
+ | "RootNotUpdated"
4265
+ | "NoPrivacyChange"
4266
+ | "OperationNotAllowedForInsolventProvider"
4267
+ | "OperationNotAllowedWhileBucketIsNotStoredByMsp"
4268
+ | "FailedToComputeFileKey"
4269
+ | "FailedToCreateFileMetadata"
4270
+ | "InvalidSignature"
4271
+ | "ForestProofVerificationFailed"
4272
+ | "ProviderNotStoringFile"
4273
+ | "InvalidProviderID"
4274
+ | "InvalidSignedOperation"
4275
+ | "FileKeyMismatch"
4276
+ | "IncompleteStorageRequestNotFound";
4277
+ }
4278
+
4279
+ /** @name PalletProofsDealerProofSubmissionRecord (357) */
4280
+ interface PalletProofsDealerProofSubmissionRecord extends Struct {
4281
+ readonly lastTickProven: u32;
4282
+ readonly nextTickToSubmitProofFor: u32;
4283
+ }
4284
+
4285
+ /** @name PalletProofsDealerError (364) */
4286
+ interface PalletProofsDealerError extends Enum {
4287
+ readonly isNotProvider: boolean;
4288
+ readonly isChallengesQueueOverflow: boolean;
4289
+ readonly isPriorityChallengesQueueOverflow: boolean;
4290
+ readonly isFeeChargeFailed: boolean;
4291
+ readonly isEmptyKeyProofs: boolean;
4292
+ readonly isProviderRootNotFound: boolean;
4293
+ readonly isZeroRoot: boolean;
4294
+ readonly isNoRecordOfLastSubmittedProof: boolean;
4295
+ readonly isProviderStakeNotFound: boolean;
4296
+ readonly isZeroStake: boolean;
4297
+ readonly isStakeCouldNotBeConverted: boolean;
4298
+ readonly isChallengesTickNotReached: boolean;
4299
+ readonly isChallengesTickTooOld: boolean;
4300
+ readonly isChallengesTickTooLate: boolean;
4301
+ readonly isSeedNotFound: boolean;
4302
+ readonly isCheckpointChallengesNotFound: boolean;
4303
+ readonly isForestProofVerificationFailed: boolean;
4304
+ readonly isIncorrectNumberOfKeyProofs: boolean;
4305
+ readonly isKeyProofNotFound: boolean;
4306
+ readonly isKeyProofVerificationFailed: boolean;
4307
+ readonly isFailedToApplyDelta: boolean;
4308
+ readonly isUnexpectedNumberOfRemoveMutations: boolean;
4309
+ readonly isFailedToUpdateProviderAfterKeyRemoval: boolean;
4310
+ readonly isTooManyValidProofSubmitters: boolean;
4311
+ readonly type:
4312
+ | "NotProvider"
4313
+ | "ChallengesQueueOverflow"
4314
+ | "PriorityChallengesQueueOverflow"
4315
+ | "FeeChargeFailed"
4316
+ | "EmptyKeyProofs"
4317
+ | "ProviderRootNotFound"
4318
+ | "ZeroRoot"
4319
+ | "NoRecordOfLastSubmittedProof"
4320
+ | "ProviderStakeNotFound"
4321
+ | "ZeroStake"
4322
+ | "StakeCouldNotBeConverted"
4323
+ | "ChallengesTickNotReached"
4324
+ | "ChallengesTickTooOld"
4325
+ | "ChallengesTickTooLate"
4326
+ | "SeedNotFound"
4327
+ | "CheckpointChallengesNotFound"
4328
+ | "ForestProofVerificationFailed"
4329
+ | "IncorrectNumberOfKeyProofs"
4330
+ | "KeyProofNotFound"
4331
+ | "KeyProofVerificationFailed"
4332
+ | "FailedToApplyDelta"
4333
+ | "UnexpectedNumberOfRemoveMutations"
4334
+ | "FailedToUpdateProviderAfterKeyRemoval"
4335
+ | "TooManyValidProofSubmitters";
4336
+ }
4337
+
4338
+ /** @name PalletPaymentStreamsFixedRatePaymentStream (366) */
4339
+ interface PalletPaymentStreamsFixedRatePaymentStream extends Struct {
4340
+ readonly rate: u128;
4341
+ readonly lastChargedTick: u32;
4342
+ readonly userDeposit: u128;
4343
+ readonly outOfFundsTick: Option<u32>;
4344
+ }
4345
+
4346
+ /** @name PalletPaymentStreamsDynamicRatePaymentStream (367) */
4347
+ interface PalletPaymentStreamsDynamicRatePaymentStream extends Struct {
4348
+ readonly amountProvided: u64;
4349
+ readonly priceIndexWhenLastCharged: u128;
4350
+ readonly userDeposit: u128;
4351
+ readonly outOfFundsTick: Option<u32>;
4352
+ }
4353
+
4354
+ /** @name PalletPaymentStreamsProviderLastChargeableInfo (368) */
4355
+ interface PalletPaymentStreamsProviderLastChargeableInfo extends Struct {
4356
+ readonly lastChargeableTick: u32;
4357
+ readonly priceIndex: u128;
4358
+ }
4359
+
4360
+ /** @name PalletPaymentStreamsError (369) */
4361
+ interface PalletPaymentStreamsError extends Enum {
4362
+ readonly isPaymentStreamAlreadyExists: boolean;
4363
+ readonly isPaymentStreamNotFound: boolean;
4364
+ readonly isNotAProvider: boolean;
4365
+ readonly isProviderInconsistencyError: boolean;
4366
+ readonly isCannotHoldDeposit: boolean;
4367
+ readonly isUpdateRateToSameRate: boolean;
4368
+ readonly isUpdateAmountToSameAmount: boolean;
4369
+ readonly isRateCantBeZero: boolean;
4370
+ readonly isAmountProvidedCantBeZero: boolean;
4371
+ readonly isLastChargedGreaterThanLastChargeable: boolean;
4372
+ readonly isInvalidLastChargeableBlockNumber: boolean;
4373
+ readonly isInvalidLastChargeablePriceIndex: boolean;
4374
+ readonly isChargeOverflow: boolean;
4375
+ readonly isUserWithoutFunds: boolean;
4376
+ readonly isUserNotFlaggedAsWithoutFunds: boolean;
4377
+ readonly isCooldownPeriodNotPassed: boolean;
4378
+ readonly isUserHasRemainingDebt: boolean;
4379
+ readonly isProviderInsolvent: boolean;
4380
+ readonly type:
4381
+ | "PaymentStreamAlreadyExists"
4382
+ | "PaymentStreamNotFound"
4383
+ | "NotAProvider"
4384
+ | "ProviderInconsistencyError"
4385
+ | "CannotHoldDeposit"
4386
+ | "UpdateRateToSameRate"
4387
+ | "UpdateAmountToSameAmount"
4388
+ | "RateCantBeZero"
4389
+ | "AmountProvidedCantBeZero"
4390
+ | "LastChargedGreaterThanLastChargeable"
4391
+ | "InvalidLastChargeableBlockNumber"
4392
+ | "InvalidLastChargeablePriceIndex"
4393
+ | "ChargeOverflow"
4394
+ | "UserWithoutFunds"
4395
+ | "UserNotFlaggedAsWithoutFunds"
4396
+ | "CooldownPeriodNotPassed"
4397
+ | "UserHasRemainingDebt"
4398
+ | "ProviderInsolvent";
4399
+ }
4400
+
4401
+ /** @name PalletBucketNftsError (370) */
4402
+ interface PalletBucketNftsError extends Enum {
4403
+ readonly isBucketIsNotPrivate: boolean;
4404
+ readonly isNotBucketOwner: boolean;
4405
+ readonly isNoCorrespondingCollection: boolean;
4406
+ readonly isConvertBytesToBoundedVec: boolean;
4407
+ readonly type:
4408
+ | "BucketIsNotPrivate"
4409
+ | "NotBucketOwner"
4410
+ | "NoCorrespondingCollection"
4411
+ | "ConvertBytesToBoundedVec";
4412
+ }
4413
+
4414
+ /** @name PalletNftsCollectionDetails (371) */
4415
+ interface PalletNftsCollectionDetails extends Struct {
4416
+ readonly owner: AccountId20;
4417
+ readonly ownerDeposit: u128;
4418
+ readonly items: u32;
4419
+ readonly itemMetadatas: u32;
4420
+ readonly itemConfigs: u32;
4421
+ readonly attributes: u32;
4422
+ }
4423
+
4424
+ /** @name PalletNftsCollectionRole (376) */
4425
+ interface PalletNftsCollectionRole extends Enum {
4426
+ readonly isIssuer: boolean;
4427
+ readonly isFreezer: boolean;
4428
+ readonly isAdmin: boolean;
4429
+ readonly type: "Issuer" | "Freezer" | "Admin";
4430
+ }
4431
+
4432
+ /** @name PalletNftsItemDetails (377) */
4433
+ interface PalletNftsItemDetails extends Struct {
4434
+ readonly owner: AccountId20;
4435
+ readonly approvals: BTreeMap<AccountId20, Option<u32>>;
4436
+ readonly deposit: PalletNftsItemDeposit;
4437
+ }
4438
+
4439
+ /** @name PalletNftsItemDeposit (378) */
4440
+ interface PalletNftsItemDeposit extends Struct {
4441
+ readonly account: AccountId20;
4442
+ readonly amount: u128;
4443
+ }
4444
+
4445
+ /** @name PalletNftsCollectionMetadata (383) */
4446
+ interface PalletNftsCollectionMetadata extends Struct {
4447
+ readonly deposit: u128;
4448
+ readonly data: Bytes;
4449
+ }
4450
+
4451
+ /** @name PalletNftsItemMetadata (384) */
4452
+ interface PalletNftsItemMetadata extends Struct {
4453
+ readonly deposit: PalletNftsItemMetadataDeposit;
4454
+ readonly data: Bytes;
4455
+ }
4456
+
4457
+ /** @name PalletNftsItemMetadataDeposit (385) */
4458
+ interface PalletNftsItemMetadataDeposit extends Struct {
4459
+ readonly account: Option<AccountId20>;
4460
+ readonly amount: u128;
4461
+ }
4462
+
4463
+ /** @name PalletNftsAttributeDeposit (388) */
4464
+ interface PalletNftsAttributeDeposit extends Struct {
4465
+ readonly account: Option<AccountId20>;
4466
+ readonly amount: u128;
4467
+ }
4468
+
4469
+ /** @name PalletNftsPendingSwap (392) */
4470
+ interface PalletNftsPendingSwap extends Struct {
4471
+ readonly desiredCollection: u32;
4472
+ readonly desiredItem: Option<u32>;
4473
+ readonly price: Option<PalletNftsPriceWithDirection>;
4474
+ readonly deadline: u32;
4475
+ }
4476
+
4477
+ /** @name PalletNftsPalletFeature (394) */
4478
+ interface PalletNftsPalletFeature extends Enum {
4479
+ readonly isTrading: boolean;
4480
+ readonly isAttributes: boolean;
4481
+ readonly isApprovals: boolean;
4482
+ readonly isSwaps: boolean;
4483
+ readonly type: "Trading" | "Attributes" | "Approvals" | "Swaps";
4484
+ }
4485
+
4486
+ /** @name PalletNftsError (395) */
4487
+ interface PalletNftsError extends Enum {
4488
+ readonly isNoPermission: boolean;
4489
+ readonly isUnknownCollection: boolean;
4490
+ readonly isAlreadyExists: boolean;
4491
+ readonly isApprovalExpired: boolean;
4492
+ readonly isWrongOwner: boolean;
4493
+ readonly isBadWitness: boolean;
4494
+ readonly isCollectionIdInUse: boolean;
4495
+ readonly isItemsNonTransferable: boolean;
4496
+ readonly isNotDelegate: boolean;
4497
+ readonly isWrongDelegate: boolean;
4498
+ readonly isUnapproved: boolean;
4499
+ readonly isUnaccepted: boolean;
4500
+ readonly isItemLocked: boolean;
4501
+ readonly isLockedItemAttributes: boolean;
4502
+ readonly isLockedCollectionAttributes: boolean;
4503
+ readonly isLockedItemMetadata: boolean;
4504
+ readonly isLockedCollectionMetadata: boolean;
4505
+ readonly isMaxSupplyReached: boolean;
4506
+ readonly isMaxSupplyLocked: boolean;
4507
+ readonly isMaxSupplyTooSmall: boolean;
4508
+ readonly isUnknownItem: boolean;
4509
+ readonly isUnknownSwap: boolean;
4510
+ readonly isMetadataNotFound: boolean;
4511
+ readonly isAttributeNotFound: boolean;
4512
+ readonly isNotForSale: boolean;
4513
+ readonly isBidTooLow: boolean;
4514
+ readonly isReachedApprovalLimit: boolean;
4515
+ readonly isDeadlineExpired: boolean;
4516
+ readonly isWrongDuration: boolean;
4517
+ readonly isMethodDisabled: boolean;
4518
+ readonly isWrongSetting: boolean;
4519
+ readonly isInconsistentItemConfig: boolean;
4520
+ readonly isNoConfig: boolean;
4521
+ readonly isRolesNotCleared: boolean;
4522
+ readonly isMintNotStarted: boolean;
4523
+ readonly isMintEnded: boolean;
4524
+ readonly isAlreadyClaimed: boolean;
4525
+ readonly isIncorrectData: boolean;
4526
+ readonly isWrongOrigin: boolean;
4527
+ readonly isWrongSignature: boolean;
4528
+ readonly isIncorrectMetadata: boolean;
4529
+ readonly isMaxAttributesLimitReached: boolean;
4530
+ readonly isWrongNamespace: boolean;
4531
+ readonly isCollectionNotEmpty: boolean;
4532
+ readonly isWitnessRequired: boolean;
4533
+ readonly type:
4534
+ | "NoPermission"
4535
+ | "UnknownCollection"
4536
+ | "AlreadyExists"
4537
+ | "ApprovalExpired"
4538
+ | "WrongOwner"
4539
+ | "BadWitness"
4540
+ | "CollectionIdInUse"
4541
+ | "ItemsNonTransferable"
4542
+ | "NotDelegate"
4543
+ | "WrongDelegate"
4544
+ | "Unapproved"
4545
+ | "Unaccepted"
4546
+ | "ItemLocked"
4547
+ | "LockedItemAttributes"
4548
+ | "LockedCollectionAttributes"
4549
+ | "LockedItemMetadata"
4550
+ | "LockedCollectionMetadata"
4551
+ | "MaxSupplyReached"
4552
+ | "MaxSupplyLocked"
4553
+ | "MaxSupplyTooSmall"
4554
+ | "UnknownItem"
4555
+ | "UnknownSwap"
4556
+ | "MetadataNotFound"
4557
+ | "AttributeNotFound"
4558
+ | "NotForSale"
4559
+ | "BidTooLow"
4560
+ | "ReachedApprovalLimit"
4561
+ | "DeadlineExpired"
4562
+ | "WrongDuration"
4563
+ | "MethodDisabled"
4564
+ | "WrongSetting"
4565
+ | "InconsistentItemConfig"
4566
+ | "NoConfig"
4567
+ | "RolesNotCleared"
4568
+ | "MintNotStarted"
4569
+ | "MintEnded"
4570
+ | "AlreadyClaimed"
4571
+ | "IncorrectData"
4572
+ | "WrongOrigin"
4573
+ | "WrongSignature"
4574
+ | "IncorrectMetadata"
4575
+ | "MaxAttributesLimitReached"
4576
+ | "WrongNamespace"
4577
+ | "CollectionNotEmpty"
4578
+ | "WitnessRequired";
4579
+ }
4580
+
4581
+ /** @name FrameSystemExtensionsCheckNonZeroSender (398) */
4582
+ type FrameSystemExtensionsCheckNonZeroSender = Null;
4583
+
4584
+ /** @name FrameSystemExtensionsCheckSpecVersion (399) */
4585
+ type FrameSystemExtensionsCheckSpecVersion = Null;
4586
+
4587
+ /** @name FrameSystemExtensionsCheckTxVersion (400) */
4588
+ type FrameSystemExtensionsCheckTxVersion = Null;
4589
+
4590
+ /** @name FrameSystemExtensionsCheckGenesis (401) */
4591
+ type FrameSystemExtensionsCheckGenesis = Null;
4592
+
4593
+ /** @name FrameSystemExtensionsCheckNonce (404) */
4594
+ interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
4595
+
4596
+ /** @name FrameSystemExtensionsCheckWeight (405) */
4597
+ type FrameSystemExtensionsCheckWeight = Null;
4598
+
4599
+ /** @name PalletTransactionPaymentChargeTransactionPayment (406) */
4600
+ interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
4601
+
4602
+ /** @name FrameMetadataHashExtensionCheckMetadataHash (407) */
4603
+ interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
4604
+ readonly mode: FrameMetadataHashExtensionMode;
4605
+ }
4606
+
4607
+ /** @name FrameMetadataHashExtensionMode (408) */
4608
+ interface FrameMetadataHashExtensionMode extends Enum {
4609
+ readonly isDisabled: boolean;
4610
+ readonly isEnabled: boolean;
4611
+ readonly type: "Disabled" | "Enabled";
4612
+ }
4613
+
4614
+ /** @name ShSolochainEvmRuntimeRuntime (410) */
4615
+ type ShSolochainEvmRuntimeRuntime = Null;
4616
+ } // declare module