@functionland/react-native-fula 1.0.0 → 1.1.5

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