@functionland/react-native-fula 0.4.2 → 1.1.4

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 (66) hide show
  1. package/README.md +99 -9
  2. package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  3. package/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
  4. package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
  5. package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  6. package/android/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
  7. package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  8. package/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  9. package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  10. package/android/.gradle/7.5.1/fileHashes/resourceHashesCache.bin +0 -0
  11. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  12. package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  13. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  14. package/android/.gradle/file-system.probe +0 -0
  15. package/android/.idea/jarRepositories.xml +9 -9
  16. package/android/.idea/sonarlint/issuestore/index.pb +0 -0
  17. package/android/build.gradle +7 -5
  18. package/android/gradle/wrapper/gradle-wrapper.properties +7 -6
  19. package/android/gradle.properties +1 -1
  20. package/android/gradlew +53 -2
  21. package/android/local.properties +1 -1
  22. package/android/src/main/java/land/fx/fula/FulaModule.java +840 -72
  23. package/android/src/main/java/land/fx/fula/FulaPackage.java +32 -32
  24. package/lib/commonjs/index.js +5 -1
  25. package/lib/commonjs/index.js.map +1 -1
  26. package/lib/commonjs/interfaces/api-lookup.js +1653 -0
  27. package/lib/commonjs/interfaces/api-lookup.js.map +1 -0
  28. package/lib/commonjs/interfaces/fulaNativeModule.js +1 -1
  29. package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
  30. package/lib/commonjs/protocols/blockchain.js +404 -0
  31. package/lib/commonjs/protocols/blockchain.js.map +1 -0
  32. package/lib/commonjs/protocols/chain-api.js +87 -0
  33. package/lib/commonjs/protocols/chain-api.js.map +1 -0
  34. package/lib/commonjs/protocols/fula.js +120 -7
  35. package/lib/commonjs/protocols/fula.js.map +1 -1
  36. package/lib/commonjs/types/blockchain.js +2 -0
  37. package/lib/commonjs/types/blockchain.js.map +1 -0
  38. package/lib/module/index.js +4 -0
  39. package/lib/module/index.js.map +1 -1
  40. package/lib/module/interfaces/api-lookup.js +1648 -0
  41. package/lib/module/interfaces/api-lookup.js.map +1 -0
  42. package/lib/module/interfaces/fulaNativeModule.js +1 -1
  43. package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
  44. package/lib/module/protocols/blockchain.js +383 -0
  45. package/lib/module/protocols/blockchain.js.map +1 -0
  46. package/lib/module/protocols/chain-api.js +76 -0
  47. package/lib/module/protocols/chain-api.js.map +1 -0
  48. package/lib/module/protocols/fula.js +110 -4
  49. package/lib/module/protocols/fula.js.map +1 -1
  50. package/lib/module/types/blockchain.js +2 -0
  51. package/lib/module/types/blockchain.js.map +1 -0
  52. package/lib/typescript/index.d.ts +2 -0
  53. package/lib/typescript/interfaces/api-lookup.d.ts +1643 -0
  54. package/lib/typescript/interfaces/fulaNativeModule.d.ts +40 -3
  55. package/lib/typescript/protocols/blockchain.d.ts +17 -0
  56. package/lib/typescript/protocols/chain-api.d.ts +6 -0
  57. package/lib/typescript/protocols/fula.d.ts +52 -2
  58. package/lib/typescript/types/blockchain.d.ts +68 -0
  59. package/package.json +13 -8
  60. package/src/index.tsx +3 -1
  61. package/src/interfaces/api-lookup.ts +1647 -0
  62. package/src/interfaces/fulaNativeModule.ts +50 -7
  63. package/src/protocols/blockchain.ts +460 -0
  64. package/src/protocols/chain-api.ts +80 -0
  65. package/src/protocols/fula.ts +157 -12
  66. package/src/types/blockchain.ts +81 -0
