@functionland/react-native-fula 1.54.33 → 1.54.35

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 (96) hide show
  1. package/ios/Fula.swift +24 -5
  2. package/lib/commonjs/index.js +1 -1
  3. package/lib/commonjs/interfaces/augment-api-consts.js +4 -0
  4. package/lib/commonjs/interfaces/augment-api-consts.js.map +1 -0
  5. package/lib/commonjs/interfaces/augment-api-events.js +4 -0
  6. package/lib/commonjs/interfaces/augment-api-events.js.map +1 -0
  7. package/lib/commonjs/interfaces/augment-api-query.js +4 -0
  8. package/lib/commonjs/interfaces/augment-api-query.js.map +1 -0
  9. package/lib/commonjs/interfaces/augment-api-tx.js +4 -0
  10. package/lib/commonjs/interfaces/augment-api-tx.js.map +1 -0
  11. package/lib/commonjs/interfaces/definitions.js +3 -0
  12. package/lib/commonjs/interfaces/definitions.js.map +1 -0
  13. package/lib/commonjs/interfaces/defintions.js +6 -0
  14. package/lib/commonjs/interfaces/defintions.js.map +1 -0
  15. package/lib/commonjs/interfaces/index.js +0 -2
  16. package/lib/commonjs/interfaces/index.js.map +1 -1
  17. package/lib/commonjs/interfaces/lookup.js +396 -273
  18. package/lib/commonjs/interfaces/lookup.js.map +1 -1
  19. package/lib/commonjs/protocols/blockchain.js +1 -1
  20. package/lib/commonjs/protocols/blockchain.js.map +1 -1
  21. package/lib/commonjs/protocols/chain-api.js +1 -1
  22. package/lib/commonjs/protocols/chain-api.js.map +1 -1
  23. package/lib/commonjs/protocols/fula.js +1 -1
  24. package/lib/commonjs/protocols/fula.js.map +1 -1
  25. package/lib/commonjs/protocols/fxblox.js +1 -1
  26. package/lib/commonjs/protocols/fxblox.js.map +1 -1
  27. package/lib/module/interfaces/augment-api-consts.js +9 -0
  28. package/lib/module/interfaces/augment-api-consts.js.map +1 -0
  29. package/lib/module/interfaces/augment-api-errors.js.map +1 -1
  30. package/lib/module/interfaces/augment-api-events.js +9 -0
  31. package/lib/module/interfaces/augment-api-events.js.map +1 -0
  32. package/lib/module/interfaces/augment-api-query.js +9 -0
  33. package/lib/module/interfaces/augment-api-query.js.map +1 -0
  34. package/lib/module/interfaces/augment-api-tx.js +9 -0
  35. package/lib/module/interfaces/augment-api-tx.js.map +1 -0
  36. package/lib/module/interfaces/augment-types.js.map +1 -1
  37. package/lib/module/interfaces/definitions.js +2 -0
  38. package/lib/module/interfaces/definitions.js.map +1 -0
  39. package/lib/module/interfaces/defintions.js +2 -0
  40. package/lib/module/interfaces/defintions.js.map +1 -0
  41. package/lib/module/interfaces/index.js +0 -2
  42. package/lib/module/interfaces/index.js.map +1 -1
  43. package/lib/module/interfaces/lookup.js +397 -273
  44. package/lib/module/interfaces/lookup.js.map +1 -1
  45. package/lib/module/interfaces/registry.js.map +1 -1
  46. package/lib/module/interfaces/types-lookup.js.map +1 -1
  47. package/package.json +17 -21
  48. package/src/interfaces/augment-api-consts.ts +273 -0
  49. package/src/interfaces/augment-api-errors.ts +25 -0
  50. package/src/interfaces/augment-api-events.ts +448 -0
  51. package/src/interfaces/augment-api-query.ts +466 -0
  52. package/src/interfaces/augment-api-rpc.ts +3 -3
  53. package/src/interfaces/augment-api-tx.ts +709 -0
  54. package/src/interfaces/augment-types.ts +101 -9
  55. package/src/interfaces/definitions.ts +1 -0
  56. package/src/interfaces/defintions.ts +1 -0
  57. package/src/interfaces/index.ts +0 -1
  58. package/src/interfaces/lookup.ts +394 -272
  59. package/src/interfaces/registry.ts +12 -1
  60. package/src/interfaces/types-lookup.ts +405 -283
  61. package/lib/typescript/index.d.ts +0 -5
  62. package/lib/typescript/index.d.ts.map +0 -1
  63. package/lib/typescript/interfaces/augment-api-errors.d.ts +0 -442
  64. package/lib/typescript/interfaces/augment-api-errors.d.ts.map +0 -1
  65. package/lib/typescript/interfaces/augment-api-rpc.d.ts +0 -680
  66. package/lib/typescript/interfaces/augment-api-rpc.d.ts.map +0 -1
  67. package/lib/typescript/interfaces/augment-api-runtime.d.ts +0 -248
  68. package/lib/typescript/interfaces/augment-api-runtime.d.ts.map +0 -1
  69. package/lib/typescript/interfaces/augment-api.d.ts +0 -8
  70. package/lib/typescript/interfaces/augment-api.d.ts.map +0 -1
  71. package/lib/typescript/interfaces/augment-types.d.ts +0 -1224
  72. package/lib/typescript/interfaces/augment-types.d.ts.map +0 -1
  73. package/lib/typescript/interfaces/fulaNativeModule.d.ts +0 -86
  74. package/lib/typescript/interfaces/fulaNativeModule.d.ts.map +0 -1
  75. package/lib/typescript/interfaces/index.d.ts +0 -1
  76. package/lib/typescript/interfaces/index.d.ts.map +0 -1
  77. package/lib/typescript/interfaces/lookup.d.ts +0 -1886
  78. package/lib/typescript/interfaces/lookup.d.ts.map +0 -1
  79. package/lib/typescript/interfaces/registry.d.ts +0 -146
  80. package/lib/typescript/interfaces/registry.d.ts.map +0 -1
  81. package/lib/typescript/interfaces/types-lookup.d.ts +0 -1910
  82. package/lib/typescript/interfaces/types-lookup.d.ts.map +0 -1
  83. package/lib/typescript/interfaces/types.d.ts +0 -1
  84. package/lib/typescript/interfaces/types.d.ts.map +0 -1
  85. package/lib/typescript/protocols/blockchain.d.ts +0 -24
  86. package/lib/typescript/protocols/blockchain.d.ts.map +0 -1
  87. package/lib/typescript/protocols/chain-api.d.ts +0 -18
  88. package/lib/typescript/protocols/chain-api.d.ts.map +0 -1
  89. package/lib/typescript/protocols/fula.d.ts +0 -163
  90. package/lib/typescript/protocols/fula.d.ts.map +0 -1
  91. package/lib/typescript/protocols/fxblox.d.ts +0 -22
  92. package/lib/typescript/protocols/fxblox.d.ts.map +0 -1
  93. package/lib/typescript/types/blockchain.d.ts +0 -106
  94. package/lib/typescript/types/blockchain.d.ts.map +0 -1
  95. package/lib/typescript/types/fxblox.d.ts +0 -105
  96. package/lib/typescript/types/fxblox.d.ts.map +0 -1