@@ -0,0 +1,1648 @@
1
+ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
+ /* eslint-disable */
3
+
4
+ /* eslint-disable sort-keys */
5
+
6
+ export default {
7
+ /**
8
+ * Lookup3: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
9
+ **/
10
+ FrameSystemAccountInfo: {
11
+ nonce: 'u32',
12
+ consumers: 'u32',
13
+ providers: 'u32',
14
+ sufficients: 'u32',
15
+ data: 'PalletBalancesAccountData'
16
+ },
17
+ /**
18
+ * Lookup5: pallet_balances::AccountData<Balance>
19
+ **/
20
+ PalletBalancesAccountData: {
21
+ free: 'u128',
22
+ reserved: 'u128',
23
+ miscFrozen: 'u128',
24
+ feeFrozen: 'u128'
25
+ },
26
+ /**
27
+ * Lookup7: frame_support::dispatch::PerDispatchClass<sp_weights::weight_v2::Weight>
28
+ **/
29
+ FrameSupportDispatchPerDispatchClassWeight: {
30
+ normal: 'Weight',
31
+ operational: 'Weight',
32
+ mandatory: 'Weight'
33
+ },
34
+ /**
35
+ * Lookup12: sp_runtime::generic::digest::Digest
36
+ **/
37
+ SpRuntimeDigest: {
38
+ logs: 'Vec<SpRuntimeDigestDigestItem>'
39
+ },
40
+ /**
41
+ * Lookup14: sp_runtime::generic::digest::DigestItem
42
+ **/
43
+ SpRuntimeDigestDigestItem: {
44
+ _enum: {
45
+ Other: 'Bytes',
46
+ __Unused1: 'Null',
47
+ __Unused2: 'Null',
48
+ __Unused3: 'Null',
49
+ Consensus: '([u8;4],Bytes)',
50
+ Seal: '([u8;4],Bytes)',
51
+ PreRuntime: '([u8;4],Bytes)',
52
+ __Unused7: 'Null',
53
+ RuntimeEnvironmentUpdated: 'Null'
54
+ }
55
+ },
56
+ /**
57
+ * Lookup17: frame_system::EventRecord<sugarfunge_runtime::RuntimeEvent, primitive_types::H256>
58
+ **/
59
+ FrameSystemEventRecord: {
60
+ phase: 'FrameSystemPhase',
61
+ event: 'Event',
62
+ topics: 'Vec<H256>'
63
+ },
64
+ /**
65
+ * Lookup19: frame_system::pallet::Event<T>
66
+ **/
67
+ FrameSystemEvent: {
68
+ _enum: {
69
+ ExtrinsicSuccess: {
70
+ dispatchInfo: 'FrameSupportDispatchDispatchInfo'
71
+ },
72
+ ExtrinsicFailed: {
73
+ dispatchError: 'SpRuntimeDispatchError',
74
+ dispatchInfo: 'FrameSupportDispatchDispatchInfo'
75
+ },
76
+ CodeUpdated: 'Null',
77
+ NewAccount: {
78
+ account: 'AccountId32'
79
+ },
80
+ KilledAccount: {
81
+ account: 'AccountId32'
82
+ },
83
+ Remarked: {
84
+ _alias: {
85
+ hash_: 'hash'
86
+ },
87
+ sender: 'AccountId32',
88
+ hash_: 'H256'
89
+ }
90
+ }
91
+ },
92
+ /**
93
+ * Lookup20: frame_support::dispatch::DispatchInfo
94
+ **/
95
+ FrameSupportDispatchDispatchInfo: {
96
+ weight: 'Weight',
97
+ class: 'FrameSupportDispatchDispatchClass',
98
+ paysFee: 'FrameSupportDispatchPays'
99
+ },
100
+ /**
101
+ * Lookup21: frame_support::dispatch::DispatchClass
102
+ **/
103
+ FrameSupportDispatchDispatchClass: {
104
+ _enum: ['Normal', 'Operational', 'Mandatory']
105
+ },
106
+ /**
107
+ * Lookup22: frame_support::dispatch::Pays
108
+ **/
109
+ FrameSupportDispatchPays: {
110
+ _enum: ['Yes', 'No']
111
+ },
112
+ /**
113
+ * Lookup23: sp_runtime::DispatchError
114
+ **/
115
+ SpRuntimeDispatchError: {
116
+ _enum: {
117
+ Other: 'Null',
118
+ CannotLookup: 'Null',
119
+ BadOrigin: 'Null',
120
+ Module: 'SpRuntimeModuleError',
121
+ ConsumerRemaining: 'Null',
122
+ NoProviders: 'Null',
123
+ TooManyConsumers: 'Null',
124
+ Token: 'SpRuntimeTokenError',
125
+ Arithmetic: 'SpRuntimeArithmeticError',
126
+ Transactional: 'SpRuntimeTransactionalError'
127
+ }
128
+ },
129
+ /**
130
+ * Lookup24: sp_runtime::ModuleError
131
+ **/
132
+ SpRuntimeModuleError: {
133
+ index: 'u8',
134
+ error: '[u8;4]'
135
+ },
136
+ /**
137
+ * Lookup25: sp_runtime::TokenError
138
+ **/
139
+ SpRuntimeTokenError: {
140
+ _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
141
+ },
142
+ /**
143
+ * Lookup26: sp_runtime::ArithmeticError
144
+ **/
145
+ SpRuntimeArithmeticError: {
146
+ _enum: ['Underflow', 'Overflow', 'DivisionByZero']
147
+ },
148
+ /**
149
+ * Lookup27: sp_runtime::TransactionalError
150
+ **/
151
+ SpRuntimeTransactionalError: {
152
+ _enum: ['LimitReached', 'NoLayer']
153
+ },
154
+ /**
155
+ * Lookup28: pallet_grandpa::pallet::Event
156
+ **/
157
+ PalletGrandpaEvent: {
158
+ _enum: {
159
+ NewAuthorities: {
160
+ authoritySet: 'Vec<(SpFinalityGrandpaAppPublic,u64)>'
161
+ },
162
+ Paused: 'Null',
163
+ Resumed: 'Null'
164
+ }
165
+ },
166
+ /**
167
+ * Lookup31: sp_finality_grandpa::app::Public
168
+ **/
169
+ SpFinalityGrandpaAppPublic: 'SpCoreEd25519Public',
170
+ /**
171
+ * Lookup32: sp_core::ed25519::Public
172
+ **/
173
+ SpCoreEd25519Public: '[u8;32]',
174
+ /**
175
+ * Lookup33: pallet_balances::pallet::Event<T, I>
176
+ **/
177
+ PalletBalancesEvent: {
178
+ _enum: {
179
+ Endowed: {
180
+ account: 'AccountId32',
181
+ freeBalance: 'u128'
182
+ },
183
+ DustLost: {
184
+ account: 'AccountId32',
185
+ amount: 'u128'
186
+ },
187
+ Transfer: {
188
+ from: 'AccountId32',
189
+ to: 'AccountId32',
190
+ amount: 'u128'
191
+ },
192
+ BalanceSet: {
193
+ who: 'AccountId32',
194
+ free: 'u128',
195
+ reserved: 'u128'
196
+ },
197
+ Reserved: {
198
+ who: 'AccountId32',
199
+ amount: 'u128'
200
+ },
201
+ Unreserved: {
202
+ who: 'AccountId32',
203
+ amount: 'u128'
204
+ },
205
+ ReserveRepatriated: {
206
+ from: 'AccountId32',
207
+ to: 'AccountId32',
208
+ amount: 'u128',
209
+ destinationStatus: 'FrameSupportTokensMiscBalanceStatus'
210
+ },
211
+ Deposit: {
212
+ who: 'AccountId32',
213
+ amount: 'u128'
214
+ },
215
+ Withdraw: {
216
+ who: 'AccountId32',
217
+ amount: 'u128'
218
+ },
219
+ Slashed: {
220
+ who: 'AccountId32',
221
+ amount: 'u128'
222
+ }
223
+ }
224
+ },
225
+ /**
226
+ * Lookup34: frame_support::traits::tokens::misc::BalanceStatus
227
+ **/
228
+ FrameSupportTokensMiscBalanceStatus: {
229
+ _enum: ['Free', 'Reserved']
230
+ },
231
+ /**
232
+ * Lookup35: pallet_transaction_payment::pallet::Event<T>
233
+ **/
234
+ PalletTransactionPaymentEvent: {
235
+ _enum: {
236
+ TransactionFeePaid: {
237
+ who: 'AccountId32',
238
+ actualFee: 'u128',
239
+ tip: 'u128'
240
+ }
241
+ }
242
+ },
243
+ /**
244
+ * Lookup36: pallet_sudo::pallet::Event<T>
245
+ **/
246
+ PalletSudoEvent: {
247
+ _enum: {
248
+ Sudid: {
249
+ sudoResult: 'Result<Null, SpRuntimeDispatchError>'
250
+ },
251
+ KeyChanged: {
252
+ oldSudoer: 'Option<AccountId32>'
253
+ },
254
+ SudoAsDone: {
255
+ sudoResult: 'Result<Null, SpRuntimeDispatchError>'
256
+ }
257
+ }
258
+ },
259
+ /**
260
+ * Lookup40: pallet_scheduler::pallet::Event<T>
261
+ **/
262
+ PalletSchedulerEvent: {
263
+ _enum: {
264
+ Scheduled: {
265
+ when: 'u32',
266
+ index: 'u32'
267
+ },
268
+ Canceled: {
269
+ when: 'u32',
270
+ index: 'u32'
271
+ },
272
+ Dispatched: {
273
+ task: '(u32,u32)',
274
+ id: 'Option<Bytes>',
275
+ result: 'Result<Null, SpRuntimeDispatchError>'
276
+ },
277
+ CallLookupFailed: {
278
+ task: '(u32,u32)',
279
+ id: 'Option<Bytes>',
280
+ error: 'FrameSupportScheduleLookupError'
281
+ }
282
+ }
283
+ },
284
+ /**
285
+ * Lookup43: frame_support::traits::schedule::LookupError
286
+ **/
287
+ FrameSupportScheduleLookupError: {
288
+ _enum: ['Unknown', 'BadFormat']
289
+ },
290
+ /**
291
+ * Lookup44: pallet_collective::pallet::Event<T, I>
292
+ **/
293
+ PalletCollectiveEvent: {
294
+ _enum: {
295
+ Proposed: {
296
+ account: 'AccountId32',
297
+ proposalIndex: 'u32',
298
+ proposalHash: 'H256',
299
+ threshold: 'u32'
300
+ },
301
+ Voted: {
302
+ account: 'AccountId32',
303
+ proposalHash: 'H256',
304
+ voted: 'bool',
305
+ yes: 'u32',
306
+ no: 'u32'
307
+ },
308
+ Approved: {
309
+ proposalHash: 'H256'
310
+ },
311
+ Disapproved: {
312
+ proposalHash: 'H256'
313
+ },
314
+ Executed: {
315
+ proposalHash: 'H256',
316
+ result: 'Result<Null, SpRuntimeDispatchError>'
317
+ },
318
+ MemberExecuted: {
319
+ proposalHash: 'H256',
320
+ result: 'Result<Null, SpRuntimeDispatchError>'
321
+ },
322
+ Closed: {
323
+ proposalHash: 'H256',
324
+ yes: 'u32',
325
+ no: 'u32'
326
+ }
327
+ }
328
+ },
329
+ /**
330
+ * Lookup46: sugarfunge_validator_set::pallet::Event<T>
331
+ **/
332
+ SugarfungeValidatorSetEvent: {
333
+ _enum: {
334
+ ValidatorAdditionInitiated: 'AccountId32',
335
+ ValidatorRemovalInitiated: 'AccountId32'
336
+ }
337
+ },
338
+ /**
339
+ * Lookup47: pallet_session::pallet::Event
340
+ **/
341
+ PalletSessionEvent: {
342
+ _enum: {
343
+ NewSession: {
344
+ sessionIndex: 'u32'
345
+ }
346
+ }
347
+ },
348
+ /**
349
+ * Lookup48: sugarfunge_asset::pallet::Event<T>
350
+ **/
351
+ SugarfungeAssetEvent: {
352
+ _enum: {
353
+ ClassCreated: {
354
+ classId: 'u64',
355
+ who: 'AccountId32'
356
+ },
357
+ AssetCreated: {
358
+ classId: 'u64',
359
+ assetId: 'u64',
360
+ who: 'AccountId32'
361
+ },
362
+ AssetMetadataUpdated: {
363
+ classId: 'u64',
364
+ assetId: 'u64',
365
+ who: 'AccountId32',
366
+ metadata: 'Bytes'
367
+ },
368
+ Mint: {
369
+ who: 'AccountId32',
370
+ to: 'AccountId32',
371
+ classId: 'u64',
372
+ assetId: 'u64',
373
+ amount: 'u128'
374
+ },
375
+ BatchMint: {
376
+ who: 'AccountId32',
377
+ to: 'AccountId32',
378
+ classId: 'u64',
379
+ assetIds: 'Vec<u64>',
380
+ amounts: 'Vec<u128>'
381
+ },
382
+ Burn: {
383
+ who: 'AccountId32',
384
+ from: 'AccountId32',
385
+ classId: 'u64',
386
+ assetId: 'u64',
387
+ amount: 'u128'
388
+ },
389
+ BatchBurn: {
390
+ who: 'AccountId32',
391
+ from: 'AccountId32',
392
+ classId: 'u64',
393
+ assetIds: 'Vec<u64>',
394
+ amounts: 'Vec<u128>'
395
+ },
396
+ Transferred: {
397
+ who: 'AccountId32',
398
+ from: 'AccountId32',
399
+ to: 'AccountId32',
400
+ classId: 'u64',
401
+ assetId: 'u64',
402
+ amount: 'u128'
403
+ },
404
+ BatchTransferred: {
405
+ who: 'AccountId32',
406
+ from: 'AccountId32',
407
+ to: 'AccountId32',
408
+ classId: 'u64',
409
+ assetIds: 'Vec<u64>',
410
+ amounts: 'Vec<u128>'
411
+ },
412
+ OperatorApprovalForAll: {
413
+ who: 'AccountId32',
414
+ operator: 'AccountId32',
415
+ classId: 'u64',
416
+ approved: 'bool'
417
+ }
418
+ }
419
+ },
420
+ /**
421
+ * Lookup51: sugarfunge_dao::pallet::Event<T>
422
+ **/
423
+ SugarfungeDaoEvent: {
424
+ _enum: {
425
+ SomethingStored: '(u32,AccountId32)'
426
+ }
427
+ },
428
+ /**
429
+ * Lookup52: sugarfunge_bundle::pallet::Event<T>
430
+ **/
431
+ SugarfungeBundleEvent: {
432
+ _enum: {
433
+ Register: {
434
+ bundleId: 'H256',
435
+ who: 'AccountId32',
436
+ classId: 'u64',
437
+ assetId: 'u64'
438
+ },
439
+ Mint: {
440
+ bundleId: 'H256',
441
+ who: 'AccountId32',
442
+ from: 'AccountId32',
443
+ to: 'AccountId32',
444
+ amount: 'u128'
445
+ },
446
+ Burn: {
447
+ bundleId: 'H256',
448
+ who: 'AccountId32',
449
+ from: 'AccountId32',
450
+ to: 'AccountId32',
451
+ amount: 'u128'
452
+ }
453
+ }
454
+ },
455
+ /**
456
+ * Lookup53: sugarfunge_bag::pallet::Event<T>
457
+ **/
458
+ SugarfungeBagEvent: {
459
+ _enum: {
460
+ Register: {
461
+ who: 'AccountId32',
462
+ classId: 'u64'
463
+ },
464
+ Created: {
465
+ bag: 'AccountId32',
466
+ who: 'AccountId32',
467
+ classId: 'u64',
468
+ assetId: 'u64',
469
+ owners: 'Vec<AccountId32>'
470
+ },
471
+ Deposit: {
472
+ bag: 'AccountId32',
473
+ who: 'AccountId32'
474
+ },
475
+ Sweep: {
476
+ bag: 'AccountId32',
477
+ who: 'AccountId32',
478
+ to: 'AccountId32'
479
+ }
480
+ }
481
+ },
482
+ /**
483
+ * Lookup55: sugarfunge_exgine::pallet::Event<T>
484
+ **/
485
+ SugarfungeExgineEvent: {
486
+ _enum: {
487
+ SomethingStored: '(u32,AccountId32)'
488
+ }
489
+ },
490
+ /**
491
+ * Lookup56: sugarfunge_market::pallet::Event<T>
492
+ **/
493
+ SugarfungeMarketEvent: {
494
+ _enum: {
495
+ Created: {
496
+ marketId: 'u64',
497
+ who: 'AccountId32'
498
+ },
499
+ RateCreated: {
500
+ marketId: 'u64',
501
+ marketRateId: 'u64',
502
+ who: 'AccountId32'
503
+ },
504
+ LiquidityAdded: {
505
+ who: 'AccountId32',
506
+ marketId: 'u64',
507
+ marketRateId: 'u64',
508
+ classIds: 'Vec<u64>',
509
+ assetIds: 'Vec<Vec<u64>>',
510
+ amounts: 'Vec<Vec<u128>>'
511
+ },
512
+ LiquidityRemoved: {
513
+ who: 'AccountId32',
514
+ marketId: 'u64',
515
+ marketRateId: 'u64',
516
+ classIds: 'Vec<u64>',
517
+ assetIds: 'Vec<Vec<u64>>',
518
+ amounts: 'Vec<Vec<u128>>'
519
+ },
520
+ Deposit: {
521
+ who: 'AccountId32',
522
+ marketId: 'u64',
523
+ marketRateId: 'u64',
524
+ amount: 'u128',
525
+ balances: 'Vec<SugarfungeMarketRateBalance>',
526
+ success: 'bool'
527
+ },
528
+ Exchanged: {
529
+ buyer: 'AccountId32',
530
+ marketId: 'u64',
531
+ marketRateId: 'u64',
532
+ amount: 'u128',
533
+ balances: 'Vec<SugarfungeMarketRateBalance>',
534
+ success: 'bool'
535
+ }
536
+ }
537
+ },
538
+ /**
539
+ * Lookup60: sugarfunge_market::RateBalance<sp_core::crypto::AccountId32, ClassId, AssetId>
540
+ **/
541
+ SugarfungeMarketRateBalance: {
542
+ rate: 'SugarfungeMarketAssetRate',
543
+ balance: 'i128'
544
+ },
545
+ /**
546
+ * Lookup61: sugarfunge_market::AssetRate<sp_core::crypto::AccountId32, ClassId, AssetId>
547
+ **/
548
+ SugarfungeMarketAssetRate: {
549
+ classId: 'u64',
550
+ assetId: 'u64',
551
+ action: 'SugarfungeMarketRateAction',
552
+ from: 'SugarfungeMarketRateAccount',
553
+ to: 'SugarfungeMarketRateAccount'
554
+ },
555
+ /**
556
+ * Lookup62: sugarfunge_market::RateAction<ClassId, AssetId>
557
+ **/
558
+ SugarfungeMarketRateAction: {
559
+ _enum: {
560
+ Transfer: 'i128',
561
+ MarketTransfer: '(SugarfungeMarketAmm,u64,u64)',
562
+ Mint: 'i128',
563
+ Burn: 'i128',
564
+ Has: '(SugarfungeMarketAmountOp,i128)'
565
+ }
566
+ },
567
+ /**
568
+ * Lookup64: sugarfunge_market::AMM
569
+ **/
570
+ SugarfungeMarketAmm: {
571
+ _enum: ['Constant']
572
+ },
573
+ /**
574
+ * Lookup65: sugarfunge_market::AmountOp
575
+ **/
576
+ SugarfungeMarketAmountOp: {
577
+ _enum: ['Equal', 'LessThan', 'LessEqualThan', 'GreaterThan', 'GreaterEqualThan']
578
+ },
579
+ /**
580
+ * Lookup66: sugarfunge_market::RateAccount<sp_core::crypto::AccountId32>
581
+ **/
582
+ SugarfungeMarketRateAccount: {
583
+ _enum: {
584
+ Market: 'Null',
585
+ Account: 'AccountId32',
586
+ Buyer: 'Null'
587
+ }
588
+ },
589
+ /**
590
+ * Lookup67: functionland_fula::pallet::Event<T>
591
+ **/
592
+ FunctionlandFulaEvent: {
593
+ _enum: {
594
+ ManifestOutput: {
595
+ uploader: 'AccountId32',
596
+ storage: 'Vec<AccountId32>',
597
+ manifest: 'Bytes',
598
+ poolId: 'u32'
599
+ },
600
+ StorageManifestOutput: {
601
+ uploader: 'AccountId32',
602
+ storage: 'AccountId32',
603
+ cid: 'Bytes',
604
+ poolId: 'u32'
605
+ },
606
+ RemoveStorerOutput: {
607
+ uploader: 'AccountId32',
608
+ storage: 'Option<AccountId32>',
609
+ cid: 'Bytes',
610
+ poolId: 'u32'
611
+ },
612
+ ManifestRemoved: {
613
+ uploader: 'AccountId32',
614
+ cid: 'Bytes',
615
+ poolId: 'u32'
616
+ },
617
+ ManifestStorageUpdated: {
618
+ storer: 'AccountId32',
619
+ poolId: 'u32',
620
+ cid: 'Bytes',
621
+ activeCycles: 'u16',
622
+ missedCycles: 'u16',
623
+ activeDays: 'i32'
624
+ }
625
+ }
626
+ },
627
+ /**
628
+ * Lookup70: fula_pool::pallet::Event<T>
629
+ **/
630
+ FulaPoolEvent: {
631
+ _enum: {
632
+ PoolCreated: {
633
+ owner: 'Option<AccountId32>',
634
+ poolId: 'u32'
635
+ },
636
+ JoinRequested: {
637
+ account: 'AccountId32',
638
+ poolId: 'u32'
639
+ },
640
+ RequestWithdrawn: {
641
+ account: 'AccountId32',
642
+ poolId: 'u32'
643
+ },
644
+ Accepted: {
645
+ account: 'AccountId32',
646
+ poolId: 'u32'
647
+ },
648
+ Denied: {
649
+ account: 'AccountId32',
650
+ poolId: 'u32'
651
+ },
652
+ CapacityReached: {
653
+ poolId: 'u32'
654
+ },
655
+ ParticipantLeft: {
656
+ account: 'AccountId32',
657
+ poolId: 'u32'
658
+ }
659
+ }
660
+ },
661
+ /**
662
+ * Lookup71: frame_system::Phase
663
+ **/
664
+ FrameSystemPhase: {
665
+ _enum: {
666
+ ApplyExtrinsic: 'u32',
667
+ Finalization: 'Null',
668
+ Initialization: 'Null'
669
+ }
670
+ },
671
+ /**
672
+ * Lookup74: frame_system::LastRuntimeUpgradeInfo
673
+ **/
674
+ FrameSystemLastRuntimeUpgradeInfo: {
675
+ specVersion: 'Compact<u32>',
676
+ specName: 'Text'
677
+ },
678
+ /**
679
+ * Lookup77: frame_system::pallet::Call<T>
680
+ **/
681
+ FrameSystemCall: {
682
+ _enum: {
683
+ fill_block: {
684
+ ratio: 'Perbill'
685
+ },
686
+ remark: {
687
+ remark: 'Bytes'
688
+ },
689
+ set_heap_pages: {
690
+ pages: 'u64'
691
+ },
692
+ set_code: {
693
+ code: 'Bytes'
694
+ },
695
+ set_code_without_checks: {
696
+ code: 'Bytes'
697
+ },
698
+ set_storage: {
699
+ items: 'Vec<(Bytes,Bytes)>'
700
+ },
701
+ kill_storage: {
702
+ _alias: {
703
+ keys_: 'keys'
704
+ },
705
+ keys_: 'Vec<Bytes>'
706
+ },
707
+ kill_prefix: {
708
+ prefix: 'Bytes',
709
+ subkeys: 'u32'
710
+ },
711
+ remark_with_event: {
712
+ remark: 'Bytes'
713
+ }
714
+ }
715
+ },
716
+ /**
717
+ * Lookup82: frame_system::limits::BlockWeights
718
+ **/
719
+ FrameSystemLimitsBlockWeights: {
720
+ baseBlock: 'Weight',
721
+ maxBlock: 'Weight',
722
+ perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
723
+ },
724
+ /**
725
+ * Lookup83: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
726
+ **/
727
+ FrameSupportDispatchPerDispatchClassWeightsPerClass: {
728
+ normal: 'FrameSystemLimitsWeightsPerClass',
729
+ operational: 'FrameSystemLimitsWeightsPerClass',
730
+ mandatory: 'FrameSystemLimitsWeightsPerClass'
731
+ },
732
+ /**
733
+ * Lookup84: frame_system::limits::WeightsPerClass
734
+ **/
735
+ FrameSystemLimitsWeightsPerClass: {
736
+ baseExtrinsic: 'Weight',
737
+ maxExtrinsic: 'Option<Weight>',
738
+ maxTotal: 'Option<Weight>',
739
+ reserved: 'Option<Weight>'
740
+ },
741
+ /**
742
+ * Lookup86: frame_system::limits::BlockLength
743
+ **/
744
+ FrameSystemLimitsBlockLength: {
745
+ max: 'FrameSupportDispatchPerDispatchClassU32'
746
+ },
747
+ /**
748
+ * Lookup87: frame_support::dispatch::PerDispatchClass<T>
749
+ **/
750
+ FrameSupportDispatchPerDispatchClassU32: {
751
+ normal: 'u32',
752
+ operational: 'u32',
753
+ mandatory: 'u32'
754
+ },
755
+ /**
756
+ * Lookup88: sp_weights::RuntimeDbWeight
757
+ **/
758
+ SpWeightsRuntimeDbWeight: {
759
+ read: 'u64',
760
+ write: 'u64'
761
+ },
762
+ /**
763
+ * Lookup89: sp_version::RuntimeVersion
764
+ **/
765
+ SpVersionRuntimeVersion: {
766
+ specName: 'Text',
767
+ implName: 'Text',
768
+ authoringVersion: 'u32',
769
+ specVersion: 'u32',
770
+ implVersion: 'u32',
771
+ apis: 'Vec<([u8;8],u32)>',
772
+ transactionVersion: 'u32',
773
+ stateVersion: 'u8'
774
+ },
775
+ /**
776
+ * Lookup94: frame_system::pallet::Error<T>
777
+ **/
778
+ FrameSystemError: {
779
+ _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
780
+ },
781
+ /**
782
+ * Lookup96: pallet_timestamp::pallet::Call<T>
783
+ **/
784
+ PalletTimestampCall: {
785
+ _enum: {
786
+ set: {
787
+ now: 'Compact<u64>'
788
+ }
789
+ }
790
+ },
791
+ /**
792
+ * Lookup98: pallet_grandpa::StoredState<N>
793
+ **/
794
+ PalletGrandpaStoredState: {
795
+ _enum: {
796
+ Live: 'Null',
797
+ PendingPause: {
798
+ scheduledAt: 'u32',
799
+ delay: 'u32'
800
+ },
801
+ Paused: 'Null',
802
+ PendingResume: {
803
+ scheduledAt: 'u32',
804
+ delay: 'u32'
805
+ }
806
+ }
807
+ },
808
+ /**
809
+ * Lookup99: pallet_grandpa::StoredPendingChange<N, Limit>
810
+ **/
811
+ PalletGrandpaStoredPendingChange: {
812
+ scheduledAt: 'u32',
813
+ delay: 'u32',
814
+ nextAuthorities: 'Vec<(SpFinalityGrandpaAppPublic,u64)>',
815
+ forced: 'Option<u32>'
816
+ },
817
+ /**
818
+ * Lookup102: pallet_grandpa::pallet::Call<T>
819
+ **/
820
+ PalletGrandpaCall: {
821
+ _enum: {
822
+ report_equivocation: {
823
+ equivocationProof: 'SpFinalityGrandpaEquivocationProof',
824
+ keyOwnerProof: 'SpCoreVoid'
825
+ },
826
+ report_equivocation_unsigned: {
827
+ equivocationProof: 'SpFinalityGrandpaEquivocationProof',
828
+ keyOwnerProof: 'SpCoreVoid'
829
+ },
830
+ note_stalled: {
831
+ delay: 'u32',
832
+ bestFinalizedBlockNumber: 'u32'
833
+ }
834
+ }
835
+ },
836
+ /**
837
+ * Lookup103: sp_finality_grandpa::EquivocationProof<primitive_types::H256, N>
838
+ **/
839
+ SpFinalityGrandpaEquivocationProof: {
840
+ setId: 'u64',
841
+ equivocation: 'SpFinalityGrandpaEquivocation'
842
+ },
843
+ /**
844
+ * Lookup104: sp_finality_grandpa::Equivocation<primitive_types::H256, N>
845
+ **/
846
+ SpFinalityGrandpaEquivocation: {
847
+ _enum: {
848
+ Prevote: 'FinalityGrandpaEquivocationPrevote',
849
+ Precommit: 'FinalityGrandpaEquivocationPrecommit'
850
+ }
851
+ },
852
+ /**
853
+ * Lookup105: finality_grandpa::Equivocation<sp_finality_grandpa::app::Public, finality_grandpa::Prevote<primitive_types::H256, N>, sp_finality_grandpa::app::Signature>
854
+ **/
855
+ FinalityGrandpaEquivocationPrevote: {
856
+ roundNumber: 'u64',
857
+ identity: 'SpFinalityGrandpaAppPublic',
858
+ first: '(FinalityGrandpaPrevote,SpFinalityGrandpaAppSignature)',
859
+ second: '(FinalityGrandpaPrevote,SpFinalityGrandpaAppSignature)'
860
+ },
861
+ /**
862
+ * Lookup106: finality_grandpa::Prevote<primitive_types::H256, N>
863
+ **/
864
+ FinalityGrandpaPrevote: {
865
+ targetHash: 'H256',
866
+ targetNumber: 'u32'
867
+ },
868
+ /**
869
+ * Lookup107: sp_finality_grandpa::app::Signature
870
+ **/
871
+ SpFinalityGrandpaAppSignature: 'SpCoreEd25519Signature',
872
+ /**
873
+ * Lookup108: sp_core::ed25519::Signature
874
+ **/
875
+ SpCoreEd25519Signature: '[u8;64]',
876
+ /**
877
+ * Lookup111: finality_grandpa::Equivocation<sp_finality_grandpa::app::Public, finality_grandpa::Precommit<primitive_types::H256, N>, sp_finality_grandpa::app::Signature>
878
+ **/
879
+ FinalityGrandpaEquivocationPrecommit: {
880
+ roundNumber: 'u64',
881
+ identity: 'SpFinalityGrandpaAppPublic',
882
+ first: '(FinalityGrandpaPrecommit,SpFinalityGrandpaAppSignature)',
883
+ second: '(FinalityGrandpaPrecommit,SpFinalityGrandpaAppSignature)'
884
+ },
885
+ /**
886
+ * Lookup112: finality_grandpa::Precommit<primitive_types::H256, N>
887
+ **/
888
+ FinalityGrandpaPrecommit: {
889
+ targetHash: 'H256',
890
+ targetNumber: 'u32'
891
+ },
892
+ /**
893
+ * Lookup114: sp_core::Void
894
+ **/
895
+ SpCoreVoid: 'Null',
896
+ /**
897
+ * Lookup115: pallet_grandpa::pallet::Error<T>
898
+ **/
899
+ PalletGrandpaError: {
900
+ _enum: ['PauseFailed', 'ResumeFailed', 'ChangePending', 'TooSoon', 'InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport']
901
+ },
902
+ /**
903
+ * Lookup117: pallet_balances::BalanceLock<Balance>
904
+ **/
905
+ PalletBalancesBalanceLock: {
906
+ id: '[u8;8]',
907
+ amount: 'u128',
908
+ reasons: 'PalletBalancesReasons'
909
+ },
910
+ /**
911
+ * Lookup118: pallet_balances::Reasons
912
+ **/
913
+ PalletBalancesReasons: {
914
+ _enum: ['Fee', 'Misc', 'All']
915
+ },
916
+ /**
917
+ * Lookup121: pallet_balances::ReserveData<ReserveIdentifier, Balance>
918
+ **/
919
+ PalletBalancesReserveData: {
920
+ id: '[u8;8]',
921
+ amount: 'u128'
922
+ },
923
+ /**
924
+ * Lookup123: pallet_balances::Releases
925
+ **/
926
+ PalletBalancesReleases: {
927
+ _enum: ['V1_0_0', 'V2_0_0']
928
+ },
929
+ /**
930
+ * Lookup124: pallet_balances::pallet::Call<T, I>
931
+ **/
932
+ PalletBalancesCall: {
933
+ _enum: {
934
+ transfer: {
935
+ dest: 'MultiAddress',
936
+ value: 'Compact<u128>'
937
+ },
938
+ set_balance: {
939
+ who: 'MultiAddress',
940
+ newFree: 'Compact<u128>',
941
+ newReserved: 'Compact<u128>'
942
+ },
943
+ force_transfer: {
944
+ source: 'MultiAddress',
945
+ dest: 'MultiAddress',
946
+ value: 'Compact<u128>'
947
+ },
948
+ transfer_keep_alive: {
949
+ dest: 'MultiAddress',
950
+ value: 'Compact<u128>'
951
+ },
952
+ transfer_all: {
953
+ dest: 'MultiAddress',
954
+ keepAlive: 'bool'
955
+ },
956
+ force_unreserve: {
957
+ who: 'MultiAddress',
958
+ amount: 'u128'
959
+ }
960
+ }
961
+ },
962
+ /**
963
+ * Lookup129: pallet_balances::pallet::Error<T, I>
964
+ **/
965
+ PalletBalancesError: {
966
+ _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
967
+ },
968
+ /**
969
+ * Lookup131: pallet_transaction_payment::Releases
970
+ **/
971
+ PalletTransactionPaymentReleases: {
972
+ _enum: ['V1Ancient', 'V2']
973
+ },
974
+ /**
975
+ * Lookup132: pallet_sudo::pallet::Call<T>
976
+ **/
977
+ PalletSudoCall: {
978
+ _enum: {
979
+ sudo: {
980
+ call: 'Call'
981
+ },
982
+ sudo_unchecked_weight: {
983
+ call: 'Call',
984
+ weight: 'Weight'
985
+ },
986
+ set_key: {
987
+ _alias: {
988
+ new_: 'new'
989
+ },
990
+ new_: 'MultiAddress'
991
+ },
992
+ sudo_as: {
993
+ who: 'MultiAddress',
994
+ call: 'Call'
995
+ }
996
+ }
997
+ },
998
+ /**
999
+ * Lookup134: pallet_scheduler::pallet::Call<T>
1000
+ **/
1001
+ PalletSchedulerCall: {
1002
+ _enum: {
1003
+ schedule: {
1004
+ when: 'u32',
1005
+ maybePeriodic: 'Option<(u32,u32)>',
1006
+ priority: 'u8',
1007
+ call: 'FrameSupportScheduleMaybeHashed'
1008
+ },
1009
+ cancel: {
1010
+ when: 'u32',
1011
+ index: 'u32'
1012
+ },
1013
+ schedule_named: {
1014
+ id: 'Bytes',
1015
+ when: 'u32',
1016
+ maybePeriodic: 'Option<(u32,u32)>',
1017
+ priority: 'u8',
1018
+ call: 'FrameSupportScheduleMaybeHashed'
1019
+ },
1020
+ cancel_named: {
1021
+ id: 'Bytes'
1022
+ },
1023
+ schedule_after: {
1024
+ after: 'u32',
1025
+ maybePeriodic: 'Option<(u32,u32)>',
1026
+ priority: 'u8',
1027
+ call: 'FrameSupportScheduleMaybeHashed'
1028
+ },
1029
+ schedule_named_after: {
1030
+ id: 'Bytes',
1031
+ after: 'u32',
1032
+ maybePeriodic: 'Option<(u32,u32)>',
1033
+ priority: 'u8',
1034
+ call: 'FrameSupportScheduleMaybeHashed'
1035
+ }
1036
+ }
1037
+ },
1038
+ /**
1039
+ * Lookup136: frame_support::traits::schedule::MaybeHashed<sugarfunge_runtime::RuntimeCall, primitive_types::H256>
1040
+ **/
1041
+ FrameSupportScheduleMaybeHashed: {
1042
+ _enum: {
1043
+ Value: 'Call',
1044
+ Hash: 'H256'
1045
+ }
1046
+ },
1047
+ /**
1048
+ * Lookup137: pallet_collective::pallet::Call<T, I>
1049
+ **/
1050
+ PalletCollectiveCall: {
1051
+ _enum: {
1052
+ set_members: {
1053
+ newMembers: 'Vec<AccountId32>',
1054
+ prime: 'Option<AccountId32>',
1055
+ oldCount: 'u32'
1056
+ },
1057
+ execute: {
1058
+ proposal: 'Call',
1059
+ lengthBound: 'Compact<u32>'
1060
+ },
1061
+ propose: {
1062
+ threshold: 'Compact<u32>',
1063
+ proposal: 'Call',
1064
+ lengthBound: 'Compact<u32>'
1065
+ },
1066
+ vote: {
1067
+ proposal: 'H256',
1068
+ index: 'Compact<u32>',
1069
+ approve: 'bool'
1070
+ },
1071
+ close: {
1072
+ proposalHash: 'H256',
1073
+ index: 'Compact<u32>',
1074
+ proposalWeightBound: 'Compact<Weight>',
1075
+ lengthBound: 'Compact<u32>'
1076
+ },
1077
+ disapprove_proposal: {
1078
+ proposalHash: 'H256'
1079
+ }
1080
+ }
1081
+ },
1082
+ /**
1083
+ * Lookup139: sugarfunge_validator_set::pallet::Call<T>
1084
+ **/
1085
+ SugarfungeValidatorSetCall: {
1086
+ _enum: {
1087
+ add_validator: {
1088
+ validatorId: 'AccountId32'
1089
+ },
1090
+ remove_validator: {
1091
+ validatorId: 'AccountId32'
1092
+ },
1093
+ add_validator_again: {
1094
+ validatorId: 'AccountId32'
1095
+ }
1096
+ }
1097
+ },
1098
+ /**
1099
+ * Lookup140: pallet_session::pallet::Call<T>
1100
+ **/
1101
+ PalletSessionCall: {
1102
+ _enum: {
1103
+ set_keys: {
1104
+ _alias: {
1105
+ keys_: 'keys'
1106
+ },
1107
+ keys_: 'SugarfungeRuntimeOpaqueSessionKeys',
1108
+ proof: 'Bytes'
1109
+ },
1110
+ purge_keys: 'Null'
1111
+ }
1112
+ },
1113
+ /**
1114
+ * Lookup141: sugarfunge_runtime::opaque::SessionKeys
1115
+ **/
1116
+ SugarfungeRuntimeOpaqueSessionKeys: {
1117
+ aura: 'SpConsensusAuraSr25519AppSr25519Public',
1118
+ grandpa: 'SpFinalityGrandpaAppPublic'
1119
+ },
1120
+ /**
1121
+ * Lookup142: sp_consensus_aura::sr25519::app_sr25519::Public
1122
+ **/
1123
+ SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
1124
+ /**
1125
+ * Lookup143: sp_core::sr25519::Public
1126
+ **/
1127
+ SpCoreSr25519Public: '[u8;32]',
1128
+ /**
1129
+ * Lookup144: sugarfunge_asset::pallet::Call<T>
1130
+ **/
1131
+ SugarfungeAssetCall: {
1132
+ _enum: {
1133
+ create_class: {
1134
+ owner: 'AccountId32',
1135
+ classId: 'u64',
1136
+ metadata: 'Bytes'
1137
+ },
1138
+ create_asset: {
1139
+ classId: 'u64',
1140
+ assetId: 'u64',
1141
+ metadata: 'Bytes'
1142
+ },
1143
+ transfer_from: {
1144
+ from: 'AccountId32',
1145
+ to: 'AccountId32',
1146
+ classId: 'u64',
1147
+ assetId: 'u64',
1148
+ amount: 'u128'
1149
+ },
1150
+ batch_transfer_from: {
1151
+ from: 'AccountId32',
1152
+ to: 'AccountId32',
1153
+ classId: 'u64',
1154
+ assetIds: 'Vec<u64>',
1155
+ amounts: 'Vec<u128>'
1156
+ },
1157
+ mint: {
1158
+ to: 'AccountId32',
1159
+ classId: 'u64',
1160
+ assetId: 'u64',
1161
+ amount: 'u128'
1162
+ },
1163
+ batch_mint: {
1164
+ to: 'AccountId32',
1165
+ classId: 'u64',
1166
+ assetIds: 'Vec<u64>',
1167
+ amounts: 'Vec<u128>'
1168
+ },
1169
+ burn: {
1170
+ from: 'AccountId32',
1171
+ classId: 'u64',
1172
+ assetId: 'u64',
1173
+ amount: 'u128'
1174
+ },
1175
+ batch_burn: {
1176
+ from: 'AccountId32',
1177
+ classId: 'u64',
1178
+ assetIds: 'Vec<u64>',
1179
+ amounts: 'Vec<u128>'
1180
+ },
1181
+ update_class_metadata: {
1182
+ classId: 'u64',
1183
+ metadata: 'Bytes'
1184
+ },
1185
+ update_asset_metadata: {
1186
+ classId: 'u64',
1187
+ assetId: 'u64',
1188
+ metadata: 'Bytes'
1189
+ }
1190
+ }
1191
+ },
1192
+ /**
1193
+ * Lookup147: sugarfunge_dao::pallet::Call<T>
1194
+ **/
1195
+ SugarfungeDaoCall: {
1196
+ _enum: {
1197
+ do_something: {
1198
+ something: 'u32'
1199
+ },
1200
+ cause_error: 'Null'
1201
+ }
1202
+ },
1203
+ /**
1204
+ * Lookup148: sugarfunge_bundle::pallet::Call<T>
1205
+ **/
1206
+ SugarfungeBundleCall: {
1207
+ _enum: {
1208
+ register_bundle: {
1209
+ classId: 'u64',
1210
+ assetId: 'u64',
1211
+ bundleId: 'H256',
1212
+ schema: '(Vec<u64>,Vec<Vec<u64>>,Vec<Vec<u128>>)',
1213
+ metadata: 'Bytes'
1214
+ },
1215
+ mint_bundle: {
1216
+ from: 'AccountId32',
1217
+ to: 'AccountId32',
1218
+ bundleId: 'H256',
1219
+ amount: 'u128'
1220
+ },
1221
+ burn_bundle: {
1222
+ from: 'AccountId32',
1223
+ to: 'AccountId32',
1224
+ bundleId: 'H256',
1225
+ amount: 'u128'
1226
+ }
1227
+ }
1228
+ },
1229
+ /**
1230
+ * Lookup156: sugarfunge_bag::pallet::Call<T>
1231
+ **/
1232
+ SugarfungeBagCall: {
1233
+ _enum: {
1234
+ register: {
1235
+ classId: 'u64',
1236
+ metadata: 'Bytes'
1237
+ },
1238
+ create: {
1239
+ classId: 'u64',
1240
+ owners: 'Vec<AccountId32>',
1241
+ shares: 'Vec<u128>'
1242
+ },
1243
+ deposit: {
1244
+ bag: 'AccountId32',
1245
+ classIds: 'Vec<u64>',
1246
+ assetIds: 'Vec<Vec<u64>>',
1247
+ amounts: 'Vec<Vec<u128>>'
1248
+ },
1249
+ sweep: {
1250
+ to: 'AccountId32',
1251
+ bag: 'AccountId32'
1252
+ }
1253
+ }
1254
+ },
1255
+ /**
1256
+ * Lookup157: sugarfunge_exgine::pallet::Call<T>
1257
+ **/
1258
+ SugarfungeExgineCall: {
1259
+ _enum: {
1260
+ do_something: {
1261
+ something: 'u32'
1262
+ },
1263
+ cause_error: 'Null'
1264
+ }
1265
+ },
1266
+ /**
1267
+ * Lookup158: sugarfunge_market::pallet::Call<T>
1268
+ **/
1269
+ SugarfungeMarketCall: {
1270
+ _enum: {
1271
+ create_market: {
1272
+ marketId: 'u64'
1273
+ },
1274
+ create_market_rate: {
1275
+ marketId: 'u64',
1276
+ marketRateId: 'u64',
1277
+ rates: 'Vec<SugarfungeMarketAssetRate>'
1278
+ },
1279
+ deposit: {
1280
+ marketId: 'u64',
1281
+ marketRateId: 'u64',
1282
+ amount: 'u128'
1283
+ },
1284
+ exchange_assets: {
1285
+ marketId: 'u64',
1286
+ marketRateId: 'u64',
1287
+ amount: 'u128'
1288
+ }
1289
+ }
1290
+ },
1291
+ /**
1292
+ * Lookup161: functionland_fula::pallet::Call<T>
1293
+ **/
1294
+ FunctionlandFulaCall: {
1295
+ _enum: {
1296
+ update_manifest: {
1297
+ cid: 'Bytes',
1298
+ poolId: 'u32',
1299
+ activeCycles: 'u16',
1300
+ missedCycles: 'u16',
1301
+ activeDays: 'i32'
1302
+ },
1303
+ upload_manifest: {
1304
+ manifest: 'Bytes',
1305
+ cid: 'Bytes',
1306
+ poolId: 'u32',
1307
+ replicationFactor: 'u16'
1308
+ },
1309
+ storage_manifest: {
1310
+ uploader: 'AccountId32',
1311
+ cid: 'Bytes',
1312
+ poolId: 'u32'
1313
+ },
1314
+ remove_storer: {
1315
+ storage: 'AccountId32',
1316
+ cid: 'Bytes',
1317
+ poolId: 'u32'
1318
+ },
1319
+ remove_stored_manifest: {
1320
+ uploader: 'AccountId32',
1321
+ cid: 'Bytes',
1322
+ poolId: 'u32'
1323
+ },
1324
+ remove_manifest: {
1325
+ cid: 'Bytes',
1326
+ poolId: 'u32'
1327
+ }
1328
+ }
1329
+ },
1330
+ /**
1331
+ * Lookup164: fula_pool::pallet::Call<T>
1332
+ **/
1333
+ FulaPoolCall: {
1334
+ _enum: {
1335
+ create: {
1336
+ name: 'Bytes',
1337
+ peerId: 'Bytes'
1338
+ },
1339
+ leave_pool: {
1340
+ poolId: 'u32'
1341
+ },
1342
+ join: {
1343
+ poolId: 'u32',
1344
+ peerId: 'Bytes'
1345
+ },
1346
+ cancel_join: {
1347
+ poolId: 'u32'
1348
+ },
1349
+ vote: {
1350
+ poolId: 'u32',
1351
+ account: 'AccountId32',
1352
+ positive: 'bool'
1353
+ }
1354
+ }
1355
+ },
1356
+ /**
1357
+ * Lookup166: pallet_sudo::pallet::Error<T>
1358
+ **/
1359
+ PalletSudoError: {
1360
+ _enum: ['RequireSudo']
1361
+ },
1362
+ /**
1363
+ * Lookup169: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<sugarfunge_runtime::RuntimeCall, primitive_types::H256>, BlockNumber, sugarfunge_runtime::OriginCaller, sp_core::crypto::AccountId32>
1364
+ **/
1365
+ PalletSchedulerScheduledV3: {
1366
+ maybeId: 'Option<Bytes>',
1367
+ priority: 'u8',
1368
+ call: 'FrameSupportScheduleMaybeHashed',
1369
+ maybePeriodic: 'Option<(u32,u32)>',
1370
+ origin: 'SugarfungeRuntimeOriginCaller'
1371
+ },
1372
+ /**
1373
+ * Lookup170: sugarfunge_runtime::OriginCaller
1374
+ **/
1375
+ SugarfungeRuntimeOriginCaller: {
1376
+ _enum: {
1377
+ system: 'FrameSupportDispatchRawOrigin',
1378
+ __Unused1: 'Null',
1379
+ Void: 'SpCoreVoid',
1380
+ __Unused3: 'Null',
1381
+ __Unused4: 'Null',
1382
+ __Unused5: 'Null',
1383
+ __Unused6: 'Null',
1384
+ __Unused7: 'Null',
1385
+ __Unused8: 'Null',
1386
+ Council: 'PalletCollectiveRawOrigin'
1387
+ }
1388
+ },
1389
+ /**
1390
+ * Lookup171: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
1391
+ **/
1392
+ FrameSupportDispatchRawOrigin: {
1393
+ _enum: {
1394
+ Root: 'Null',
1395
+ Signed: 'AccountId32',
1396
+ None: 'Null'
1397
+ }
1398
+ },
1399
+ /**
1400
+ * Lookup172: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I>
1401
+ **/
1402
+ PalletCollectiveRawOrigin: {
1403
+ _enum: {
1404
+ Members: '(u32,u32)',
1405
+ Member: 'AccountId32',
1406
+ _Phantom: 'Null'
1407
+ }
1408
+ },
1409
+ /**
1410
+ * Lookup173: pallet_scheduler::pallet::Error<T>
1411
+ **/
1412
+ PalletSchedulerError: {
1413
+ _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
1414
+ },
1415
+ /**
1416
+ * Lookup175: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
1417
+ **/
1418
+ PalletCollectiveVotes: {
1419
+ index: 'u32',
1420
+ threshold: 'u32',
1421
+ ayes: 'Vec<AccountId32>',
1422
+ nays: 'Vec<AccountId32>',
1423
+ end: 'u32'
1424
+ },
1425
+ /**
1426
+ * Lookup176: pallet_collective::pallet::Error<T, I>
1427
+ **/
1428
+ PalletCollectiveError: {
1429
+ _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength']
1430
+ },
1431
+ /**
1432
+ * Lookup178: sugarfunge_validator_set::pallet::Error<T>
1433
+ **/
1434
+ SugarfungeValidatorSetError: {
1435
+ _enum: ['TooLowValidatorCount', 'Duplicate', 'ValidatorNotApproved', 'BadOrigin']
1436
+ },
1437
+ /**
1438
+ * Lookup183: sp_core::crypto::KeyTypeId
1439
+ **/
1440
+ SpCoreCryptoKeyTypeId: '[u8;4]',
1441
+ /**
1442
+ * Lookup184: pallet_session::pallet::Error<T>
1443
+ **/
1444
+ PalletSessionError: {
1445
+ _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
1446
+ },
1447
+ /**
1448
+ * Lookup185: sugarfunge_asset::Class<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1449
+ **/
1450
+ SugarfungeAssetClass: {
1451
+ owner: 'AccountId32',
1452
+ metadata: 'Bytes'
1453
+ },
1454
+ /**
1455
+ * Lookup187: sugarfunge_asset::Asset<ClassId, sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1456
+ **/
1457
+ SugarfungeAssetAsset: {
1458
+ classId: 'u64',
1459
+ creator: 'AccountId32',
1460
+ metadata: 'Bytes'
1461
+ },
1462
+ /**
1463
+ * Lookup189: sugarfunge_asset::pallet::Error<T>
1464
+ **/
1465
+ SugarfungeAssetError: {
1466
+ _enum: ['Unknown', 'InUse', 'InvalidAssetId', 'InsufficientBalance', 'NumOverflow', 'InvalidArrayLength', 'Overflow', 'InvalidClassId', 'NoPermission', 'ClassNotFound', 'AssetNotFound']
1467
+ },
1468
+ /**
1469
+ * Lookup190: sugarfunge_dao::pallet::Error<T>
1470
+ **/
1471
+ SugarfungeDaoError: {
1472
+ _enum: ['NoneValue', 'StorageOverflow']
1473
+ },
1474
+ /**
1475
+ * Lookup191: sugarfunge_bundle::Bundle<ClassId, AssetId, BundleSchema, sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1476
+ **/
1477
+ SugarfungeBundleBundle: {
1478
+ creator: 'AccountId32',
1479
+ classId: 'u64',
1480
+ assetId: 'u64',
1481
+ metadata: 'Bytes',
1482
+ schema: '(Vec<u64>,Vec<Vec<u64>>,Vec<Vec<u128>>)',
1483
+ vault: 'AccountId32'
1484
+ },
1485
+ /**
1486
+ * Lookup192: frame_support::PalletId
1487
+ **/
1488
+ FrameSupportPalletId: '[u8;8]',
1489
+ /**
1490
+ * Lookup193: sugarfunge_bundle::pallet::Error<T>
1491
+ **/
1492
+ SugarfungeBundleError: {
1493
+ _enum: ['InvalidBundleIdForBundle', 'BundleExists', 'BundleNotFound', 'NumOverflow', 'InvalidArrayLength', 'InsufficientBalance']
1494
+ },
1495
+ /**
1496
+ * Lookup194: sugarfunge_bag::BagClass<sp_core::crypto::AccountId32, ClassId>
1497
+ **/
1498
+ SugarfungeBagBagClass: {
1499
+ operator: 'AccountId32',
1500
+ classId: 'u64'
1501
+ },
1502
+ /**
1503
+ * Lookup195: sugarfunge_bag::Bag<sp_core::crypto::AccountId32, ClassId, AssetId>
1504
+ **/
1505
+ SugarfungeBagBag: {
1506
+ operator: 'AccountId32',
1507
+ classId: 'u64',
1508
+ assetId: 'u64',
1509
+ totalShares: 'u128'
1510
+ },
1511
+ /**
1512
+ * Lookup196: sugarfunge_bag::pallet::Error<T>
1513
+ **/
1514
+ SugarfungeBagError: {
1515
+ _enum: ['BagClassExists', 'BagExists', 'InvalidBagClass', 'InvalidBag', 'InvalidBagOperator', 'InvalidBagOwner', 'InvalidArrayLength', 'InsufficientShares']
1516
+ },
1517
+ /**
1518
+ * Lookup197: sugarfunge_exgine::pallet::Error<T>
1519
+ **/
1520
+ SugarfungeExgineError: {
1521
+ _enum: ['NoneValue', 'StorageOverflow']
1522
+ },
1523
+ /**
1524
+ * Lookup198: sugarfunge_market::Market<sp_core::crypto::AccountId32>
1525
+ **/
1526
+ SugarfungeMarketMarket: {
1527
+ owner: 'AccountId32',
1528
+ vault: 'AccountId32'
1529
+ },
1530
+ /**
1531
+ * Lookup200: sugarfunge_market::pallet::Error<T>
1532
+ **/
1533
+ SugarfungeMarketError: {
1534
+ _enum: ['Overflow', 'InsufficientAmount', 'InsufficientLiquidity', 'InvalidMarket', 'InvalidMarketRate', 'InvalidMarketOwner', 'NotAuthorizedToMintAsset', 'MarketExists', 'MarketRateExists', 'InvalidAsset', 'InvalidAssetRate', 'InvalidRateAccount', 'InvalidRateAmount', 'InvalidBurnPrice', 'InvalidBurnBalance', 'InvalidTransferPrice', 'InvalidTransferBalance', 'InvalidBuyer', 'InvalidArrayLength']
1535
+ },
1536
+ /**
1537
+ * Lookup203: functionland_fula::Manifest<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1538
+ **/
1539
+ FunctionlandFulaManifest: {
1540
+ storage: 'Vec<AccountId32>',
1541
+ replicationFactor: 'u16',
1542
+ manifestData: 'FunctionlandFulaManifestData'
1543
+ },
1544
+ /**
1545
+ * Lookup204: functionland_fula::ManifestData<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1546
+ **/
1547
+ FunctionlandFulaManifestData: {
1548
+ uploader: 'AccountId32',
1549
+ manifestMetadata: 'Bytes'
1550
+ },
1551
+ /**
1552
+ * Lookup205: functionland_fula::ManifestStorageData
1553
+ **/
1554
+ FunctionlandFulaManifestStorageData: {
1555
+ activeCycles: 'u16',
1556
+ missedCycles: 'u16',
1557
+ activeDays: 'i32'
1558
+ },
1559
+ /**
1560
+ * Lookup206: functionland_fula::pallet::Error<T>
1561
+ **/
1562
+ FunctionlandFulaError: {
1563
+ _enum: ['NoneValue', 'StorageOverflow', 'ReplicationFactorLimitReached', 'ReplicationFactorInvalid', 'AccountAlreadyStorer', 'AccountNotStorer', 'AccountNotInPool', 'ManifestAlreadyExist', 'ManifestNotFound', 'ManifestNotStored']
1564
+ },
1565
+ /**
1566
+ * Lookup207: fula_pool::Pool<T>
1567
+ **/
1568
+ FulaPoolPool: {
1569
+ name: 'Bytes',
1570
+ owner: 'Option<AccountId32>',
1571
+ parent: 'Option<u32>',
1572
+ participants: 'Vec<AccountId32>',
1573
+ requestNumber: 'u8'
1574
+ },
1575
+ /**
1576
+ * Lookup210: fula_pool::PoolRequest<T>
1577
+ **/
1578
+ FulaPoolPoolRequest: {
1579
+ voted: 'Vec<AccountId32>',
1580
+ positiveVotes: 'u16',
1581
+ peerId: 'Bytes'
1582
+ },
1583
+ /**
1584
+ * Lookup211: fula_pool::User<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
1585
+ **/
1586
+ FulaPoolUser: {
1587
+ poolId: 'Option<u32>',
1588
+ requestPoolId: 'Option<u32>',
1589
+ peerId: 'Bytes'
1590
+ },
1591
+ /**
1592
+ * Lookup212: fula_pool::pallet::Error<T>
1593
+ **/
1594
+ FulaPoolError: {
1595
+ _enum: ['UserBusy', 'MaxPools', 'NameTooLong', 'PoolDoesNotExist', 'RequestDoesNotExist', 'CapacityReached', 'UserDoesNotExist', 'AccessDenied', 'InternalError', 'AlreadyVoted']
1596
+ },
1597
+ /**
1598
+ * Lookup214: sp_runtime::MultiSignature
1599
+ **/
1600
+ SpRuntimeMultiSignature: {
1601
+ _enum: {
1602
+ Ed25519: 'SpCoreEd25519Signature',
1603
+ Sr25519: 'SpCoreSr25519Signature',
1604
+ Ecdsa: 'SpCoreEcdsaSignature'
1605
+ }
1606
+ },
1607
+ /**
1608
+ * Lookup215: sp_core::sr25519::Signature
1609
+ **/
1610
+ SpCoreSr25519Signature: '[u8;64]',
1611
+ /**
1612
+ * Lookup216: sp_core::ecdsa::Signature
1613
+ **/
1614
+ SpCoreEcdsaSignature: '[u8;65]',
1615
+ /**
1616
+ * Lookup219: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
1617
+ **/
1618
+ FrameSystemExtensionsCheckNonZeroSender: 'Null',
1619
+ /**
1620
+ * Lookup220: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
1621
+ **/
1622
+ FrameSystemExtensionsCheckSpecVersion: 'Null',
1623
+ /**
1624
+ * Lookup221: frame_system::extensions::check_tx_version::CheckTxVersion<T>
1625
+ **/
1626
+ FrameSystemExtensionsCheckTxVersion: 'Null',
1627
+ /**
1628
+ * Lookup222: frame_system::extensions::check_genesis::CheckGenesis<T>
1629
+ **/
1630
+ FrameSystemExtensionsCheckGenesis: 'Null',
1631
+ /**
1632
+ * Lookup225: frame_system::extensions::check_nonce::CheckNonce<T>
1633
+ **/
1634
+ FrameSystemExtensionsCheckNonce: 'Compact<u32>',
1635
+ /**
1636
+ * Lookup226: frame_system::extensions::check_weight::CheckWeight<T>
1637
+ **/
1638
+ FrameSystemExtensionsCheckWeight: 'Null',
1639
+ /**
1640
+ * Lookup227: pallet_transaction_payment::ChargeTransactionPayment<T>
1641
+ **/
1642
+ PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
1643
+ /**
1644
+ * Lookup228: sugarfunge_runtime::Runtime
1645
+ **/
1646
+ SugarfungeRuntimeRuntime: 'Null'
1647
+ };
1648
+ //# sourceMappingURL=api-lookup.js.map