@@ -1,1910 +0,0 @@
1
- import '@polkadot/types/lookup';
2
- import type { Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, i128, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
- import type { ITuple } from '@polkadot/types-codec/types';
4
- import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
5
- import type { Event } from '@polkadot/types/interfaces/system';
6
- declare module '@polkadot/types/lookup' {
7
- /** @name FrameSystemAccountInfo (3) */
8
- interface FrameSystemAccountInfo extends Struct {
9
- readonly nonce: u32;
10
- readonly consumers: u32;
11
- readonly providers: u32;
12
- readonly sufficients: u32;
13
- readonly data: PalletBalancesAccountData;
14
- }
15
- /** @name PalletBalancesAccountData (5) */
16
- interface PalletBalancesAccountData extends Struct {
17
- readonly free: u128;
18
- readonly reserved: u128;
19
- readonly frozen: u128;
20
- readonly flags: u128;
21
- }
22
- /** @name FrameSupportDispatchPerDispatchClassWeight (8) */
23
- interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
24
- readonly normal: SpWeightsWeightV2Weight;
25
- readonly operational: SpWeightsWeightV2Weight;
26
- readonly mandatory: SpWeightsWeightV2Weight;
27
- }
28
- /** @name SpWeightsWeightV2Weight (9) */
29
- interface SpWeightsWeightV2Weight extends Struct {
30
- readonly refTime: Compact<u64>;
31
- readonly proofSize: Compact<u64>;
32
- }
33
- /** @name SpRuntimeDigest (14) */
34
- interface SpRuntimeDigest extends Struct {
35
- readonly logs: Vec<SpRuntimeDigestDigestItem>;
36
- }
37
- /** @name SpRuntimeDigestDigestItem (16) */
38
- interface SpRuntimeDigestDigestItem extends Enum {
39
- readonly isOther: boolean;
40
- readonly asOther: Bytes;
41
- readonly isConsensus: boolean;
42
- readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
43
- readonly isSeal: boolean;
44
- readonly asSeal: ITuple<[U8aFixed, Bytes]>;
45
- readonly isPreRuntime: boolean;
46
- readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
47
- readonly isRuntimeEnvironmentUpdated: boolean;
48
- readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
49
- }
50
- /** @name FrameSystemEventRecord (19) */
51
- interface FrameSystemEventRecord extends Struct {
52
- readonly phase: FrameSystemPhase;
53
- readonly event: Event;
54
- readonly topics: Vec<H256>;
55
- }
56
- /** @name FrameSystemEvent (21) */
57
- interface FrameSystemEvent extends Enum {
58
- readonly isExtrinsicSuccess: boolean;
59
- readonly asExtrinsicSuccess: {
60
- readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
61
- } & Struct;
62
- readonly isExtrinsicFailed: boolean;
63
- readonly asExtrinsicFailed: {
64
- readonly dispatchError: SpRuntimeDispatchError;
65
- readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
66
- } & Struct;
67
- readonly isCodeUpdated: boolean;
68
- readonly isNewAccount: boolean;
69
- readonly asNewAccount: {
70
- readonly account: AccountId32;
71
- } & Struct;
72
- readonly isKilledAccount: boolean;
73
- readonly asKilledAccount: {
74
- readonly account: AccountId32;
75
- } & Struct;
76
- readonly isRemarked: boolean;
77
- readonly asRemarked: {
78
- readonly sender: AccountId32;
79
- readonly hash_: H256;
80
- } & Struct;
81
- readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
82
- }
83
- /** @name FrameSupportDispatchDispatchInfo (22) */
84
- interface FrameSupportDispatchDispatchInfo extends Struct {
85
- readonly weight: SpWeightsWeightV2Weight;
86
- readonly class: FrameSupportDispatchDispatchClass;
87
- readonly paysFee: FrameSupportDispatchPays;
88
- }
89
- /** @name FrameSupportDispatchDispatchClass (23) */
90
- interface FrameSupportDispatchDispatchClass extends Enum {
91
- readonly isNormal: boolean;
92
- readonly isOperational: boolean;
93
- readonly isMandatory: boolean;
94
- readonly type: 'Normal' | 'Operational' | 'Mandatory';
95
- }
96
- /** @name FrameSupportDispatchPays (24) */
97
- interface FrameSupportDispatchPays extends Enum {
98
- readonly isYes: boolean;
99
- readonly isNo: boolean;
100
- readonly type: 'Yes' | 'No';
101
- }
102
- /** @name SpRuntimeDispatchError (25) */
103
- interface SpRuntimeDispatchError extends Enum {
104
- readonly isOther: boolean;
105
- readonly isCannotLookup: boolean;
106
- readonly isBadOrigin: boolean;
107
- readonly isModule: boolean;
108
- readonly asModule: SpRuntimeModuleError;
109
- readonly isConsumerRemaining: boolean;
110
- readonly isNoProviders: boolean;
111
- readonly isTooManyConsumers: boolean;
112
- readonly isToken: boolean;
113
- readonly asToken: SpRuntimeTokenError;
114
- readonly isArithmetic: boolean;
115
- readonly asArithmetic: SpArithmeticArithmeticError;
116
- readonly isTransactional: boolean;
117
- readonly asTransactional: SpRuntimeTransactionalError;
118
- readonly isExhausted: boolean;
119
- readonly isCorruption: boolean;
120
- readonly isUnavailable: boolean;
121
- readonly isRootNotAllowed: boolean;
122
- readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable' | 'RootNotAllowed';
123
- }
124
- /** @name SpRuntimeModuleError (26) */
125
- interface SpRuntimeModuleError extends Struct {
126
- readonly index: u8;
127
- readonly error: U8aFixed;
128
- }
129
- /** @name SpRuntimeTokenError (27) */
130
- interface SpRuntimeTokenError extends Enum {
131
- readonly isFundsUnavailable: boolean;
132
- readonly isOnlyProvider: boolean;
133
- readonly isBelowMinimum: boolean;
134
- readonly isCannotCreate: boolean;
135
- readonly isUnknownAsset: boolean;
136
- readonly isFrozen: boolean;
137
- readonly isUnsupported: boolean;
138
- readonly isCannotCreateHold: boolean;
139
- readonly isNotExpendable: boolean;
140
- readonly isBlocked: boolean;
141
- readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked';
142
- }
143
- /** @name SpArithmeticArithmeticError (28) */
144
- interface SpArithmeticArithmeticError extends Enum {
145
- readonly isUnderflow: boolean;
146
- readonly isOverflow: boolean;
147
- readonly isDivisionByZero: boolean;
148
- readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
149
- }
150
- /** @name SpRuntimeTransactionalError (29) */
151
- interface SpRuntimeTransactionalError extends Enum {
152
- readonly isLimitReached: boolean;
153
- readonly isNoLayer: boolean;
154
- readonly type: 'LimitReached' | 'NoLayer';
155
- }
156
- /** @name PalletGrandpaEvent (30) */
157
- interface PalletGrandpaEvent extends Enum {
158
- readonly isNewAuthorities: boolean;
159
- readonly asNewAuthorities: {
160
- readonly authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
161
- } & Struct;
162
- readonly isPaused: boolean;
163
- readonly isResumed: boolean;
164
- readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
165
- }
166
- /** @name SpConsensusGrandpaAppPublic (33) */
167
- interface SpConsensusGrandpaAppPublic extends SpCoreEd25519Public {
168
- }
169
- /** @name SpCoreEd25519Public (34) */
170
- interface SpCoreEd25519Public extends U8aFixed {
171
- }
172
- /** @name PalletBalancesEvent (35) */
173
- interface PalletBalancesEvent extends Enum {
174
- readonly isEndowed: boolean;
175
- readonly asEndowed: {
176
- readonly account: AccountId32;
177
- readonly freeBalance: u128;
178
- } & Struct;
179
- readonly isDustLost: boolean;
180
- readonly asDustLost: {
181
- readonly account: AccountId32;
182
- readonly amount: u128;
183
- } & Struct;
184
- readonly isTransfer: boolean;
185
- readonly asTransfer: {
186
- readonly from: AccountId32;
187
- readonly to: AccountId32;
188
- readonly amount: u128;
189
- } & Struct;
190
- readonly isBalanceSet: boolean;
191
- readonly asBalanceSet: {
192
- readonly who: AccountId32;
193
- readonly free: u128;
194
- } & Struct;
195
- readonly isReserved: boolean;
196
- readonly asReserved: {
197
- readonly who: AccountId32;
198
- readonly amount: u128;
199
- } & Struct;
200
- readonly isUnreserved: boolean;
201
- readonly asUnreserved: {
202
- readonly who: AccountId32;
203
- readonly amount: u128;
204
- } & Struct;
205
- readonly isReserveRepatriated: boolean;
206
- readonly asReserveRepatriated: {
207
- readonly from: AccountId32;
208
- readonly to: AccountId32;
209
- readonly amount: u128;
210
- readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
211
- } & Struct;
212
- readonly isDeposit: boolean;
213
- readonly asDeposit: {
214
- readonly who: AccountId32;
215
- readonly amount: u128;
216
- } & Struct;
217
- readonly isWithdraw: boolean;
218
- readonly asWithdraw: {
219
- readonly who: AccountId32;
220
- readonly amount: u128;
221
- } & Struct;
222
- readonly isSlashed: boolean;
223
- readonly asSlashed: {
224
- readonly who: AccountId32;
225
- readonly amount: u128;
226
- } & Struct;
227
- readonly isMinted: boolean;
228
- readonly asMinted: {
229
- readonly who: AccountId32;
230
- readonly amount: u128;
231
- } & Struct;
232
- readonly isBurned: boolean;
233
- readonly asBurned: {
234
- readonly who: AccountId32;
235
- readonly amount: u128;
236
- } & Struct;
237
- readonly isSuspended: boolean;
238
- readonly asSuspended: {
239
- readonly who: AccountId32;
240
- readonly amount: u128;
241
- } & Struct;
242
- readonly isRestored: boolean;
243
- readonly asRestored: {
244
- readonly who: AccountId32;
245
- readonly amount: u128;
246
- } & Struct;
247
- readonly isUpgraded: boolean;
248
- readonly asUpgraded: {
249
- readonly who: AccountId32;
250
- } & Struct;
251
- readonly isIssued: boolean;
252
- readonly asIssued: {
253
- readonly amount: u128;
254
- } & Struct;
255
- readonly isRescinded: boolean;
256
- readonly asRescinded: {
257
- readonly amount: u128;
258
- } & Struct;
259
- readonly isLocked: boolean;
260
- readonly asLocked: {
261
- readonly who: AccountId32;
262
- readonly amount: u128;
263
- } & Struct;
264
- readonly isUnlocked: boolean;
265
- readonly asUnlocked: {
266
- readonly who: AccountId32;
267
- readonly amount: u128;
268
- } & Struct;
269
- readonly isFrozen: boolean;
270
- readonly asFrozen: {
271
- readonly who: AccountId32;
272
- readonly amount: u128;
273
- } & Struct;
274
- readonly isThawed: boolean;
275
- readonly asThawed: {
276
- readonly who: AccountId32;
277
- readonly amount: u128;
278
- } & Struct;
279
- readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed';
280
- }
281
- /** @name FrameSupportTokensMiscBalanceStatus (36) */
282
- interface FrameSupportTokensMiscBalanceStatus extends Enum {
283
- readonly isFree: boolean;
284
- readonly isReserved: boolean;
285
- readonly type: 'Free' | 'Reserved';
286
- }
287
- /** @name PalletTransactionPaymentEvent (37) */
288
- interface PalletTransactionPaymentEvent extends Enum {
289
- readonly isTransactionFeePaid: boolean;
290
- readonly asTransactionFeePaid: {
291
- readonly who: AccountId32;
292
- readonly actualFee: u128;
293
- readonly tip: u128;
294
- } & Struct;
295
- readonly type: 'TransactionFeePaid';
296
- }
297
- /** @name PalletSudoEvent (38) */
298
- interface PalletSudoEvent extends Enum {
299
- readonly isSudid: boolean;
300
- readonly asSudid: {
301
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
302
- } & Struct;
303
- readonly isKeyChanged: boolean;
304
- readonly asKeyChanged: {
305
- readonly oldSudoer: Option<AccountId32>;
306
- } & Struct;
307
- readonly isSudoAsDone: boolean;
308
- readonly asSudoAsDone: {
309
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
310
- } & Struct;
311
- readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
312
- }
313
- /** @name PalletSchedulerEvent (42) */
314
- interface PalletSchedulerEvent extends Enum {
315
- readonly isScheduled: boolean;
316
- readonly asScheduled: {
317
- readonly when: u32;
318
- readonly index: u32;
319
- } & Struct;
320
- readonly isCanceled: boolean;
321
- readonly asCanceled: {
322
- readonly when: u32;
323
- readonly index: u32;
324
- } & Struct;
325
- readonly isDispatched: boolean;
326
- readonly asDispatched: {
327
- readonly task: ITuple<[u32, u32]>;
328
- readonly id: Option<U8aFixed>;
329
- readonly result: Result<Null, SpRuntimeDispatchError>;
330
- } & Struct;
331
- readonly isCallUnavailable: boolean;
332
- readonly asCallUnavailable: {
333
- readonly task: ITuple<[u32, u32]>;
334
- readonly id: Option<U8aFixed>;
335
- } & Struct;
336
- readonly isPeriodicFailed: boolean;
337
- readonly asPeriodicFailed: {
338
- readonly task: ITuple<[u32, u32]>;
339
- readonly id: Option<U8aFixed>;
340
- } & Struct;
341
- readonly isPermanentlyOverweight: boolean;
342
- readonly asPermanentlyOverweight: {
343
- readonly task: ITuple<[u32, u32]>;
344
- readonly id: Option<U8aFixed>;
345
- } & Struct;
346
- readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallUnavailable' | 'PeriodicFailed' | 'PermanentlyOverweight';
347
- }
348
- /** @name PalletCollectiveEvent (45) */
349
- interface PalletCollectiveEvent extends Enum {
350
- readonly isProposed: boolean;
351
- readonly asProposed: {
352
- readonly account: AccountId32;
353
- readonly proposalIndex: u32;
354
- readonly proposalHash: H256;
355
- readonly threshold: u32;
356
- } & Struct;
357
- readonly isVoted: boolean;
358
- readonly asVoted: {
359
- readonly account: AccountId32;
360
- readonly proposalHash: H256;
361
- readonly voted: bool;
362
- readonly yes: u32;
363
- readonly no: u32;
364
- } & Struct;
365
- readonly isApproved: boolean;
366
- readonly asApproved: {
367
- readonly proposalHash: H256;
368
- } & Struct;
369
- readonly isDisapproved: boolean;
370
- readonly asDisapproved: {
371
- readonly proposalHash: H256;
372
- } & Struct;
373
- readonly isExecuted: boolean;
374
- readonly asExecuted: {
375
- readonly proposalHash: H256;
376
- readonly result: Result<Null, SpRuntimeDispatchError>;
377
- } & Struct;
378
- readonly isMemberExecuted: boolean;
379
- readonly asMemberExecuted: {
380
- readonly proposalHash: H256;
381
- readonly result: Result<Null, SpRuntimeDispatchError>;
382
- } & Struct;
383
- readonly isClosed: boolean;
384
- readonly asClosed: {
385
- readonly proposalHash: H256;
386
- readonly yes: u32;
387
- readonly no: u32;
388
- } & Struct;
389
- readonly type: 'Proposed' | 'Voted' | 'Approved' | 'Disapproved' | 'Executed' | 'MemberExecuted' | 'Closed';
390
- }
391
- /** @name SugarfungeValidatorSetEvent (47) */
392
- interface SugarfungeValidatorSetEvent extends Enum {
393
- readonly isValidatorAdditionInitiated: boolean;
394
- readonly asValidatorAdditionInitiated: AccountId32;
395
- readonly isValidatorRemovalInitiated: boolean;
396
- readonly asValidatorRemovalInitiated: AccountId32;
397
- readonly type: 'ValidatorAdditionInitiated' | 'ValidatorRemovalInitiated';
398
- }
399
- /** @name PalletSessionEvent (48) */
400
- interface PalletSessionEvent extends Enum {
401
- readonly isNewSession: boolean;
402
- readonly asNewSession: {
403
- readonly sessionIndex: u32;
404
- } & Struct;
405
- readonly type: 'NewSession';
406
- }
407
- /** @name SugarfungeAssetEvent (49) */
408
- interface SugarfungeAssetEvent extends Enum {
409
- readonly isClassCreated: boolean;
410
- readonly asClassCreated: {
411
- readonly classId: u64;
412
- readonly who: AccountId32;
413
- } & Struct;
414
- readonly isAssetCreated: boolean;
415
- readonly asAssetCreated: {
416
- readonly classId: u64;
417
- readonly assetId: u64;
418
- readonly who: AccountId32;
419
- } & Struct;
420
- readonly isAssetMetadataUpdated: boolean;
421
- readonly asAssetMetadataUpdated: {
422
- readonly classId: u64;
423
- readonly assetId: u64;
424
- readonly who: AccountId32;
425
- readonly metadata: Bytes;
426
- } & Struct;
427
- readonly isMint: boolean;
428
- readonly asMint: {
429
- readonly who: AccountId32;
430
- readonly to: AccountId32;
431
- readonly classId: u64;
432
- readonly assetId: u64;
433
- readonly amount: u128;
434
- } & Struct;
435
- readonly isBatchMint: boolean;
436
- readonly asBatchMint: {
437
- readonly who: AccountId32;
438
- readonly to: AccountId32;
439
- readonly classId: u64;
440
- readonly assetIds: Vec<u64>;
441
- readonly amounts: Vec<u128>;
442
- } & Struct;
443
- readonly isBurn: boolean;
444
- readonly asBurn: {
445
- readonly who: AccountId32;
446
- readonly from: AccountId32;
447
- readonly classId: u64;
448
- readonly assetId: u64;
449
- readonly amount: u128;
450
- } & Struct;
451
- readonly isBatchBurn: boolean;
452
- readonly asBatchBurn: {
453
- readonly who: AccountId32;
454
- readonly from: AccountId32;
455
- readonly classId: u64;
456
- readonly assetIds: Vec<u64>;
457
- readonly amounts: Vec<u128>;
458
- } & Struct;
459
- readonly isTransferred: boolean;
460
- readonly asTransferred: {
461
- readonly who: AccountId32;
462
- readonly from: AccountId32;
463
- readonly to: AccountId32;
464
- readonly classId: u64;
465
- readonly assetId: u64;
466
- readonly amount: u128;
467
- } & Struct;
468
- readonly isBatchTransferred: boolean;
469
- readonly asBatchTransferred: {
470
- readonly who: AccountId32;
471
- readonly from: AccountId32;
472
- readonly to: AccountId32;
473
- readonly classId: u64;
474
- readonly assetIds: Vec<u64>;
475
- readonly amounts: Vec<u128>;
476
- } & Struct;
477
- readonly isOperatorApprovalForAll: boolean;
478
- readonly asOperatorApprovalForAll: {
479
- readonly who: AccountId32;
480
- readonly operator: AccountId32;
481
- readonly classId: u64;
482
- readonly approved: bool;
483
- } & Struct;
484
- readonly type: 'ClassCreated' | 'AssetCreated' | 'AssetMetadataUpdated' | 'Mint' | 'BatchMint' | 'Burn' | 'BatchBurn' | 'Transferred' | 'BatchTransferred' | 'OperatorApprovalForAll';
485
- }
486
- /** @name SugarfungeDaoEvent (52) */
487
- interface SugarfungeDaoEvent extends Enum {
488
- readonly isSomethingStored: boolean;
489
- readonly asSomethingStored: ITuple<[u32, AccountId32]>;
490
- readonly type: 'SomethingStored';
491
- }
492
- /** @name SugarfungeBundleEvent (53) */
493
- interface SugarfungeBundleEvent extends Enum {
494
- readonly isRegister: boolean;
495
- readonly asRegister: {
496
- readonly bundleId: H256;
497
- readonly who: AccountId32;
498
- readonly classId: u64;
499
- readonly assetId: u64;
500
- } & Struct;
501
- readonly isMint: boolean;
502
- readonly asMint: {
503
- readonly bundleId: H256;
504
- readonly who: AccountId32;
505
- readonly from: AccountId32;
506
- readonly to: AccountId32;
507
- readonly amount: u128;
508
- } & Struct;
509
- readonly isBurn: boolean;
510
- readonly asBurn: {
511
- readonly bundleId: H256;
512
- readonly who: AccountId32;
513
- readonly from: AccountId32;
514
- readonly to: AccountId32;
515
- readonly amount: u128;
516
- } & Struct;
517
- readonly type: 'Register' | 'Mint' | 'Burn';
518
- }
519
- /** @name SugarfungeBagEvent (54) */
520
- interface SugarfungeBagEvent extends Enum {
521
- readonly isRegister: boolean;
522
- readonly asRegister: {
523
- readonly who: AccountId32;
524
- readonly classId: u64;
525
- } & Struct;
526
- readonly isCreated: boolean;
527
- readonly asCreated: {
528
- readonly bag: AccountId32;
529
- readonly who: AccountId32;
530
- readonly classId: u64;
531
- readonly assetId: u64;
532
- readonly owners: Vec<AccountId32>;
533
- } & Struct;
534
- readonly isDeposit: boolean;
535
- readonly asDeposit: {
536
- readonly bag: AccountId32;
537
- readonly who: AccountId32;
538
- } & Struct;
539
- readonly isSweep: boolean;
540
- readonly asSweep: {
541
- readonly bag: AccountId32;
542
- readonly who: AccountId32;
543
- readonly to: AccountId32;
544
- } & Struct;
545
- readonly type: 'Register' | 'Created' | 'Deposit' | 'Sweep';
546
- }
547
- /** @name SugarfungeExgineEvent (56) */
548
- interface SugarfungeExgineEvent extends Enum {
549
- readonly isSomethingStored: boolean;
550
- readonly asSomethingStored: ITuple<[u32, AccountId32]>;
551
- readonly type: 'SomethingStored';
552
- }
553
- /** @name SugarfungeMarketEvent (57) */
554
- interface SugarfungeMarketEvent extends Enum {
555
- readonly isCreated: boolean;
556
- readonly asCreated: {
557
- readonly marketId: u64;
558
- readonly who: AccountId32;
559
- } & Struct;
560
- readonly isRateCreated: boolean;
561
- readonly asRateCreated: {
562
- readonly marketId: u64;
563
- readonly marketRateId: u64;
564
- readonly who: AccountId32;
565
- } & Struct;
566
- readonly isLiquidityAdded: boolean;
567
- readonly asLiquidityAdded: {
568
- readonly who: AccountId32;
569
- readonly marketId: u64;
570
- readonly marketRateId: u64;
571
- readonly classIds: Vec<u64>;
572
- readonly assetIds: Vec<Vec<u64>>;
573
- readonly amounts: Vec<Vec<u128>>;
574
- } & Struct;
575
- readonly isLiquidityRemoved: boolean;
576
- readonly asLiquidityRemoved: {
577
- readonly who: AccountId32;
578
- readonly marketId: u64;
579
- readonly marketRateId: u64;
580
- readonly classIds: Vec<u64>;
581
- readonly assetIds: Vec<Vec<u64>>;
582
- readonly amounts: Vec<Vec<u128>>;
583
- } & Struct;
584
- readonly isDeposit: boolean;
585
- readonly asDeposit: {
586
- readonly who: AccountId32;
587
- readonly marketId: u64;
588
- readonly marketRateId: u64;
589
- readonly amount: u128;
590
- readonly balances: Vec<SugarfungeMarketRateBalance>;
591
- readonly success: bool;
592
- } & Struct;
593
- readonly isExchanged: boolean;
594
- readonly asExchanged: {
595
- readonly buyer: AccountId32;
596
- readonly marketId: u64;
597
- readonly marketRateId: u64;
598
- readonly amount: u128;
599
- readonly balances: Vec<SugarfungeMarketRateBalance>;
600
- readonly success: bool;
601
- } & Struct;
602
- readonly type: 'Created' | 'RateCreated' | 'LiquidityAdded' | 'LiquidityRemoved' | 'Deposit' | 'Exchanged';
603
- }
604
- /** @name SugarfungeMarketRateBalance (61) */
605
- interface SugarfungeMarketRateBalance extends Struct {
606
- readonly rate: SugarfungeMarketAssetRate;
607
- readonly balance: i128;
608
- }
609
- /** @name SugarfungeMarketAssetRate (62) */
610
- interface SugarfungeMarketAssetRate extends Struct {
611
- readonly classId: u64;
612
- readonly assetId: u64;
613
- readonly action: SugarfungeMarketRateAction;
614
- readonly from: SugarfungeMarketRateAccount;
615
- readonly to: SugarfungeMarketRateAccount;
616
- }
617
- /** @name SugarfungeMarketRateAction (63) */
618
- interface SugarfungeMarketRateAction extends Enum {
619
- readonly isTransfer: boolean;
620
- readonly asTransfer: i128;
621
- readonly isMarketTransfer: boolean;
622
- readonly asMarketTransfer: ITuple<[SugarfungeMarketAmm, u64, u64]>;
623
- readonly isMint: boolean;
624
- readonly asMint: i128;
625
- readonly isBurn: boolean;
626
- readonly asBurn: i128;
627
- readonly isHas: boolean;
628
- readonly asHas: ITuple<[SugarfungeMarketAmountOp, i128]>;
629
- readonly type: 'Transfer' | 'MarketTransfer' | 'Mint' | 'Burn' | 'Has';
630
- }
631
- /** @name SugarfungeMarketAmm (65) */
632
- interface SugarfungeMarketAmm extends Enum {
633
- readonly isConstant: boolean;
634
- readonly type: 'Constant';
635
- }
636
- /** @name SugarfungeMarketAmountOp (66) */
637
- interface SugarfungeMarketAmountOp extends Enum {
638
- readonly isEqual: boolean;
639
- readonly isLessThan: boolean;
640
- readonly isLessEqualThan: boolean;
641
- readonly isGreaterThan: boolean;
642
- readonly isGreaterEqualThan: boolean;
643
- readonly type: 'Equal' | 'LessThan' | 'LessEqualThan' | 'GreaterThan' | 'GreaterEqualThan';
644
- }
645
- /** @name SugarfungeMarketRateAccount (67) */
646
- interface SugarfungeMarketRateAccount extends Enum {
647
- readonly isMarket: boolean;
648
- readonly isAccount: boolean;
649
- readonly asAccount: AccountId32;
650
- readonly isBuyer: boolean;
651
- readonly type: 'Market' | 'Account' | 'Buyer';
652
- }
653
- /** @name FunctionlandFulaEvent (68) */
654
- interface FunctionlandFulaEvent extends Enum {
655
- readonly isManifestOutput: boolean;
656
- readonly asManifestOutput: {
657
- readonly uploader: AccountId32;
658
- readonly storer: Vec<AccountId32>;
659
- readonly poolId: u32;
660
- readonly manifest: Bytes;
661
- } & Struct;
662
- readonly isStorageManifestOutput: boolean;
663
- readonly asStorageManifestOutput: {
664
- readonly storer: AccountId32;
665
- readonly poolId: u32;
666
- readonly cid: Bytes;
667
- } & Struct;
668
- readonly isRemoveStorerOutput: boolean;
669
- readonly asRemoveStorerOutput: {
670
- readonly storer: Option<AccountId32>;
671
- readonly poolId: u32;
672
- readonly cid: Bytes;
673
- } & Struct;
674
- readonly isManifestRemoved: boolean;
675
- readonly asManifestRemoved: {
676
- readonly uploader: AccountId32;
677
- readonly poolId: u32;
678
- readonly cid: Bytes;
679
- } & Struct;
680
- readonly isManifestStorageUpdated: boolean;
681
- readonly asManifestStorageUpdated: {
682
- readonly storer: AccountId32;
683
- readonly poolId: u32;
684
- readonly cid: Bytes;
685
- readonly activeCycles: u16;
686
- readonly missedCycles: u16;
687
- readonly activeDays: i32;
688
- } & Struct;
689
- readonly isBatchManifestOutput: boolean;
690
- readonly asBatchManifestOutput: {
691
- readonly uploader: AccountId32;
692
- readonly poolIds: Vec<u32>;
693
- readonly manifests: Vec<Bytes>;
694
- } & Struct;
695
- readonly isBatchStorageManifestOutput: boolean;
696
- readonly asBatchStorageManifestOutput: {
697
- readonly storer: AccountId32;
698
- readonly poolId: u32;
699
- readonly cids: Vec<Bytes>;
700
- } & Struct;
701
- readonly isBatchRemoveStorerOutput: boolean;
702
- readonly asBatchRemoveStorerOutput: {
703
- readonly storer: AccountId32;
704
- readonly poolId: u32;
705
- readonly cids: Vec<Bytes>;
706
- } & Struct;
707
- readonly isBatchManifestRemoved: boolean;
708
- readonly asBatchManifestRemoved: {
709
- readonly uploader: AccountId32;
710
- readonly poolIds: Vec<u32>;
711
- readonly cids: Vec<Bytes>;
712
- } & Struct;
713
- readonly isVerifiedStorerManifests: boolean;
714
- readonly asVerifiedStorerManifests: {
715
- readonly storer: AccountId32;
716
- readonly validCids: Vec<Bytes>;
717
- readonly invalidCids: Vec<Bytes>;
718
- } & Struct;
719
- readonly isUpdateFileSizeOutput: boolean;
720
- readonly asUpdateFileSizeOutput: {
721
- readonly account: AccountId32;
722
- readonly poolId: u32;
723
- readonly cid: Bytes;
724
- readonly size_: u64;
725
- } & Struct;
726
- readonly isUpdateFileSizesOutput: boolean;
727
- readonly asUpdateFileSizesOutput: {
728
- readonly account: AccountId32;
729
- readonly poolId: u32;
730
- readonly cids: Vec<Bytes>;
731
- readonly sizes: Vec<u64>;
732
- } & Struct;
733
- readonly isGetManifests: boolean;
734
- readonly asGetManifests: {
735
- readonly manifests: Vec<FunctionlandFulaManifestWithPoolId>;
736
- } & Struct;
737
- readonly isGetAvailableManifests: boolean;
738
- readonly asGetAvailableManifests: {
739
- readonly manifests: Vec<FunctionlandFulaManifestAvailable>;
740
- } & Struct;
741
- readonly isGetManifestsStorerData: boolean;
742
- readonly asGetManifestsStorerData: {
743
- readonly manifests: Vec<FunctionlandFulaStorerData>;
744
- } & Struct;
745
- readonly isChallenge: boolean;
746
- readonly asChallenge: {
747
- readonly challenger: AccountId32;
748
- readonly challenged: AccountId32;
749
- readonly cid: Bytes;
750
- readonly state: FunctionlandFulaChallengeState;
751
- } & Struct;
752
- readonly isVerifiedChallenges: boolean;
753
- readonly asVerifiedChallenges: {
754
- readonly challenged: AccountId32;
755
- readonly successful: Vec<Bytes>;
756
- readonly failed: Vec<Bytes>;
757
- } & Struct;
758
- readonly isMintedLaborTokens: boolean;
759
- readonly asMintedLaborTokens: {
760
- readonly account: AccountId32;
761
- readonly classId: u64;
762
- readonly assetId: u64;
763
- readonly amount: u128;
764
- readonly calculatedAmount: u128;
765
- } & Struct;
766
- readonly type: 'ManifestOutput' | 'StorageManifestOutput' | 'RemoveStorerOutput' | 'ManifestRemoved' | 'ManifestStorageUpdated' | 'BatchManifestOutput' | 'BatchStorageManifestOutput' | 'BatchRemoveStorerOutput' | 'BatchManifestRemoved' | 'VerifiedStorerManifests' | 'UpdateFileSizeOutput' | 'UpdateFileSizesOutput' | 'GetManifests' | 'GetAvailableManifests' | 'GetManifestsStorerData' | 'Challenge' | 'VerifiedChallenges' | 'MintedLaborTokens';
767
- }
768
- /** @name FunctionlandFulaManifestWithPoolId (74) */
769
- interface FunctionlandFulaManifestWithPoolId extends Struct {
770
- readonly poolId: u32;
771
- readonly usersData: Vec<FunctionlandFulaUploaderData>;
772
- readonly manifestMetadata: Bytes;
773
- readonly size_: Option<u64>;
774
- }
775
- /** @name FunctionlandFulaUploaderData (77) */
776
- interface FunctionlandFulaUploaderData extends Struct {
777
- readonly uploader: AccountId32;
778
- readonly storers: Vec<AccountId32>;
779
- readonly replicationFactor: u16;
780
- }
781
- /** @name FunctionlandFulaManifestAvailable (80) */
782
- interface FunctionlandFulaManifestAvailable extends Struct {
783
- readonly poolId: u32;
784
- readonly replicationFactor: u16;
785
- readonly manifestMetadata: Bytes;
786
- }
787
- /** @name FunctionlandFulaStorerData (82) */
788
- interface FunctionlandFulaStorerData extends Struct {
789
- readonly poolId: u32;
790
- readonly cid: Bytes;
791
- readonly account: AccountId32;
792
- readonly manifestData: FunctionlandFulaManifestStorageData;
793
- }
794
- /** @name FunctionlandFulaManifestStorageData (84) */
795
- interface FunctionlandFulaManifestStorageData extends Struct {
796
- readonly activeCycles: u16;
797
- readonly missedCycles: u16;
798
- readonly activeDays: i32;
799
- readonly challengeState: FunctionlandFulaChallengeState;
800
- }
801
- /** @name FunctionlandFulaChallengeState (85) */
802
- interface FunctionlandFulaChallengeState extends Enum {
803
- readonly isOpen: boolean;
804
- readonly isSuccessful: boolean;
805
- readonly isFailed: boolean;
806
- readonly type: 'Open' | 'Successful' | 'Failed';
807
- }
808
- /** @name FulaPoolEvent (86) */
809
- interface FulaPoolEvent extends Enum {
810
- readonly isPoolCreated: boolean;
811
- readonly asPoolCreated: {
812
- readonly owner: Option<AccountId32>;
813
- readonly poolId: u32;
814
- } & Struct;
815
- readonly isJoinRequested: boolean;
816
- readonly asJoinRequested: {
817
- readonly account: AccountId32;
818
- readonly poolId: u32;
819
- } & Struct;
820
- readonly isRequestWithdrawn: boolean;
821
- readonly asRequestWithdrawn: {
822
- readonly account: AccountId32;
823
- readonly poolId: u32;
824
- } & Struct;
825
- readonly isVotingResult: boolean;
826
- readonly asVotingResult: {
827
- readonly account: AccountId32;
828
- readonly poolId: u32;
829
- readonly result: Bytes;
830
- } & Struct;
831
- readonly isCapacityReached: boolean;
832
- readonly asCapacityReached: {
833
- readonly poolId: u32;
834
- } & Struct;
835
- readonly isParticipantLeft: boolean;
836
- readonly asParticipantLeft: {
837
- readonly account: AccountId32;
838
- readonly poolId: u32;
839
- } & Struct;
840
- readonly type: 'PoolCreated' | 'JoinRequested' | 'RequestWithdrawn' | 'VotingResult' | 'CapacityReached' | 'ParticipantLeft';
841
- }
842
- /** @name FrameSystemPhase (87) */
843
- interface FrameSystemPhase extends Enum {
844
- readonly isApplyExtrinsic: boolean;
845
- readonly asApplyExtrinsic: u32;
846
- readonly isFinalization: boolean;
847
- readonly isInitialization: boolean;
848
- readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
849
- }
850
- /** @name FrameSystemLastRuntimeUpgradeInfo (90) */
851
- interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
852
- readonly specVersion: Compact<u32>;
853
- readonly specName: Text;
854
- }
855
- /** @name FrameSystemCall (93) */
856
- interface FrameSystemCall extends Enum {
857
- readonly isRemark: boolean;
858
- readonly asRemark: {
859
- readonly remark: Bytes;
860
- } & Struct;
861
- readonly isSetHeapPages: boolean;
862
- readonly asSetHeapPages: {
863
- readonly pages: u64;
864
- } & Struct;
865
- readonly isSetCode: boolean;
866
- readonly asSetCode: {
867
- readonly code: Bytes;
868
- } & Struct;
869
- readonly isSetCodeWithoutChecks: boolean;
870
- readonly asSetCodeWithoutChecks: {
871
- readonly code: Bytes;
872
- } & Struct;
873
- readonly isSetStorage: boolean;
874
- readonly asSetStorage: {
875
- readonly items: Vec<ITuple<[Bytes, Bytes]>>;
876
- } & Struct;
877
- readonly isKillStorage: boolean;
878
- readonly asKillStorage: {
879
- readonly keys_: Vec<Bytes>;
880
- } & Struct;
881
- readonly isKillPrefix: boolean;
882
- readonly asKillPrefix: {
883
- readonly prefix: Bytes;
884
- readonly subkeys: u32;
885
- } & Struct;
886
- readonly isRemarkWithEvent: boolean;
887
- readonly asRemarkWithEvent: {
888
- readonly remark: Bytes;
889
- } & Struct;
890
- readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
891
- }
892
- /** @name FrameSystemLimitsBlockWeights (96) */
893
- interface FrameSystemLimitsBlockWeights extends Struct {
894
- readonly baseBlock: SpWeightsWeightV2Weight;
895
- readonly maxBlock: SpWeightsWeightV2Weight;
896
- readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
897
- }
898
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (97) */
899
- interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
900
- readonly normal: FrameSystemLimitsWeightsPerClass;
901
- readonly operational: FrameSystemLimitsWeightsPerClass;
902
- readonly mandatory: FrameSystemLimitsWeightsPerClass;
903
- }
904
- /** @name FrameSystemLimitsWeightsPerClass (98) */
905
- interface FrameSystemLimitsWeightsPerClass extends Struct {
906
- readonly baseExtrinsic: SpWeightsWeightV2Weight;
907
- readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
908
- readonly maxTotal: Option<SpWeightsWeightV2Weight>;
909
- readonly reserved: Option<SpWeightsWeightV2Weight>;
910
- }
911
- /** @name FrameSystemLimitsBlockLength (100) */
912
- interface FrameSystemLimitsBlockLength extends Struct {
913
- readonly max: FrameSupportDispatchPerDispatchClassU32;
914
- }
915
- /** @name FrameSupportDispatchPerDispatchClassU32 (101) */
916
- interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
917
- readonly normal: u32;
918
- readonly operational: u32;
919
- readonly mandatory: u32;
920
- }
921
- /** @name SpWeightsRuntimeDbWeight (102) */
922
- interface SpWeightsRuntimeDbWeight extends Struct {
923
- readonly read: u64;
924
- readonly write: u64;
925
- }
926
- /** @name SpVersionRuntimeVersion (103) */
927
- interface SpVersionRuntimeVersion extends Struct {
928
- readonly specName: Text;
929
- readonly implName: Text;
930
- readonly authoringVersion: u32;
931
- readonly specVersion: u32;
932
- readonly implVersion: u32;
933
- readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
934
- readonly transactionVersion: u32;
935
- readonly stateVersion: u8;
936
- }
937
- /** @name FrameSystemError (108) */
938
- interface FrameSystemError extends Enum {
939
- readonly isInvalidSpecName: boolean;
940
- readonly isSpecVersionNeedsToIncrease: boolean;
941
- readonly isFailedToExtractRuntimeVersion: boolean;
942
- readonly isNonDefaultComposite: boolean;
943
- readonly isNonZeroRefCount: boolean;
944
- readonly isCallFiltered: boolean;
945
- readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
946
- }
947
- /** @name PalletTimestampCall (109) */
948
- interface PalletTimestampCall extends Enum {
949
- readonly isSet: boolean;
950
- readonly asSet: {
951
- readonly now: Compact<u64>;
952
- } & Struct;
953
- readonly type: 'Set';
954
- }
955
- /** @name PalletGrandpaStoredState (110) */
956
- interface PalletGrandpaStoredState extends Enum {
957
- readonly isLive: boolean;
958
- readonly isPendingPause: boolean;
959
- readonly asPendingPause: {
960
- readonly scheduledAt: u32;
961
- readonly delay: u32;
962
- } & Struct;
963
- readonly isPaused: boolean;
964
- readonly isPendingResume: boolean;
965
- readonly asPendingResume: {
966
- readonly scheduledAt: u32;
967
- readonly delay: u32;
968
- } & Struct;
969
- readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
970
- }
971
- /** @name PalletGrandpaStoredPendingChange (111) */
972
- interface PalletGrandpaStoredPendingChange extends Struct {
973
- readonly scheduledAt: u32;
974
- readonly delay: u32;
975
- readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
976
- readonly forced: Option<u32>;
977
- }
978
- /** @name PalletGrandpaCall (114) */
979
- interface PalletGrandpaCall extends Enum {
980
- readonly isReportEquivocation: boolean;
981
- readonly asReportEquivocation: {
982
- readonly equivocationProof: SpConsensusGrandpaEquivocationProof;
983
- readonly keyOwnerProof: SpCoreVoid;
984
- } & Struct;
985
- readonly isReportEquivocationUnsigned: boolean;
986
- readonly asReportEquivocationUnsigned: {
987
- readonly equivocationProof: SpConsensusGrandpaEquivocationProof;
988
- readonly keyOwnerProof: SpCoreVoid;
989
- } & Struct;
990
- readonly isNoteStalled: boolean;
991
- readonly asNoteStalled: {
992
- readonly delay: u32;
993
- readonly bestFinalizedBlockNumber: u32;
994
- } & Struct;
995
- readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled';
996
- }
997
- /** @name SpConsensusGrandpaEquivocationProof (115) */
998
- interface SpConsensusGrandpaEquivocationProof extends Struct {
999
- readonly setId: u64;
1000
- readonly equivocation: SpConsensusGrandpaEquivocation;
1001
- }
1002
- /** @name SpConsensusGrandpaEquivocation (116) */
1003
- interface SpConsensusGrandpaEquivocation extends Enum {
1004
- readonly isPrevote: boolean;
1005
- readonly asPrevote: FinalityGrandpaEquivocationPrevote;
1006
- readonly isPrecommit: boolean;
1007
- readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
1008
- readonly type: 'Prevote' | 'Precommit';
1009
- }
1010
- /** @name FinalityGrandpaEquivocationPrevote (117) */
1011
- interface FinalityGrandpaEquivocationPrevote extends Struct {
1012
- readonly roundNumber: u64;
1013
- readonly identity: SpConsensusGrandpaAppPublic;
1014
- readonly first: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
1015
- readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
1016
- }
1017
- /** @name FinalityGrandpaPrevote (118) */
1018
- interface FinalityGrandpaPrevote extends Struct {
1019
- readonly targetHash: H256;
1020
- readonly targetNumber: u32;
1021
- }
1022
- /** @name SpConsensusGrandpaAppSignature (119) */
1023
- interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {
1024
- }
1025
- /** @name SpCoreEd25519Signature (120) */
1026
- interface SpCoreEd25519Signature extends U8aFixed {
1027
- }
1028
- /** @name FinalityGrandpaEquivocationPrecommit (123) */
1029
- interface FinalityGrandpaEquivocationPrecommit extends Struct {
1030
- readonly roundNumber: u64;
1031
- readonly identity: SpConsensusGrandpaAppPublic;
1032
- readonly first: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
1033
- readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
1034
- }
1035
- /** @name FinalityGrandpaPrecommit (124) */
1036
- interface FinalityGrandpaPrecommit extends Struct {
1037
- readonly targetHash: H256;
1038
- readonly targetNumber: u32;
1039
- }
1040
- /** @name SpCoreVoid (126) */
1041
- type SpCoreVoid = Null;
1042
- /** @name PalletGrandpaError (127) */
1043
- interface PalletGrandpaError extends Enum {
1044
- readonly isPauseFailed: boolean;
1045
- readonly isResumeFailed: boolean;
1046
- readonly isChangePending: boolean;
1047
- readonly isTooSoon: boolean;
1048
- readonly isInvalidKeyOwnershipProof: boolean;
1049
- readonly isInvalidEquivocationProof: boolean;
1050
- readonly isDuplicateOffenceReport: boolean;
1051
- readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
1052
- }
1053
- /** @name PalletBalancesBalanceLock (129) */
1054
- interface PalletBalancesBalanceLock extends Struct {
1055
- readonly id: U8aFixed;
1056
- readonly amount: u128;
1057
- readonly reasons: PalletBalancesReasons;
1058
- }
1059
- /** @name PalletBalancesReasons (130) */
1060
- interface PalletBalancesReasons extends Enum {
1061
- readonly isFee: boolean;
1062
- readonly isMisc: boolean;
1063
- readonly isAll: boolean;
1064
- readonly type: 'Fee' | 'Misc' | 'All';
1065
- }
1066
- /** @name PalletBalancesReserveData (133) */
1067
- interface PalletBalancesReserveData extends Struct {
1068
- readonly id: U8aFixed;
1069
- readonly amount: u128;
1070
- }
1071
- /** @name PalletBalancesIdAmount (136) */
1072
- interface PalletBalancesIdAmount extends Struct {
1073
- readonly id: Null;
1074
- readonly amount: u128;
1075
- }
1076
- /** @name PalletBalancesCall (138) */
1077
- interface PalletBalancesCall extends Enum {
1078
- readonly isTransferAllowDeath: boolean;
1079
- readonly asTransferAllowDeath: {
1080
- readonly dest: MultiAddress;
1081
- readonly value: Compact<u128>;
1082
- } & Struct;
1083
- readonly isSetBalanceDeprecated: boolean;
1084
- readonly asSetBalanceDeprecated: {
1085
- readonly who: MultiAddress;
1086
- readonly newFree: Compact<u128>;
1087
- readonly oldReserved: Compact<u128>;
1088
- } & Struct;
1089
- readonly isForceTransfer: boolean;
1090
- readonly asForceTransfer: {
1091
- readonly source: MultiAddress;
1092
- readonly dest: MultiAddress;
1093
- readonly value: Compact<u128>;
1094
- } & Struct;
1095
- readonly isTransferKeepAlive: boolean;
1096
- readonly asTransferKeepAlive: {
1097
- readonly dest: MultiAddress;
1098
- readonly value: Compact<u128>;
1099
- } & Struct;
1100
- readonly isTransferAll: boolean;
1101
- readonly asTransferAll: {
1102
- readonly dest: MultiAddress;
1103
- readonly keepAlive: bool;
1104
- } & Struct;
1105
- readonly isForceUnreserve: boolean;
1106
- readonly asForceUnreserve: {
1107
- readonly who: MultiAddress;
1108
- readonly amount: u128;
1109
- } & Struct;
1110
- readonly isUpgradeAccounts: boolean;
1111
- readonly asUpgradeAccounts: {
1112
- readonly who: Vec<AccountId32>;
1113
- } & Struct;
1114
- readonly isTransfer: boolean;
1115
- readonly asTransfer: {
1116
- readonly dest: MultiAddress;
1117
- readonly value: Compact<u128>;
1118
- } & Struct;
1119
- readonly isForceSetBalance: boolean;
1120
- readonly asForceSetBalance: {
1121
- readonly who: MultiAddress;
1122
- readonly newFree: Compact<u128>;
1123
- } & Struct;
1124
- readonly type: 'TransferAllowDeath' | 'SetBalanceDeprecated' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'Transfer' | 'ForceSetBalance';
1125
- }
1126
- /** @name PalletBalancesError (143) */
1127
- interface PalletBalancesError extends Enum {
1128
- readonly isVestingBalance: boolean;
1129
- readonly isLiquidityRestrictions: boolean;
1130
- readonly isInsufficientBalance: boolean;
1131
- readonly isExistentialDeposit: boolean;
1132
- readonly isExpendability: boolean;
1133
- readonly isExistingVestingSchedule: boolean;
1134
- readonly isDeadAccount: boolean;
1135
- readonly isTooManyReserves: boolean;
1136
- readonly isTooManyHolds: boolean;
1137
- readonly isTooManyFreezes: boolean;
1138
- readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes';
1139
- }
1140
- /** @name PalletTransactionPaymentReleases (145) */
1141
- interface PalletTransactionPaymentReleases extends Enum {
1142
- readonly isV1Ancient: boolean;
1143
- readonly isV2: boolean;
1144
- readonly type: 'V1Ancient' | 'V2';
1145
- }
1146
- /** @name PalletSudoCall (146) */
1147
- interface PalletSudoCall extends Enum {
1148
- readonly isSudo: boolean;
1149
- readonly asSudo: {
1150
- readonly call: Call;
1151
- } & Struct;
1152
- readonly isSudoUncheckedWeight: boolean;
1153
- readonly asSudoUncheckedWeight: {
1154
- readonly call: Call;
1155
- readonly weight: SpWeightsWeightV2Weight;
1156
- } & Struct;
1157
- readonly isSetKey: boolean;
1158
- readonly asSetKey: {
1159
- readonly new_: MultiAddress;
1160
- } & Struct;
1161
- readonly isSudoAs: boolean;
1162
- readonly asSudoAs: {
1163
- readonly who: MultiAddress;
1164
- readonly call: Call;
1165
- } & Struct;
1166
- readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
1167
- }
1168
- /** @name PalletSchedulerCall (148) */
1169
- interface PalletSchedulerCall extends Enum {
1170
- readonly isSchedule: boolean;
1171
- readonly asSchedule: {
1172
- readonly when: u32;
1173
- readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
1174
- readonly priority: u8;
1175
- readonly call: Call;
1176
- } & Struct;
1177
- readonly isCancel: boolean;
1178
- readonly asCancel: {
1179
- readonly when: u32;
1180
- readonly index: u32;
1181
- } & Struct;
1182
- readonly isScheduleNamed: boolean;
1183
- readonly asScheduleNamed: {
1184
- readonly id: U8aFixed;
1185
- readonly when: u32;
1186
- readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
1187
- readonly priority: u8;
1188
- readonly call: Call;
1189
- } & Struct;
1190
- readonly isCancelNamed: boolean;
1191
- readonly asCancelNamed: {
1192
- readonly id: U8aFixed;
1193
- } & Struct;
1194
- readonly isScheduleAfter: boolean;
1195
- readonly asScheduleAfter: {
1196
- readonly after: u32;
1197
- readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
1198
- readonly priority: u8;
1199
- readonly call: Call;
1200
- } & Struct;
1201
- readonly isScheduleNamedAfter: boolean;
1202
- readonly asScheduleNamedAfter: {
1203
- readonly id: U8aFixed;
1204
- readonly after: u32;
1205
- readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
1206
- readonly priority: u8;
1207
- readonly call: Call;
1208
- } & Struct;
1209
- readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter';
1210
- }
1211
- /** @name PalletCollectiveCall (150) */
1212
- interface PalletCollectiveCall extends Enum {
1213
- readonly isSetMembers: boolean;
1214
- readonly asSetMembers: {
1215
- readonly newMembers: Vec<AccountId32>;
1216
- readonly prime: Option<AccountId32>;
1217
- readonly oldCount: u32;
1218
- } & Struct;
1219
- readonly isExecute: boolean;
1220
- readonly asExecute: {
1221
- readonly proposal: Call;
1222
- readonly lengthBound: Compact<u32>;
1223
- } & Struct;
1224
- readonly isPropose: boolean;
1225
- readonly asPropose: {
1226
- readonly threshold: Compact<u32>;
1227
- readonly proposal: Call;
1228
- readonly lengthBound: Compact<u32>;
1229
- } & Struct;
1230
- readonly isVote: boolean;
1231
- readonly asVote: {
1232
- readonly proposal: H256;
1233
- readonly index: Compact<u32>;
1234
- readonly approve: bool;
1235
- } & Struct;
1236
- readonly isDisapproveProposal: boolean;
1237
- readonly asDisapproveProposal: {
1238
- readonly proposalHash: H256;
1239
- } & Struct;
1240
- readonly isClose: boolean;
1241
- readonly asClose: {
1242
- readonly proposalHash: H256;
1243
- readonly index: Compact<u32>;
1244
- readonly proposalWeightBound: SpWeightsWeightV2Weight;
1245
- readonly lengthBound: Compact<u32>;
1246
- } & Struct;
1247
- readonly type: 'SetMembers' | 'Execute' | 'Propose' | 'Vote' | 'DisapproveProposal' | 'Close';
1248
- }
1249
- /** @name SugarfungeValidatorSetCall (151) */
1250
- interface SugarfungeValidatorSetCall extends Enum {
1251
- readonly isAddValidator: boolean;
1252
- readonly asAddValidator: {
1253
- readonly validatorId: AccountId32;
1254
- } & Struct;
1255
- readonly isRemoveValidator: boolean;
1256
- readonly asRemoveValidator: {
1257
- readonly validatorId: AccountId32;
1258
- } & Struct;
1259
- readonly isAddValidatorAgain: boolean;
1260
- readonly asAddValidatorAgain: {
1261
- readonly validatorId: AccountId32;
1262
- } & Struct;
1263
- readonly type: 'AddValidator' | 'RemoveValidator' | 'AddValidatorAgain';
1264
- }
1265
- /** @name PalletSessionCall (152) */
1266
- interface PalletSessionCall extends Enum {
1267
- readonly isSetKeys: boolean;
1268
- readonly asSetKeys: {
1269
- readonly keys_: SugarfungeRuntimeOpaqueSessionKeys;
1270
- readonly proof: Bytes;
1271
- } & Struct;
1272
- readonly isPurgeKeys: boolean;
1273
- readonly type: 'SetKeys' | 'PurgeKeys';
1274
- }
1275
- /** @name SugarfungeRuntimeOpaqueSessionKeys (153) */
1276
- interface SugarfungeRuntimeOpaqueSessionKeys extends Struct {
1277
- readonly aura: SpConsensusAuraSr25519AppSr25519Public;
1278
- readonly grandpa: SpConsensusGrandpaAppPublic;
1279
- }
1280
- /** @name SpConsensusAuraSr25519AppSr25519Public (154) */
1281
- interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {
1282
- }
1283
- /** @name SpCoreSr25519Public (155) */
1284
- interface SpCoreSr25519Public extends U8aFixed {
1285
- }
1286
- /** @name SugarfungeAssetCall (156) */
1287
- interface SugarfungeAssetCall extends Enum {
1288
- readonly isCreateClass: boolean;
1289
- readonly asCreateClass: {
1290
- readonly owner: AccountId32;
1291
- readonly classId: u64;
1292
- readonly metadata: Bytes;
1293
- } & Struct;
1294
- readonly isCreateAsset: boolean;
1295
- readonly asCreateAsset: {
1296
- readonly classId: u64;
1297
- readonly assetId: u64;
1298
- readonly metadata: Bytes;
1299
- } & Struct;
1300
- readonly isTransferFrom: boolean;
1301
- readonly asTransferFrom: {
1302
- readonly from: AccountId32;
1303
- readonly to: AccountId32;
1304
- readonly classId: u64;
1305
- readonly assetId: u64;
1306
- readonly amount: u128;
1307
- } & Struct;
1308
- readonly isBatchTransferFrom: boolean;
1309
- readonly asBatchTransferFrom: {
1310
- readonly from: AccountId32;
1311
- readonly to: AccountId32;
1312
- readonly classId: u64;
1313
- readonly assetIds: Vec<u64>;
1314
- readonly amounts: Vec<u128>;
1315
- } & Struct;
1316
- readonly isMint: boolean;
1317
- readonly asMint: {
1318
- readonly to: AccountId32;
1319
- readonly classId: u64;
1320
- readonly assetId: u64;
1321
- readonly amount: u128;
1322
- } & Struct;
1323
- readonly isBatchMint: boolean;
1324
- readonly asBatchMint: {
1325
- readonly to: AccountId32;
1326
- readonly classId: u64;
1327
- readonly assetIds: Vec<u64>;
1328
- readonly amounts: Vec<u128>;
1329
- } & Struct;
1330
- readonly isBurn: boolean;
1331
- readonly asBurn: {
1332
- readonly from: AccountId32;
1333
- readonly classId: u64;
1334
- readonly assetId: u64;
1335
- readonly amount: u128;
1336
- } & Struct;
1337
- readonly isBatchBurn: boolean;
1338
- readonly asBatchBurn: {
1339
- readonly from: AccountId32;
1340
- readonly classId: u64;
1341
- readonly assetIds: Vec<u64>;
1342
- readonly amounts: Vec<u128>;
1343
- } & Struct;
1344
- readonly isUpdateClassMetadata: boolean;
1345
- readonly asUpdateClassMetadata: {
1346
- readonly classId: u64;
1347
- readonly metadata: Bytes;
1348
- } & Struct;
1349
- readonly isUpdateAssetMetadata: boolean;
1350
- readonly asUpdateAssetMetadata: {
1351
- readonly classId: u64;
1352
- readonly assetId: u64;
1353
- readonly metadata: Bytes;
1354
- } & Struct;
1355
- readonly type: 'CreateClass' | 'CreateAsset' | 'TransferFrom' | 'BatchTransferFrom' | 'Mint' | 'BatchMint' | 'Burn' | 'BatchBurn' | 'UpdateClassMetadata' | 'UpdateAssetMetadata';
1356
- }
1357
- /** @name SugarfungeDaoCall (159) */
1358
- interface SugarfungeDaoCall extends Enum {
1359
- readonly isDoSomething: boolean;
1360
- readonly asDoSomething: {
1361
- readonly something: u32;
1362
- } & Struct;
1363
- readonly isCauseError: boolean;
1364
- readonly type: 'DoSomething' | 'CauseError';
1365
- }
1366
- /** @name SugarfungeBundleCall (160) */
1367
- interface SugarfungeBundleCall extends Enum {
1368
- readonly isRegisterBundle: boolean;
1369
- readonly asRegisterBundle: {
1370
- readonly classId: u64;
1371
- readonly assetId: u64;
1372
- readonly bundleId: H256;
1373
- readonly schema: ITuple<[Vec<u64>, Vec<Vec<u64>>, Vec<Vec<u128>>]>;
1374
- readonly metadata: Bytes;
1375
- } & Struct;
1376
- readonly isMintBundle: boolean;
1377
- readonly asMintBundle: {
1378
- readonly from: AccountId32;
1379
- readonly to: AccountId32;
1380
- readonly bundleId: H256;
1381
- readonly amount: u128;
1382
- } & Struct;
1383
- readonly isBurnBundle: boolean;
1384
- readonly asBurnBundle: {
1385
- readonly from: AccountId32;
1386
- readonly to: AccountId32;
1387
- readonly bundleId: H256;
1388
- readonly amount: u128;
1389
- } & Struct;
1390
- readonly type: 'RegisterBundle' | 'MintBundle' | 'BurnBundle';
1391
- }
1392
- /** @name SugarfungeBagCall (168) */
1393
- interface SugarfungeBagCall extends Enum {
1394
- readonly isRegister: boolean;
1395
- readonly asRegister: {
1396
- readonly classId: u64;
1397
- readonly metadata: Bytes;
1398
- } & Struct;
1399
- readonly isCreate: boolean;
1400
- readonly asCreate: {
1401
- readonly classId: u64;
1402
- readonly owners: Vec<AccountId32>;
1403
- readonly shares: Vec<u128>;
1404
- } & Struct;
1405
- readonly isDeposit: boolean;
1406
- readonly asDeposit: {
1407
- readonly bag: AccountId32;
1408
- readonly classIds: Vec<u64>;
1409
- readonly assetIds: Vec<Vec<u64>>;
1410
- readonly amounts: Vec<Vec<u128>>;
1411
- } & Struct;
1412
- readonly isSweep: boolean;
1413
- readonly asSweep: {
1414
- readonly to: AccountId32;
1415
- readonly bag: AccountId32;
1416
- } & Struct;
1417
- readonly type: 'Register' | 'Create' | 'Deposit' | 'Sweep';
1418
- }
1419
- /** @name SugarfungeExgineCall (169) */
1420
- interface SugarfungeExgineCall extends Enum {
1421
- readonly isDoSomething: boolean;
1422
- readonly asDoSomething: {
1423
- readonly something: u32;
1424
- } & Struct;
1425
- readonly isCauseError: boolean;
1426
- readonly type: 'DoSomething' | 'CauseError';
1427
- }
1428
- /** @name SugarfungeMarketCall (170) */
1429
- interface SugarfungeMarketCall extends Enum {
1430
- readonly isCreateMarket: boolean;
1431
- readonly asCreateMarket: {
1432
- readonly marketId: u64;
1433
- } & Struct;
1434
- readonly isCreateMarketRate: boolean;
1435
- readonly asCreateMarketRate: {
1436
- readonly marketId: u64;
1437
- readonly marketRateId: u64;
1438
- readonly rates: Vec<SugarfungeMarketAssetRate>;
1439
- } & Struct;
1440
- readonly isDeposit: boolean;
1441
- readonly asDeposit: {
1442
- readonly marketId: u64;
1443
- readonly marketRateId: u64;
1444
- readonly amount: u128;
1445
- } & Struct;
1446
- readonly isExchangeAssets: boolean;
1447
- readonly asExchangeAssets: {
1448
- readonly marketId: u64;
1449
- readonly marketRateId: u64;
1450
- readonly amount: u128;
1451
- } & Struct;
1452
- readonly type: 'CreateMarket' | 'CreateMarketRate' | 'Deposit' | 'ExchangeAssets';
1453
- }
1454
- /** @name FunctionlandFulaCall (173) */
1455
- interface FunctionlandFulaCall extends Enum {
1456
- readonly isUpdateManifest: boolean;
1457
- readonly asUpdateManifest: {
1458
- readonly cid: Bytes;
1459
- readonly poolId: u32;
1460
- readonly activeCycles: u16;
1461
- readonly missedCycles: u16;
1462
- readonly activeDays: i32;
1463
- } & Struct;
1464
- readonly isUploadManifest: boolean;
1465
- readonly asUploadManifest: {
1466
- readonly manifest: Bytes;
1467
- readonly cid: Bytes;
1468
- readonly poolId: u32;
1469
- readonly replicationFactor: u16;
1470
- } & Struct;
1471
- readonly isBatchUploadManifest: boolean;
1472
- readonly asBatchUploadManifest: {
1473
- readonly manifest: Vec<Bytes>;
1474
- readonly cids: Vec<Bytes>;
1475
- readonly poolId: Vec<u32>;
1476
- readonly replicationFactor: Vec<u16>;
1477
- } & Struct;
1478
- readonly isStorageManifest: boolean;
1479
- readonly asStorageManifest: {
1480
- readonly cid: Bytes;
1481
- readonly poolId: u32;
1482
- } & Struct;
1483
- readonly isBatchStorageManifest: boolean;
1484
- readonly asBatchStorageManifest: {
1485
- readonly cids: Vec<Bytes>;
1486
- readonly poolId: u32;
1487
- } & Struct;
1488
- readonly isRemoveStoredManifest: boolean;
1489
- readonly asRemoveStoredManifest: {
1490
- readonly cid: Bytes;
1491
- readonly poolId: u32;
1492
- } & Struct;
1493
- readonly isBatchRemoveStoredManifest: boolean;
1494
- readonly asBatchRemoveStoredManifest: {
1495
- readonly cids: Vec<Bytes>;
1496
- readonly poolId: u32;
1497
- } & Struct;
1498
- readonly isRemoveManifest: boolean;
1499
- readonly asRemoveManifest: {
1500
- readonly cid: Bytes;
1501
- readonly poolId: u32;
1502
- } & Struct;
1503
- readonly isBatchRemoveManifest: boolean;
1504
- readonly asBatchRemoveManifest: {
1505
- readonly cids: Vec<Bytes>;
1506
- readonly poolIds: Vec<u32>;
1507
- } & Struct;
1508
- readonly isVerifyManifests: boolean;
1509
- readonly isGetManifests: boolean;
1510
- readonly asGetManifests: {
1511
- readonly poolId: Option<u32>;
1512
- readonly uploader: Option<AccountId32>;
1513
- readonly storer: Option<AccountId32>;
1514
- } & Struct;
1515
- readonly isGetAvailableManifests: boolean;
1516
- readonly asGetAvailableManifests: {
1517
- readonly poolId: Option<u32>;
1518
- } & Struct;
1519
- readonly isGetManifestsStorerData: boolean;
1520
- readonly asGetManifestsStorerData: {
1521
- readonly poolId: Option<u32>;
1522
- readonly storer: Option<AccountId32>;
1523
- } & Struct;
1524
- readonly isGenerateChallenge: boolean;
1525
- readonly isVerifyChallenge: boolean;
1526
- readonly asVerifyChallenge: {
1527
- readonly poolId: u32;
1528
- readonly cids: Vec<Bytes>;
1529
- readonly classId: u64;
1530
- readonly assetId: u64;
1531
- } & Struct;
1532
- readonly isMintLaborTokens: boolean;
1533
- readonly asMintLaborTokens: {
1534
- readonly classId: u64;
1535
- readonly assetId: u64;
1536
- readonly amount: u128;
1537
- } & Struct;
1538
- readonly isUpdateFileSize: boolean;
1539
- readonly asUpdateFileSize: {
1540
- readonly cid: Bytes;
1541
- readonly poolId: u32;
1542
- readonly size_: u64;
1543
- } & Struct;
1544
- readonly isUpdateFileSizes: boolean;
1545
- readonly asUpdateFileSizes: {
1546
- readonly cids: Vec<Bytes>;
1547
- readonly poolId: u32;
1548
- readonly sizes: Vec<u64>;
1549
- } & Struct;
1550
- readonly type: 'UpdateManifest' | 'UploadManifest' | 'BatchUploadManifest' | 'StorageManifest' | 'BatchStorageManifest' | 'RemoveStoredManifest' | 'BatchRemoveStoredManifest' | 'RemoveManifest' | 'BatchRemoveManifest' | 'VerifyManifests' | 'GetManifests' | 'GetAvailableManifests' | 'GetManifestsStorerData' | 'GenerateChallenge' | 'VerifyChallenge' | 'MintLaborTokens' | 'UpdateFileSize' | 'UpdateFileSizes';
1551
- }
1552
- /** @name FulaPoolCall (177) */
1553
- interface FulaPoolCall extends Enum {
1554
- readonly isCreate: boolean;
1555
- readonly asCreate: {
1556
- readonly name: Bytes;
1557
- readonly region: Bytes;
1558
- readonly peerId: Bytes;
1559
- } & Struct;
1560
- readonly isLeavePool: boolean;
1561
- readonly asLeavePool: {
1562
- readonly poolId: u32;
1563
- } & Struct;
1564
- readonly isJoin: boolean;
1565
- readonly asJoin: {
1566
- readonly poolId: u32;
1567
- readonly peerId: Bytes;
1568
- } & Struct;
1569
- readonly isCancelJoin: boolean;
1570
- readonly asCancelJoin: {
1571
- readonly poolId: u32;
1572
- } & Struct;
1573
- readonly isVote: boolean;
1574
- readonly asVote: {
1575
- readonly poolId: u32;
1576
- readonly account: AccountId32;
1577
- readonly positive: bool;
1578
- readonly peerId: Bytes;
1579
- } & Struct;
1580
- readonly type: 'Create' | 'LeavePool' | 'Join' | 'CancelJoin' | 'Vote';
1581
- }
1582
- /** @name PalletSudoError (179) */
1583
- interface PalletSudoError extends Enum {
1584
- readonly isRequireSudo: boolean;
1585
- readonly type: 'RequireSudo';
1586
- }
1587
- /** @name PalletSchedulerScheduled (182) */
1588
- interface PalletSchedulerScheduled extends Struct {
1589
- readonly maybeId: Option<U8aFixed>;
1590
- readonly priority: u8;
1591
- readonly call: FrameSupportPreimagesBounded;
1592
- readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
1593
- readonly origin: SugarfungeRuntimeOriginCaller;
1594
- }
1595
- /** @name FrameSupportPreimagesBounded (183) */
1596
- interface FrameSupportPreimagesBounded extends Enum {
1597
- readonly isLegacy: boolean;
1598
- readonly asLegacy: {
1599
- readonly hash_: H256;
1600
- } & Struct;
1601
- readonly isInline: boolean;
1602
- readonly asInline: Bytes;
1603
- readonly isLookup: boolean;
1604
- readonly asLookup: {
1605
- readonly hash_: H256;
1606
- readonly len: u32;
1607
- } & Struct;
1608
- readonly type: 'Legacy' | 'Inline' | 'Lookup';
1609
- }
1610
- /** @name SugarfungeRuntimeOriginCaller (185) */
1611
- interface SugarfungeRuntimeOriginCaller extends Enum {
1612
- readonly isSystem: boolean;
1613
- readonly asSystem: FrameSupportDispatchRawOrigin;
1614
- readonly isVoid: boolean;
1615
- readonly isCouncil: boolean;
1616
- readonly asCouncil: PalletCollectiveRawOrigin;
1617
- readonly type: 'System' | 'Void' | 'Council';
1618
- }
1619
- /** @name FrameSupportDispatchRawOrigin (186) */
1620
- interface FrameSupportDispatchRawOrigin extends Enum {
1621
- readonly isRoot: boolean;
1622
- readonly isSigned: boolean;
1623
- readonly asSigned: AccountId32;
1624
- readonly isNone: boolean;
1625
- readonly type: 'Root' | 'Signed' | 'None';
1626
- }
1627
- /** @name PalletCollectiveRawOrigin (187) */
1628
- interface PalletCollectiveRawOrigin extends Enum {
1629
- readonly isMembers: boolean;
1630
- readonly asMembers: ITuple<[u32, u32]>;
1631
- readonly isMember: boolean;
1632
- readonly asMember: AccountId32;
1633
- readonly isPhantom: boolean;
1634
- readonly type: 'Members' | 'Member' | 'Phantom';
1635
- }
1636
- /** @name PalletSchedulerError (189) */
1637
- interface PalletSchedulerError extends Enum {
1638
- readonly isFailedToSchedule: boolean;
1639
- readonly isNotFound: boolean;
1640
- readonly isTargetBlockNumberInPast: boolean;
1641
- readonly isRescheduleNoChange: boolean;
1642
- readonly isNamed: boolean;
1643
- readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named';
1644
- }
1645
- /** @name PalletCollectiveVotes (191) */
1646
- interface PalletCollectiveVotes extends Struct {
1647
- readonly index: u32;
1648
- readonly threshold: u32;
1649
- readonly ayes: Vec<AccountId32>;
1650
- readonly nays: Vec<AccountId32>;
1651
- readonly end: u32;
1652
- }
1653
- /** @name PalletCollectiveError (192) */
1654
- interface PalletCollectiveError extends Enum {
1655
- readonly isNotMember: boolean;
1656
- readonly isDuplicateProposal: boolean;
1657
- readonly isProposalMissing: boolean;
1658
- readonly isWrongIndex: boolean;
1659
- readonly isDuplicateVote: boolean;
1660
- readonly isAlreadyInitialized: boolean;
1661
- readonly isTooEarly: boolean;
1662
- readonly isTooManyProposals: boolean;
1663
- readonly isWrongProposalWeight: boolean;
1664
- readonly isWrongProposalLength: boolean;
1665
- readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength';
1666
- }
1667
- /** @name SugarfungeValidatorSetError (194) */
1668
- interface SugarfungeValidatorSetError extends Enum {
1669
- readonly isTooLowValidatorCount: boolean;
1670
- readonly isDuplicate: boolean;
1671
- readonly isValidatorNotApproved: boolean;
1672
- readonly isBadOrigin: boolean;
1673
- readonly type: 'TooLowValidatorCount' | 'Duplicate' | 'ValidatorNotApproved' | 'BadOrigin';
1674
- }
1675
- /** @name SpCoreCryptoKeyTypeId (198) */
1676
- interface SpCoreCryptoKeyTypeId extends U8aFixed {
1677
- }
1678
- /** @name PalletSessionError (199) */
1679
- interface PalletSessionError extends Enum {
1680
- readonly isInvalidProof: boolean;
1681
- readonly isNoAssociatedValidatorId: boolean;
1682
- readonly isDuplicatedKey: boolean;
1683
- readonly isNoKeys: boolean;
1684
- readonly isNoAccount: boolean;
1685
- readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
1686
- }
1687
- /** @name SugarfungeAssetClass (200) */
1688
- interface SugarfungeAssetClass extends Struct {
1689
- readonly owner: AccountId32;
1690
- readonly metadata: Bytes;
1691
- }
1692
- /** @name SugarfungeAssetAsset (202) */
1693
- interface SugarfungeAssetAsset extends Struct {
1694
- readonly classId: u64;
1695
- readonly creator: AccountId32;
1696
- readonly metadata: Bytes;
1697
- }
1698
- /** @name SugarfungeAssetError (204) */
1699
- interface SugarfungeAssetError extends Enum {
1700
- readonly isUnknown: boolean;
1701
- readonly isInUse: boolean;
1702
- readonly isInvalidAssetId: boolean;
1703
- readonly isInsufficientBalance: boolean;
1704
- readonly isNumOverflow: boolean;
1705
- readonly isInvalidArrayLength: boolean;
1706
- readonly isOverflow: boolean;
1707
- readonly isInvalidClassId: boolean;
1708
- readonly isNoPermission: boolean;
1709
- readonly isClassNotFound: boolean;
1710
- readonly isAssetNotFound: boolean;
1711
- readonly type: 'Unknown' | 'InUse' | 'InvalidAssetId' | 'InsufficientBalance' | 'NumOverflow' | 'InvalidArrayLength' | 'Overflow' | 'InvalidClassId' | 'NoPermission' | 'ClassNotFound' | 'AssetNotFound';
1712
- }
1713
- /** @name SugarfungeDaoError (205) */
1714
- interface SugarfungeDaoError extends Enum {
1715
- readonly isNoneValue: boolean;
1716
- readonly isStorageOverflow: boolean;
1717
- readonly type: 'NoneValue' | 'StorageOverflow';
1718
- }
1719
- /** @name SugarfungeBundleBundle (206) */
1720
- interface SugarfungeBundleBundle extends Struct {
1721
- readonly creator: AccountId32;
1722
- readonly classId: u64;
1723
- readonly assetId: u64;
1724
- readonly metadata: Bytes;
1725
- readonly schema: ITuple<[Vec<u64>, Vec<Vec<u64>>, Vec<Vec<u128>>]>;
1726
- readonly vault: AccountId32;
1727
- }
1728
- /** @name FrameSupportPalletId (207) */
1729
- interface FrameSupportPalletId extends U8aFixed {
1730
- }
1731
- /** @name SugarfungeBundleError (208) */
1732
- interface SugarfungeBundleError extends Enum {
1733
- readonly isInvalidBundleIdForBundle: boolean;
1734
- readonly isBundleExists: boolean;
1735
- readonly isBundleNotFound: boolean;
1736
- readonly isNumOverflow: boolean;
1737
- readonly isInvalidArrayLength: boolean;
1738
- readonly isInsufficientBalance: boolean;
1739
- readonly isAssetExists: boolean;
1740
- readonly isAccountNotOwner: boolean;
1741
- readonly type: 'InvalidBundleIdForBundle' | 'BundleExists' | 'BundleNotFound' | 'NumOverflow' | 'InvalidArrayLength' | 'InsufficientBalance' | 'AssetExists' | 'AccountNotOwner';
1742
- }
1743
- /** @name SugarfungeBagBagClass (209) */
1744
- interface SugarfungeBagBagClass extends Struct {
1745
- readonly operator: AccountId32;
1746
- readonly classId: u64;
1747
- }
1748
- /** @name SugarfungeBagBag (210) */
1749
- interface SugarfungeBagBag extends Struct {
1750
- readonly operator: AccountId32;
1751
- readonly classId: u64;
1752
- readonly assetId: u64;
1753
- readonly totalShares: u128;
1754
- }
1755
- /** @name SugarfungeBagError (211) */
1756
- interface SugarfungeBagError extends Enum {
1757
- readonly isBagClassExists: boolean;
1758
- readonly isBagExists: boolean;
1759
- readonly isInvalidBagClass: boolean;
1760
- readonly isInvalidBag: boolean;
1761
- readonly isInvalidBagOperator: boolean;
1762
- readonly isInvalidBagOwner: boolean;
1763
- readonly isInvalidArrayLength: boolean;
1764
- readonly isInsufficientShares: boolean;
1765
- readonly type: 'BagClassExists' | 'BagExists' | 'InvalidBagClass' | 'InvalidBag' | 'InvalidBagOperator' | 'InvalidBagOwner' | 'InvalidArrayLength' | 'InsufficientShares';
1766
- }
1767
- /** @name SugarfungeExgineError (212) */
1768
- interface SugarfungeExgineError extends Enum {
1769
- readonly isNoneValue: boolean;
1770
- readonly isStorageOverflow: boolean;
1771
- readonly type: 'NoneValue' | 'StorageOverflow';
1772
- }
1773
- /** @name SugarfungeMarketMarket (213) */
1774
- interface SugarfungeMarketMarket extends Struct {
1775
- readonly owner: AccountId32;
1776
- readonly vault: AccountId32;
1777
- }
1778
- /** @name SugarfungeMarketError (215) */
1779
- interface SugarfungeMarketError extends Enum {
1780
- readonly isOverflow: boolean;
1781
- readonly isInsufficientAmount: boolean;
1782
- readonly isInsufficientLiquidity: boolean;
1783
- readonly isInvalidMarket: boolean;
1784
- readonly isInvalidMarketRate: boolean;
1785
- readonly isInvalidMarketOwner: boolean;
1786
- readonly isNotAuthorizedToMintAsset: boolean;
1787
- readonly isMarketExists: boolean;
1788
- readonly isMarketRateExists: boolean;
1789
- readonly isInvalidAsset: boolean;
1790
- readonly isInvalidAssetRate: boolean;
1791
- readonly isInvalidRateAccount: boolean;
1792
- readonly isInvalidRateAmount: boolean;
1793
- readonly isInvalidBurnPrice: boolean;
1794
- readonly isInvalidBurnBalance: boolean;
1795
- readonly isInvalidTransferPrice: boolean;
1796
- readonly isInvalidTransferBalance: boolean;
1797
- readonly isInvalidBuyer: boolean;
1798
- readonly isInvalidArrayLength: boolean;
1799
- readonly type: 'Overflow' | 'InsufficientAmount' | 'InsufficientLiquidity' | 'InvalidMarket' | 'InvalidMarketRate' | 'InvalidMarketOwner' | 'NotAuthorizedToMintAsset' | 'MarketExists' | 'MarketRateExists' | 'InvalidAsset' | 'InvalidAssetRate' | 'InvalidRateAccount' | 'InvalidRateAmount' | 'InvalidBurnPrice' | 'InvalidBurnBalance' | 'InvalidTransferPrice' | 'InvalidTransferBalance' | 'InvalidBuyer' | 'InvalidArrayLength';
1800
- }
1801
- /** @name FunctionlandFulaManifest (217) */
1802
- interface FunctionlandFulaManifest extends Struct {
1803
- readonly usersData: Vec<FunctionlandFulaUploaderData>;
1804
- readonly manifestMetadata: Bytes;
1805
- readonly size_: Option<u64>;
1806
- }
1807
- /** @name FunctionlandFulaChallenge (220) */
1808
- interface FunctionlandFulaChallenge extends Struct {
1809
- readonly challenger: AccountId32;
1810
- readonly challengeState: FunctionlandFulaChallengeState;
1811
- }
1812
- /** @name FunctionlandFulaClaimData (221) */
1813
- interface FunctionlandFulaClaimData extends Struct {
1814
- readonly mintedLaborTokens: u128;
1815
- readonly expectedLaborTokens: u128;
1816
- readonly challengeTokens: u128;
1817
- }
1818
- /** @name FunctionlandFulaError (222) */
1819
- interface FunctionlandFulaError extends Enum {
1820
- readonly isNoneValue: boolean;
1821
- readonly isStorageOverflow: boolean;
1822
- readonly isReplicationFactorLimitReached: boolean;
1823
- readonly isReplicationFactorInvalid: boolean;
1824
- readonly isAccountAlreadyStorer: boolean;
1825
- readonly isAccountNotStorer: boolean;
1826
- readonly isAccountNotInPool: boolean;
1827
- readonly isAccountNotUploader: boolean;
1828
- readonly isAccountNotFound: boolean;
1829
- readonly isManifestAlreadyExist: boolean;
1830
- readonly isManifestNotFound: boolean;
1831
- readonly isManifestNotStored: boolean;
1832
- readonly isInvalidArrayLength: boolean;
1833
- readonly isErrorPickingCIDToChallenge: boolean;
1834
- readonly isErrorPickingAccountToChallenge: boolean;
1835
- readonly isManifestStorerDataNotFound: boolean;
1836
- readonly isNoFileSizeProvided: boolean;
1837
- readonly isNoAccountsToChallenge: boolean;
1838
- readonly type: 'NoneValue' | 'StorageOverflow' | 'ReplicationFactorLimitReached' | 'ReplicationFactorInvalid' | 'AccountAlreadyStorer' | 'AccountNotStorer' | 'AccountNotInPool' | 'AccountNotUploader' | 'AccountNotFound' | 'ManifestAlreadyExist' | 'ManifestNotFound' | 'ManifestNotStored' | 'InvalidArrayLength' | 'ErrorPickingCIDToChallenge' | 'ErrorPickingAccountToChallenge' | 'ManifestStorerDataNotFound' | 'NoFileSizeProvided' | 'NoAccountsToChallenge';
1839
- }
1840
- /** @name FulaPoolPool (223) */
1841
- interface FulaPoolPool extends Struct {
1842
- readonly name: Bytes;
1843
- readonly owner: Option<AccountId32>;
1844
- readonly parent: Option<u32>;
1845
- readonly participants: Vec<AccountId32>;
1846
- readonly requestNumber: u8;
1847
- readonly region: Bytes;
1848
- }
1849
- /** @name FulaPoolPoolRequest (226) */
1850
- interface FulaPoolPoolRequest extends Struct {
1851
- readonly voted: Vec<AccountId32>;
1852
- readonly positiveVotes: u16;
1853
- readonly peerId: Bytes;
1854
- }
1855
- /** @name FulaPoolUser (227) */
1856
- interface FulaPoolUser extends Struct {
1857
- readonly poolId: Option<u32>;
1858
- readonly requestPoolId: Option<u32>;
1859
- readonly peerId: Bytes;
1860
- }
1861
- /** @name FulaPoolError (228) */
1862
- interface FulaPoolError extends Enum {
1863
- readonly isUserBusy: boolean;
1864
- readonly isMaxPools: boolean;
1865
- readonly isNameTooLong: boolean;
1866
- readonly isPoolDoesNotExist: boolean;
1867
- readonly isRequestDoesNotExist: boolean;
1868
- readonly isCapacityReached: boolean;
1869
- readonly isUserDoesNotExist: boolean;
1870
- readonly isAccessDenied: boolean;
1871
- readonly isInternalError: boolean;
1872
- readonly isAlreadyVoted: boolean;
1873
- readonly type: 'UserBusy' | 'MaxPools' | 'NameTooLong' | 'PoolDoesNotExist' | 'RequestDoesNotExist' | 'CapacityReached' | 'UserDoesNotExist' | 'AccessDenied' | 'InternalError' | 'AlreadyVoted';
1874
- }
1875
- /** @name SpRuntimeMultiSignature (230) */
1876
- interface SpRuntimeMultiSignature extends Enum {
1877
- readonly isEd25519: boolean;
1878
- readonly asEd25519: SpCoreEd25519Signature;
1879
- readonly isSr25519: boolean;
1880
- readonly asSr25519: SpCoreSr25519Signature;
1881
- readonly isEcdsa: boolean;
1882
- readonly asEcdsa: SpCoreEcdsaSignature;
1883
- readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
1884
- }
1885
- /** @name SpCoreSr25519Signature (231) */
1886
- interface SpCoreSr25519Signature extends U8aFixed {
1887
- }
1888
- /** @name SpCoreEcdsaSignature (232) */
1889
- interface SpCoreEcdsaSignature extends U8aFixed {
1890
- }
1891
- /** @name FrameSystemExtensionsCheckNonZeroSender (235) */
1892
- type FrameSystemExtensionsCheckNonZeroSender = Null;
1893
- /** @name FrameSystemExtensionsCheckSpecVersion (236) */
1894
- type FrameSystemExtensionsCheckSpecVersion = Null;
1895
- /** @name FrameSystemExtensionsCheckTxVersion (237) */
1896
- type FrameSystemExtensionsCheckTxVersion = Null;
1897
- /** @name FrameSystemExtensionsCheckGenesis (238) */
1898
- type FrameSystemExtensionsCheckGenesis = Null;
1899
- /** @name FrameSystemExtensionsCheckNonce (241) */
1900
- interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
1901
- }
1902
- /** @name FrameSystemExtensionsCheckWeight (242) */
1903
- type FrameSystemExtensionsCheckWeight = Null;
1904
- /** @name PalletTransactionPaymentChargeTransactionPayment (243) */
1905
- interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
1906
- }
1907
- /** @name SugarfungeRuntimeRuntime (244) */
1908
- type SugarfungeRuntimeRuntime = Null;
1909
- }
1910
- //# sourceMappingURL=types-lookup.d.ts.map