@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.9
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.
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/bundle.js +368 -332
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +292 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
- package/esm/sparkdream/commons/v1/tx.js +193 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +244 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2629 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
- package/esm/sparkdream/federation/v1/tx.js +4199 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
- package/esm/sparkdream/federation/v1/types.js +2571 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- package/esm/sparkdream/forum/v1/query.js +2084 -7387
- package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
- package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
- package/esm/sparkdream/forum/v1/tx.js +333 -2628
- package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
- package/esm/sparkdream/forum/v1/types.js +0 -216
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/genesis.js +209 -1
- package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/esm/sparkdream/rep/v1/member.js +25 -1
- package/esm/sparkdream/{forum → rep}/v1/member_report.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/esm/sparkdream/rep/v1/params.js +782 -254
- package/esm/sparkdream/rep/v1/project.js +13 -1
- package/esm/sparkdream/rep/v1/query.js +5260 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +286 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +333 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
- package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
- package/esm/sparkdream/rep/v1/tx.js +2439 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +102 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/params.js +94 -46
- package/esm/sparkdream/shield/v1/types.js +47 -5
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +13210 -11120
- package/sparkdream/bundle.js +368 -332
- package/sparkdream/client.d.ts +202 -57
- package/sparkdream/client.js +4 -1
- package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
- package/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +179 -0
- package/sparkdream/commons/v1/query.js +293 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +18 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
- package/sparkdream/commons/v1/tx.amino.js +5 -0
- package/sparkdream/commons/v1/tx.d.ts +98 -0
- package/sparkdream/commons/v1/tx.js +194 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
- package/sparkdream/commons/v1/tx.registry.js +19 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +78 -0
- package/sparkdream/federation/v1/genesis.js +247 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1541 -0
- package/sparkdream/federation/v1/query.js +2632 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
- package/sparkdream/federation/v1/query.lcd.js +156 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
- package/sparkdream/federation/v1/tx.amino.js +142 -0
- package/sparkdream/federation/v1/tx.d.ts +2311 -0
- package/sparkdream/federation/v1/tx.js +4203 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
- package/sparkdream/federation/v1/tx.registry.js +505 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
- package/sparkdream/federation/v1/types.d.ts +906 -0
- package/sparkdream/federation/v1/types.js +2588 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- package/sparkdream/forum/v1/query.d.ts +65 -3164
- package/sparkdream/forum/v1/query.js +2086 -7391
- package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
- package/sparkdream/forum/v1/query.lcd.js +0 -310
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
- package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
- package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
- package/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
- package/sparkdream/forum/v1/tx.amino.js +0 -75
- package/sparkdream/forum/v1/tx.d.ts +85 -1445
- package/sparkdream/forum/v1/tx.js +335 -2630
- package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
- package/sparkdream/forum/v1/tx.registry.js +1 -271
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
- package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
- package/sparkdream/forum/v1/types.d.ts +0 -50
- package/sparkdream/forum/v1/types.js +1 -225
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -0
- package/sparkdream/rep/v1/genesis.d.ts +68 -0
- package/sparkdream/rep/v1/genesis.js +209 -1
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/sparkdream/rep/v1/member.d.ts +16 -0
- package/sparkdream/rep/v1/member.js +25 -1
- package/sparkdream/{forum → rep}/v1/member_report.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/member_report.js +4 -4
- package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/sparkdream/rep/v1/params.d.ts +352 -8
- package/sparkdream/rep/v1/params.js +782 -254
- package/sparkdream/rep/v1/project.d.ts +10 -0
- package/sparkdream/rep/v1/project.js +13 -1
- package/sparkdream/rep/v1/query.d.ts +4197 -1129
- package/sparkdream/rep/v1/query.js +5263 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +286 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +137 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +332 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
- package/sparkdream/rep/v1/sentinel_activity.js +219 -0
- package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
- package/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
- package/sparkdream/rep/v1/tx.amino.js +80 -0
- package/sparkdream/rep/v1/tx.d.ts +1467 -0
- package/sparkdream/rep/v1/tx.js +2440 -1
- package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
- package/sparkdream/rep/v1/tx.registry.js +289 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +62 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +101 -0
- package/sparkdream/rpc.query.d.ts +58 -34
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/params.d.ts +36 -4
- package/sparkdream/season/v1/params.js +94 -46
- package/sparkdream/shield/v1/types.d.ts +28 -0
- package/sparkdream/shield/v1/types.js +47 -5
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
- package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
package/sparkdream/client.d.ts
CHANGED
|
@@ -482,6 +482,86 @@ export declare const sparkdreamAminoConverters: {
|
|
|
482
482
|
toAmino: (message: import("./rep/v1/tx").MsgRegisterZkPublicKey) => import("./rep/v1/tx").MsgRegisterZkPublicKeyAmino;
|
|
483
483
|
fromAmino: (object: import("./rep/v1/tx").MsgRegisterZkPublicKeyAmino) => import("./rep/v1/tx").MsgRegisterZkPublicKey;
|
|
484
484
|
};
|
|
485
|
+
"/sparkdream.rep.v1.MsgCreateTag": {
|
|
486
|
+
aminoType: string;
|
|
487
|
+
toAmino: (message: import("./rep/v1/tx").MsgCreateTag) => import("./rep/v1/tx").MsgCreateTagAmino;
|
|
488
|
+
fromAmino: (object: import("./rep/v1/tx").MsgCreateTagAmino) => import("./rep/v1/tx").MsgCreateTag;
|
|
489
|
+
};
|
|
490
|
+
"/sparkdream.rep.v1.MsgReportTag": {
|
|
491
|
+
aminoType: string;
|
|
492
|
+
toAmino: (message: import("./rep/v1/tx").MsgReportTag) => import("./rep/v1/tx").MsgReportTagAmino;
|
|
493
|
+
fromAmino: (object: import("./rep/v1/tx").MsgReportTagAmino) => import("./rep/v1/tx").MsgReportTag;
|
|
494
|
+
};
|
|
495
|
+
"/sparkdream.rep.v1.MsgResolveTagReport": {
|
|
496
|
+
aminoType: string;
|
|
497
|
+
toAmino: (message: import("./rep/v1/tx").MsgResolveTagReport) => import("./rep/v1/tx").MsgResolveTagReportAmino;
|
|
498
|
+
fromAmino: (object: import("./rep/v1/tx").MsgResolveTagReportAmino) => import("./rep/v1/tx").MsgResolveTagReport;
|
|
499
|
+
};
|
|
500
|
+
"/sparkdream.rep.v1.MsgCreateTagBudget": {
|
|
501
|
+
aminoType: string;
|
|
502
|
+
toAmino: (message: import("./rep/v1/tx").MsgCreateTagBudget) => import("./rep/v1/tx").MsgCreateTagBudgetAmino;
|
|
503
|
+
fromAmino: (object: import("./rep/v1/tx").MsgCreateTagBudgetAmino) => import("./rep/v1/tx").MsgCreateTagBudget;
|
|
504
|
+
};
|
|
505
|
+
"/sparkdream.rep.v1.MsgAwardFromTagBudget": {
|
|
506
|
+
aminoType: string;
|
|
507
|
+
toAmino: (message: import("./rep/v1/tx").MsgAwardFromTagBudget) => import("./rep/v1/tx").MsgAwardFromTagBudgetAmino;
|
|
508
|
+
fromAmino: (object: import("./rep/v1/tx").MsgAwardFromTagBudgetAmino) => import("./rep/v1/tx").MsgAwardFromTagBudget;
|
|
509
|
+
};
|
|
510
|
+
"/sparkdream.rep.v1.MsgTopUpTagBudget": {
|
|
511
|
+
aminoType: string;
|
|
512
|
+
toAmino: (message: import("./rep/v1/tx").MsgTopUpTagBudget) => import("./rep/v1/tx").MsgTopUpTagBudgetAmino;
|
|
513
|
+
fromAmino: (object: import("./rep/v1/tx").MsgTopUpTagBudgetAmino) => import("./rep/v1/tx").MsgTopUpTagBudget;
|
|
514
|
+
};
|
|
515
|
+
"/sparkdream.rep.v1.MsgToggleTagBudget": {
|
|
516
|
+
aminoType: string;
|
|
517
|
+
toAmino: (message: import("./rep/v1/tx").MsgToggleTagBudget) => import("./rep/v1/tx").MsgToggleTagBudgetAmino;
|
|
518
|
+
fromAmino: (object: import("./rep/v1/tx").MsgToggleTagBudgetAmino) => import("./rep/v1/tx").MsgToggleTagBudget;
|
|
519
|
+
};
|
|
520
|
+
"/sparkdream.rep.v1.MsgWithdrawTagBudget": {
|
|
521
|
+
aminoType: string;
|
|
522
|
+
toAmino: (message: import("./rep/v1/tx").MsgWithdrawTagBudget) => import("./rep/v1/tx").MsgWithdrawTagBudgetAmino;
|
|
523
|
+
fromAmino: (object: import("./rep/v1/tx").MsgWithdrawTagBudgetAmino) => import("./rep/v1/tx").MsgWithdrawTagBudget;
|
|
524
|
+
};
|
|
525
|
+
"/sparkdream.rep.v1.MsgBondSentinel": {
|
|
526
|
+
aminoType: string;
|
|
527
|
+
toAmino: (message: import("./rep/v1/tx").MsgBondSentinel) => import("./rep/v1/tx").MsgBondSentinelAmino;
|
|
528
|
+
fromAmino: (object: import("./rep/v1/tx").MsgBondSentinelAmino) => import("./rep/v1/tx").MsgBondSentinel;
|
|
529
|
+
};
|
|
530
|
+
"/sparkdream.rep.v1.MsgUnbondSentinel": {
|
|
531
|
+
aminoType: string;
|
|
532
|
+
toAmino: (message: import("./rep/v1/tx").MsgUnbondSentinel) => import("./rep/v1/tx").MsgUnbondSentinelAmino;
|
|
533
|
+
fromAmino: (object: import("./rep/v1/tx").MsgUnbondSentinelAmino) => import("./rep/v1/tx").MsgUnbondSentinel;
|
|
534
|
+
};
|
|
535
|
+
"/sparkdream.rep.v1.MsgReportMember": {
|
|
536
|
+
aminoType: string;
|
|
537
|
+
toAmino: (message: import("./rep/v1/tx").MsgReportMember) => import("./rep/v1/tx").MsgReportMemberAmino;
|
|
538
|
+
fromAmino: (object: import("./rep/v1/tx").MsgReportMemberAmino) => import("./rep/v1/tx").MsgReportMember;
|
|
539
|
+
};
|
|
540
|
+
"/sparkdream.rep.v1.MsgCosignMemberReport": {
|
|
541
|
+
aminoType: string;
|
|
542
|
+
toAmino: (message: import("./rep/v1/tx").MsgCosignMemberReport) => import("./rep/v1/tx").MsgCosignMemberReportAmino;
|
|
543
|
+
fromAmino: (object: import("./rep/v1/tx").MsgCosignMemberReportAmino) => import("./rep/v1/tx").MsgCosignMemberReport;
|
|
544
|
+
};
|
|
545
|
+
"/sparkdream.rep.v1.MsgResolveMemberReport": {
|
|
546
|
+
aminoType: string;
|
|
547
|
+
toAmino: (message: import("./rep/v1/tx").MsgResolveMemberReport) => import("./rep/v1/tx").MsgResolveMemberReportAmino;
|
|
548
|
+
fromAmino: (object: import("./rep/v1/tx").MsgResolveMemberReportAmino) => import("./rep/v1/tx").MsgResolveMemberReport;
|
|
549
|
+
};
|
|
550
|
+
"/sparkdream.rep.v1.MsgDefendMemberReport": {
|
|
551
|
+
aminoType: string;
|
|
552
|
+
toAmino: (message: import("./rep/v1/tx").MsgDefendMemberReport) => import("./rep/v1/tx").MsgDefendMemberReportAmino;
|
|
553
|
+
fromAmino: (object: import("./rep/v1/tx").MsgDefendMemberReportAmino) => import("./rep/v1/tx").MsgDefendMemberReport;
|
|
554
|
+
};
|
|
555
|
+
"/sparkdream.rep.v1.MsgAppealGovAction": {
|
|
556
|
+
aminoType: string;
|
|
557
|
+
toAmino: (message: import("./rep/v1/tx").MsgAppealGovAction) => import("./rep/v1/tx").MsgAppealGovActionAmino;
|
|
558
|
+
fromAmino: (object: import("./rep/v1/tx").MsgAppealGovActionAmino) => import("./rep/v1/tx").MsgAppealGovAction;
|
|
559
|
+
};
|
|
560
|
+
"/sparkdream.rep.v1.MsgResolveGovActionAppeal": {
|
|
561
|
+
aminoType: string;
|
|
562
|
+
toAmino: (message: import("./rep/v1/tx").MsgResolveGovActionAppeal) => import("./rep/v1/tx").MsgResolveGovActionAppealAmino;
|
|
563
|
+
fromAmino: (object: import("./rep/v1/tx").MsgResolveGovActionAppealAmino) => import("./rep/v1/tx").MsgResolveGovActionAppeal;
|
|
564
|
+
};
|
|
485
565
|
"/sparkdream.name.v1.MsgUpdateParams": {
|
|
486
566
|
aminoType: string;
|
|
487
567
|
toAmino: (message: import("./name/v1/tx").MsgUpdateParams) => import("./name/v1/tx").MsgUpdateParamsAmino;
|
|
@@ -567,11 +647,6 @@ export declare const sparkdreamAminoConverters: {
|
|
|
567
647
|
toAmino: (message: import("./forum/v1/tx").MsgUpdateOperationalParams) => import("./forum/v1/tx").MsgUpdateOperationalParamsAmino;
|
|
568
648
|
fromAmino: (object: import("./forum/v1/tx").MsgUpdateOperationalParamsAmino) => import("./forum/v1/tx").MsgUpdateOperationalParams;
|
|
569
649
|
};
|
|
570
|
-
"/sparkdream.forum.v1.MsgCreateCategory": {
|
|
571
|
-
aminoType: string;
|
|
572
|
-
toAmino: (message: import("./forum/v1/tx").MsgCreateCategory) => import("./forum/v1/tx").MsgCreateCategoryAmino;
|
|
573
|
-
fromAmino: (object: import("./forum/v1/tx").MsgCreateCategoryAmino) => import("./forum/v1/tx").MsgCreateCategory;
|
|
574
|
-
};
|
|
575
650
|
"/sparkdream.forum.v1.MsgCreatePost": {
|
|
576
651
|
aminoType: string;
|
|
577
652
|
toAmino: (message: import("./forum/v1/tx").MsgCreatePost) => import("./forum/v1/tx").MsgCreatePostAmino;
|
|
@@ -697,31 +772,6 @@ export declare const sparkdreamAminoConverters: {
|
|
|
697
772
|
toAmino: (message: import("./forum/v1/tx").MsgAssignBountyToReply) => import("./forum/v1/tx").MsgAssignBountyToReplyAmino;
|
|
698
773
|
fromAmino: (object: import("./forum/v1/tx").MsgAssignBountyToReplyAmino) => import("./forum/v1/tx").MsgAssignBountyToReply;
|
|
699
774
|
};
|
|
700
|
-
"/sparkdream.forum.v1.MsgCreateTagBudget": {
|
|
701
|
-
aminoType: string;
|
|
702
|
-
toAmino: (message: import("./forum/v1/tx").MsgCreateTagBudget) => import("./forum/v1/tx").MsgCreateTagBudgetAmino;
|
|
703
|
-
fromAmino: (object: import("./forum/v1/tx").MsgCreateTagBudgetAmino) => import("./forum/v1/tx").MsgCreateTagBudget;
|
|
704
|
-
};
|
|
705
|
-
"/sparkdream.forum.v1.MsgAwardFromTagBudget": {
|
|
706
|
-
aminoType: string;
|
|
707
|
-
toAmino: (message: import("./forum/v1/tx").MsgAwardFromTagBudget) => import("./forum/v1/tx").MsgAwardFromTagBudgetAmino;
|
|
708
|
-
fromAmino: (object: import("./forum/v1/tx").MsgAwardFromTagBudgetAmino) => import("./forum/v1/tx").MsgAwardFromTagBudget;
|
|
709
|
-
};
|
|
710
|
-
"/sparkdream.forum.v1.MsgTopUpTagBudget": {
|
|
711
|
-
aminoType: string;
|
|
712
|
-
toAmino: (message: import("./forum/v1/tx").MsgTopUpTagBudget) => import("./forum/v1/tx").MsgTopUpTagBudgetAmino;
|
|
713
|
-
fromAmino: (object: import("./forum/v1/tx").MsgTopUpTagBudgetAmino) => import("./forum/v1/tx").MsgTopUpTagBudget;
|
|
714
|
-
};
|
|
715
|
-
"/sparkdream.forum.v1.MsgToggleTagBudget": {
|
|
716
|
-
aminoType: string;
|
|
717
|
-
toAmino: (message: import("./forum/v1/tx").MsgToggleTagBudget) => import("./forum/v1/tx").MsgToggleTagBudgetAmino;
|
|
718
|
-
fromAmino: (object: import("./forum/v1/tx").MsgToggleTagBudgetAmino) => import("./forum/v1/tx").MsgToggleTagBudget;
|
|
719
|
-
};
|
|
720
|
-
"/sparkdream.forum.v1.MsgWithdrawTagBudget": {
|
|
721
|
-
aminoType: string;
|
|
722
|
-
toAmino: (message: import("./forum/v1/tx").MsgWithdrawTagBudget) => import("./forum/v1/tx").MsgWithdrawTagBudgetAmino;
|
|
723
|
-
fromAmino: (object: import("./forum/v1/tx").MsgWithdrawTagBudgetAmino) => import("./forum/v1/tx").MsgWithdrawTagBudget;
|
|
724
|
-
};
|
|
725
775
|
"/sparkdream.forum.v1.MsgPinReply": {
|
|
726
776
|
aminoType: string;
|
|
727
777
|
toAmino: (message: import("./forum/v1/tx").MsgPinReply) => import("./forum/v1/tx").MsgPinReplyAmino;
|
|
@@ -762,50 +812,140 @@ export declare const sparkdreamAminoConverters: {
|
|
|
762
812
|
toAmino: (message: import("./forum/v1/tx").MsgSetModerationPaused) => import("./forum/v1/tx").MsgSetModerationPausedAmino;
|
|
763
813
|
fromAmino: (object: import("./forum/v1/tx").MsgSetModerationPausedAmino) => import("./forum/v1/tx").MsgSetModerationPaused;
|
|
764
814
|
};
|
|
765
|
-
"/sparkdream.
|
|
815
|
+
"/sparkdream.federation.v1.MsgUpdateParams": {
|
|
816
|
+
aminoType: string;
|
|
817
|
+
toAmino: (message: import("./federation/v1/tx").MsgUpdateParams) => import("./federation/v1/tx").MsgUpdateParamsAmino;
|
|
818
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUpdateParamsAmino) => import("./federation/v1/tx").MsgUpdateParams;
|
|
819
|
+
};
|
|
820
|
+
"/sparkdream.federation.v1.MsgRegisterPeer": {
|
|
821
|
+
aminoType: string;
|
|
822
|
+
toAmino: (message: import("./federation/v1/tx").MsgRegisterPeer) => import("./federation/v1/tx").MsgRegisterPeerAmino;
|
|
823
|
+
fromAmino: (object: import("./federation/v1/tx").MsgRegisterPeerAmino) => import("./federation/v1/tx").MsgRegisterPeer;
|
|
824
|
+
};
|
|
825
|
+
"/sparkdream.federation.v1.MsgRemovePeer": {
|
|
826
|
+
aminoType: string;
|
|
827
|
+
toAmino: (message: import("./federation/v1/tx").MsgRemovePeer) => import("./federation/v1/tx").MsgRemovePeerAmino;
|
|
828
|
+
fromAmino: (object: import("./federation/v1/tx").MsgRemovePeerAmino) => import("./federation/v1/tx").MsgRemovePeer;
|
|
829
|
+
};
|
|
830
|
+
"/sparkdream.federation.v1.MsgSuspendPeer": {
|
|
831
|
+
aminoType: string;
|
|
832
|
+
toAmino: (message: import("./federation/v1/tx").MsgSuspendPeer) => import("./federation/v1/tx").MsgSuspendPeerAmino;
|
|
833
|
+
fromAmino: (object: import("./federation/v1/tx").MsgSuspendPeerAmino) => import("./federation/v1/tx").MsgSuspendPeer;
|
|
834
|
+
};
|
|
835
|
+
"/sparkdream.federation.v1.MsgResumePeer": {
|
|
836
|
+
aminoType: string;
|
|
837
|
+
toAmino: (message: import("./federation/v1/tx").MsgResumePeer) => import("./federation/v1/tx").MsgResumePeerAmino;
|
|
838
|
+
fromAmino: (object: import("./federation/v1/tx").MsgResumePeerAmino) => import("./federation/v1/tx").MsgResumePeer;
|
|
839
|
+
};
|
|
840
|
+
"/sparkdream.federation.v1.MsgUpdatePeerPolicy": {
|
|
841
|
+
aminoType: string;
|
|
842
|
+
toAmino: (message: import("./federation/v1/tx").MsgUpdatePeerPolicy) => import("./federation/v1/tx").MsgUpdatePeerPolicyAmino;
|
|
843
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUpdatePeerPolicyAmino) => import("./federation/v1/tx").MsgUpdatePeerPolicy;
|
|
844
|
+
};
|
|
845
|
+
"/sparkdream.federation.v1.MsgRegisterBridge": {
|
|
846
|
+
aminoType: string;
|
|
847
|
+
toAmino: (message: import("./federation/v1/tx").MsgRegisterBridge) => import("./federation/v1/tx").MsgRegisterBridgeAmino;
|
|
848
|
+
fromAmino: (object: import("./federation/v1/tx").MsgRegisterBridgeAmino) => import("./federation/v1/tx").MsgRegisterBridge;
|
|
849
|
+
};
|
|
850
|
+
"/sparkdream.federation.v1.MsgRevokeBridge": {
|
|
851
|
+
aminoType: string;
|
|
852
|
+
toAmino: (message: import("./federation/v1/tx").MsgRevokeBridge) => import("./federation/v1/tx").MsgRevokeBridgeAmino;
|
|
853
|
+
fromAmino: (object: import("./federation/v1/tx").MsgRevokeBridgeAmino) => import("./federation/v1/tx").MsgRevokeBridge;
|
|
854
|
+
};
|
|
855
|
+
"/sparkdream.federation.v1.MsgSlashBridge": {
|
|
856
|
+
aminoType: string;
|
|
857
|
+
toAmino: (message: import("./federation/v1/tx").MsgSlashBridge) => import("./federation/v1/tx").MsgSlashBridgeAmino;
|
|
858
|
+
fromAmino: (object: import("./federation/v1/tx").MsgSlashBridgeAmino) => import("./federation/v1/tx").MsgSlashBridge;
|
|
859
|
+
};
|
|
860
|
+
"/sparkdream.federation.v1.MsgUpdateBridge": {
|
|
766
861
|
aminoType: string;
|
|
767
|
-
toAmino: (message: import("./
|
|
768
|
-
fromAmino: (object: import("./
|
|
862
|
+
toAmino: (message: import("./federation/v1/tx").MsgUpdateBridge) => import("./federation/v1/tx").MsgUpdateBridgeAmino;
|
|
863
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUpdateBridgeAmino) => import("./federation/v1/tx").MsgUpdateBridge;
|
|
769
864
|
};
|
|
770
|
-
"/sparkdream.
|
|
865
|
+
"/sparkdream.federation.v1.MsgUnbondBridge": {
|
|
771
866
|
aminoType: string;
|
|
772
|
-
toAmino: (message: import("./
|
|
773
|
-
fromAmino: (object: import("./
|
|
867
|
+
toAmino: (message: import("./federation/v1/tx").MsgUnbondBridge) => import("./federation/v1/tx").MsgUnbondBridgeAmino;
|
|
868
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUnbondBridgeAmino) => import("./federation/v1/tx").MsgUnbondBridge;
|
|
774
869
|
};
|
|
775
|
-
"/sparkdream.
|
|
870
|
+
"/sparkdream.federation.v1.MsgTopUpBridgeStake": {
|
|
776
871
|
aminoType: string;
|
|
777
|
-
toAmino: (message: import("./
|
|
778
|
-
fromAmino: (object: import("./
|
|
872
|
+
toAmino: (message: import("./federation/v1/tx").MsgTopUpBridgeStake) => import("./federation/v1/tx").MsgTopUpBridgeStakeAmino;
|
|
873
|
+
fromAmino: (object: import("./federation/v1/tx").MsgTopUpBridgeStakeAmino) => import("./federation/v1/tx").MsgTopUpBridgeStake;
|
|
779
874
|
};
|
|
780
|
-
"/sparkdream.
|
|
875
|
+
"/sparkdream.federation.v1.MsgSubmitFederatedContent": {
|
|
781
876
|
aminoType: string;
|
|
782
|
-
toAmino: (message: import("./
|
|
783
|
-
fromAmino: (object: import("./
|
|
877
|
+
toAmino: (message: import("./federation/v1/tx").MsgSubmitFederatedContent) => import("./federation/v1/tx").MsgSubmitFederatedContentAmino;
|
|
878
|
+
fromAmino: (object: import("./federation/v1/tx").MsgSubmitFederatedContentAmino) => import("./federation/v1/tx").MsgSubmitFederatedContent;
|
|
784
879
|
};
|
|
785
|
-
"/sparkdream.
|
|
880
|
+
"/sparkdream.federation.v1.MsgFederateContent": {
|
|
786
881
|
aminoType: string;
|
|
787
|
-
toAmino: (message: import("./
|
|
788
|
-
fromAmino: (object: import("./
|
|
882
|
+
toAmino: (message: import("./federation/v1/tx").MsgFederateContent) => import("./federation/v1/tx").MsgFederateContentAmino;
|
|
883
|
+
fromAmino: (object: import("./federation/v1/tx").MsgFederateContentAmino) => import("./federation/v1/tx").MsgFederateContent;
|
|
789
884
|
};
|
|
790
|
-
"/sparkdream.
|
|
885
|
+
"/sparkdream.federation.v1.MsgAttestOutbound": {
|
|
791
886
|
aminoType: string;
|
|
792
|
-
toAmino: (message: import("./
|
|
793
|
-
fromAmino: (object: import("./
|
|
887
|
+
toAmino: (message: import("./federation/v1/tx").MsgAttestOutbound) => import("./federation/v1/tx").MsgAttestOutboundAmino;
|
|
888
|
+
fromAmino: (object: import("./federation/v1/tx").MsgAttestOutboundAmino) => import("./federation/v1/tx").MsgAttestOutbound;
|
|
794
889
|
};
|
|
795
|
-
"/sparkdream.
|
|
890
|
+
"/sparkdream.federation.v1.MsgModerateContent": {
|
|
796
891
|
aminoType: string;
|
|
797
|
-
toAmino: (message: import("./
|
|
798
|
-
fromAmino: (object: import("./
|
|
892
|
+
toAmino: (message: import("./federation/v1/tx").MsgModerateContent) => import("./federation/v1/tx").MsgModerateContentAmino;
|
|
893
|
+
fromAmino: (object: import("./federation/v1/tx").MsgModerateContentAmino) => import("./federation/v1/tx").MsgModerateContent;
|
|
799
894
|
};
|
|
800
|
-
"/sparkdream.
|
|
895
|
+
"/sparkdream.federation.v1.MsgLinkIdentity": {
|
|
801
896
|
aminoType: string;
|
|
802
|
-
toAmino: (message: import("./
|
|
803
|
-
fromAmino: (object: import("./
|
|
897
|
+
toAmino: (message: import("./federation/v1/tx").MsgLinkIdentity) => import("./federation/v1/tx").MsgLinkIdentityAmino;
|
|
898
|
+
fromAmino: (object: import("./federation/v1/tx").MsgLinkIdentityAmino) => import("./federation/v1/tx").MsgLinkIdentity;
|
|
804
899
|
};
|
|
805
|
-
"/sparkdream.
|
|
900
|
+
"/sparkdream.federation.v1.MsgUnlinkIdentity": {
|
|
806
901
|
aminoType: string;
|
|
807
|
-
toAmino: (message: import("./
|
|
808
|
-
fromAmino: (object: import("./
|
|
902
|
+
toAmino: (message: import("./federation/v1/tx").MsgUnlinkIdentity) => import("./federation/v1/tx").MsgUnlinkIdentityAmino;
|
|
903
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUnlinkIdentityAmino) => import("./federation/v1/tx").MsgUnlinkIdentity;
|
|
904
|
+
};
|
|
905
|
+
"/sparkdream.federation.v1.MsgConfirmIdentityLink": {
|
|
906
|
+
aminoType: string;
|
|
907
|
+
toAmino: (message: import("./federation/v1/tx").MsgConfirmIdentityLink) => import("./federation/v1/tx").MsgConfirmIdentityLinkAmino;
|
|
908
|
+
fromAmino: (object: import("./federation/v1/tx").MsgConfirmIdentityLinkAmino) => import("./federation/v1/tx").MsgConfirmIdentityLink;
|
|
909
|
+
};
|
|
910
|
+
"/sparkdream.federation.v1.MsgRequestReputationAttestation": {
|
|
911
|
+
aminoType: string;
|
|
912
|
+
toAmino: (message: import("./federation/v1/tx").MsgRequestReputationAttestation) => import("./federation/v1/tx").MsgRequestReputationAttestationAmino;
|
|
913
|
+
fromAmino: (object: import("./federation/v1/tx").MsgRequestReputationAttestationAmino) => import("./federation/v1/tx").MsgRequestReputationAttestation;
|
|
914
|
+
};
|
|
915
|
+
"/sparkdream.federation.v1.MsgBondVerifier": {
|
|
916
|
+
aminoType: string;
|
|
917
|
+
toAmino: (message: import("./federation/v1/tx").MsgBondVerifier) => import("./federation/v1/tx").MsgBondVerifierAmino;
|
|
918
|
+
fromAmino: (object: import("./federation/v1/tx").MsgBondVerifierAmino) => import("./federation/v1/tx").MsgBondVerifier;
|
|
919
|
+
};
|
|
920
|
+
"/sparkdream.federation.v1.MsgUnbondVerifier": {
|
|
921
|
+
aminoType: string;
|
|
922
|
+
toAmino: (message: import("./federation/v1/tx").MsgUnbondVerifier) => import("./federation/v1/tx").MsgUnbondVerifierAmino;
|
|
923
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUnbondVerifierAmino) => import("./federation/v1/tx").MsgUnbondVerifier;
|
|
924
|
+
};
|
|
925
|
+
"/sparkdream.federation.v1.MsgVerifyContent": {
|
|
926
|
+
aminoType: string;
|
|
927
|
+
toAmino: (message: import("./federation/v1/tx").MsgVerifyContent) => import("./federation/v1/tx").MsgVerifyContentAmino;
|
|
928
|
+
fromAmino: (object: import("./federation/v1/tx").MsgVerifyContentAmino) => import("./federation/v1/tx").MsgVerifyContent;
|
|
929
|
+
};
|
|
930
|
+
"/sparkdream.federation.v1.MsgChallengeVerification": {
|
|
931
|
+
aminoType: string;
|
|
932
|
+
toAmino: (message: import("./federation/v1/tx").MsgChallengeVerification) => import("./federation/v1/tx").MsgChallengeVerificationAmino;
|
|
933
|
+
fromAmino: (object: import("./federation/v1/tx").MsgChallengeVerificationAmino) => import("./federation/v1/tx").MsgChallengeVerification;
|
|
934
|
+
};
|
|
935
|
+
"/sparkdream.federation.v1.MsgSubmitArbiterHash": {
|
|
936
|
+
aminoType: string;
|
|
937
|
+
toAmino: (message: import("./federation/v1/tx").MsgSubmitArbiterHash) => import("./federation/v1/tx").MsgSubmitArbiterHashAmino;
|
|
938
|
+
fromAmino: (object: import("./federation/v1/tx").MsgSubmitArbiterHashAmino) => import("./federation/v1/tx").MsgSubmitArbiterHash;
|
|
939
|
+
};
|
|
940
|
+
"/sparkdream.federation.v1.MsgEscalateChallenge": {
|
|
941
|
+
aminoType: string;
|
|
942
|
+
toAmino: (message: import("./federation/v1/tx").MsgEscalateChallenge) => import("./federation/v1/tx").MsgEscalateChallengeAmino;
|
|
943
|
+
fromAmino: (object: import("./federation/v1/tx").MsgEscalateChallengeAmino) => import("./federation/v1/tx").MsgEscalateChallenge;
|
|
944
|
+
};
|
|
945
|
+
"/sparkdream.federation.v1.MsgUpdateOperationalParams": {
|
|
946
|
+
aminoType: string;
|
|
947
|
+
toAmino: (message: import("./federation/v1/tx").MsgUpdateOperationalParams) => import("./federation/v1/tx").MsgUpdateOperationalParamsAmino;
|
|
948
|
+
fromAmino: (object: import("./federation/v1/tx").MsgUpdateOperationalParamsAmino) => import("./federation/v1/tx").MsgUpdateOperationalParams;
|
|
809
949
|
};
|
|
810
950
|
"/sparkdream.ecosystem.v1.MsgUpdateParams": {
|
|
811
951
|
aminoType: string;
|
|
@@ -907,6 +1047,11 @@ export declare const sparkdreamAminoConverters: {
|
|
|
907
1047
|
toAmino: (message: import("./commons/v1/tx").MsgAnonymousVoteProposal) => import("./commons/v1/tx").MsgAnonymousVoteProposalAmino;
|
|
908
1048
|
fromAmino: (object: import("./commons/v1/tx").MsgAnonymousVoteProposalAmino) => import("./commons/v1/tx").MsgAnonymousVoteProposal;
|
|
909
1049
|
};
|
|
1050
|
+
"/sparkdream.commons.v1.MsgCreateCategory": {
|
|
1051
|
+
aminoType: string;
|
|
1052
|
+
toAmino: (message: import("./commons/v1/tx").MsgCreateCategory) => import("./commons/v1/tx").MsgCreateCategoryAmino;
|
|
1053
|
+
fromAmino: (object: import("./commons/v1/tx").MsgCreateCategoryAmino) => import("./commons/v1/tx").MsgCreateCategory;
|
|
1054
|
+
};
|
|
910
1055
|
"/sparkdream.collect.v1.MsgUpdateParams": {
|
|
911
1056
|
aminoType: string;
|
|
912
1057
|
toAmino: (message: import("./collect/v1/tx").MsgUpdateParams) => import("./collect/v1/tx").MsgUpdateParamsAmino;
|
package/sparkdream/client.js
CHANGED
|
@@ -41,6 +41,7 @@ const sparkdreamBlogV1TxRegistry = __importStar(require("./blog/v1/tx.registry")
|
|
|
41
41
|
const sparkdreamCollectV1TxRegistry = __importStar(require("./collect/v1/tx.registry"));
|
|
42
42
|
const sparkdreamCommonsV1TxRegistry = __importStar(require("./commons/v1/tx.registry"));
|
|
43
43
|
const sparkdreamEcosystemV1TxRegistry = __importStar(require("./ecosystem/v1/tx.registry"));
|
|
44
|
+
const sparkdreamFederationV1TxRegistry = __importStar(require("./federation/v1/tx.registry"));
|
|
44
45
|
const sparkdreamForumV1TxRegistry = __importStar(require("./forum/v1/tx.registry"));
|
|
45
46
|
const sparkdreamFutarchyV1TxRegistry = __importStar(require("./futarchy/v1/tx.registry"));
|
|
46
47
|
const sparkdreamNameV1TxRegistry = __importStar(require("./name/v1/tx.registry"));
|
|
@@ -55,6 +56,7 @@ const sparkdreamBlogV1TxAmino = __importStar(require("./blog/v1/tx.amino"));
|
|
|
55
56
|
const sparkdreamCollectV1TxAmino = __importStar(require("./collect/v1/tx.amino"));
|
|
56
57
|
const sparkdreamCommonsV1TxAmino = __importStar(require("./commons/v1/tx.amino"));
|
|
57
58
|
const sparkdreamEcosystemV1TxAmino = __importStar(require("./ecosystem/v1/tx.amino"));
|
|
59
|
+
const sparkdreamFederationV1TxAmino = __importStar(require("./federation/v1/tx.amino"));
|
|
58
60
|
const sparkdreamForumV1TxAmino = __importStar(require("./forum/v1/tx.amino"));
|
|
59
61
|
const sparkdreamFutarchyV1TxAmino = __importStar(require("./futarchy/v1/tx.amino"));
|
|
60
62
|
const sparkdreamNameV1TxAmino = __importStar(require("./name/v1/tx.amino"));
|
|
@@ -70,6 +72,7 @@ exports.sparkdreamAminoConverters = {
|
|
|
70
72
|
...sparkdreamCollectV1TxAmino.AminoConverter,
|
|
71
73
|
...sparkdreamCommonsV1TxAmino.AminoConverter,
|
|
72
74
|
...sparkdreamEcosystemV1TxAmino.AminoConverter,
|
|
75
|
+
...sparkdreamFederationV1TxAmino.AminoConverter,
|
|
73
76
|
...sparkdreamForumV1TxAmino.AminoConverter,
|
|
74
77
|
...sparkdreamFutarchyV1TxAmino.AminoConverter,
|
|
75
78
|
...sparkdreamNameV1TxAmino.AminoConverter,
|
|
@@ -81,7 +84,7 @@ exports.sparkdreamAminoConverters = {
|
|
|
81
84
|
...sparkdreamSparkdreamV1TxAmino.AminoConverter,
|
|
82
85
|
...sparkdreamSplitV1TxAmino.AminoConverter
|
|
83
86
|
};
|
|
84
|
-
exports.sparkdreamProtoRegistry = [...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
|
|
87
|
+
exports.sparkdreamProtoRegistry = [...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamFederationV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
|
|
85
88
|
const getSigningSparkdreamClientOptions = ({ defaultTypes = stargate_1.defaultRegistryTypes } = {}) => {
|
|
86
89
|
const registry = new proto_signing_1.Registry([...defaultTypes, ...exports.sparkdreamProtoRegistry]);
|
|
87
90
|
const aminoTypes = new stargate_1.AminoTypes({
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/**
|
|
4
|
-
* Category defines
|
|
4
|
+
* Category defines a governance-curated content category. Created by the
|
|
5
|
+
* Commons Council (or Operations Committee). Per-module restrictions on
|
|
6
|
+
* which categories are valid are enforced by the consuming module.
|
|
5
7
|
* @name Category
|
|
6
|
-
* @package sparkdream.
|
|
7
|
-
* @see proto type: sparkdream.
|
|
8
|
+
* @package sparkdream.commons.v1
|
|
9
|
+
* @see proto type: sparkdream.commons.v1.Category
|
|
8
10
|
*/
|
|
9
11
|
export interface Category {
|
|
10
12
|
categoryId: bigint;
|
|
@@ -14,14 +16,16 @@ export interface Category {
|
|
|
14
16
|
adminOnlyWrite: boolean;
|
|
15
17
|
}
|
|
16
18
|
export interface CategoryProtoMsg {
|
|
17
|
-
typeUrl: "/sparkdream.
|
|
19
|
+
typeUrl: "/sparkdream.commons.v1.Category";
|
|
18
20
|
value: Uint8Array;
|
|
19
21
|
}
|
|
20
22
|
/**
|
|
21
|
-
* Category defines
|
|
23
|
+
* Category defines a governance-curated content category. Created by the
|
|
24
|
+
* Commons Council (or Operations Committee). Per-module restrictions on
|
|
25
|
+
* which categories are valid are enforced by the consuming module.
|
|
22
26
|
* @name CategoryAmino
|
|
23
|
-
* @package sparkdream.
|
|
24
|
-
* @see proto type: sparkdream.
|
|
27
|
+
* @package sparkdream.commons.v1
|
|
28
|
+
* @see proto type: sparkdream.commons.v1.Category
|
|
25
29
|
*/
|
|
26
30
|
export interface CategoryAmino {
|
|
27
31
|
category_id?: string;
|
|
@@ -31,14 +35,16 @@ export interface CategoryAmino {
|
|
|
31
35
|
admin_only_write?: boolean;
|
|
32
36
|
}
|
|
33
37
|
export interface CategoryAminoMsg {
|
|
34
|
-
type: "/sparkdream.
|
|
38
|
+
type: "/sparkdream.commons.v1.Category";
|
|
35
39
|
value: CategoryAmino;
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
|
-
* Category defines
|
|
42
|
+
* Category defines a governance-curated content category. Created by the
|
|
43
|
+
* Commons Council (or Operations Committee). Per-module restrictions on
|
|
44
|
+
* which categories are valid are enforced by the consuming module.
|
|
39
45
|
* @name Category
|
|
40
|
-
* @package sparkdream.
|
|
41
|
-
* @see proto type: sparkdream.
|
|
46
|
+
* @package sparkdream.commons.v1
|
|
47
|
+
* @see proto type: sparkdream.commons.v1.Category
|
|
42
48
|
*/
|
|
43
49
|
export declare const Category: {
|
|
44
50
|
typeUrl: string;
|
|
@@ -13,13 +13,15 @@ function createBaseCategory() {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Category defines
|
|
16
|
+
* Category defines a governance-curated content category. Created by the
|
|
17
|
+
* Commons Council (or Operations Committee). Per-module restrictions on
|
|
18
|
+
* which categories are valid are enforced by the consuming module.
|
|
17
19
|
* @name Category
|
|
18
|
-
* @package sparkdream.
|
|
19
|
-
* @see proto type: sparkdream.
|
|
20
|
+
* @package sparkdream.commons.v1
|
|
21
|
+
* @see proto type: sparkdream.commons.v1.Category
|
|
20
22
|
*/
|
|
21
23
|
exports.Category = {
|
|
22
|
-
typeUrl: "/sparkdream.
|
|
24
|
+
typeUrl: "/sparkdream.commons.v1.Category",
|
|
23
25
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
24
26
|
if (message.categoryId !== BigInt(0)) {
|
|
25
27
|
writer.uint32(8).uint64(message.categoryId);
|
|
@@ -115,7 +117,7 @@ exports.Category = {
|
|
|
115
117
|
},
|
|
116
118
|
toProtoMsg(message) {
|
|
117
119
|
return {
|
|
118
|
-
typeUrl: "/sparkdream.
|
|
120
|
+
typeUrl: "/sparkdream.commons.v1.Category",
|
|
119
121
|
value: exports.Category.encode(message).finish()
|
|
120
122
|
};
|
|
121
123
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./params";
|
|
2
2
|
import { PolicyPermissions, PolicyPermissionsAmino } from "./policy_permissions";
|
|
3
3
|
import { Group, GroupAmino, Proposal, ProposalAmino, Member, MemberAmino, DecisionPolicy, DecisionPolicyAmino, Vote, VoteAmino } from "./group";
|
|
4
|
+
import { Category, CategoryAmino } from "./category";
|
|
4
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
6
|
import { DeepPartial } from "../../../helpers";
|
|
6
7
|
/**
|
|
@@ -44,6 +45,14 @@ export interface GenesisState {
|
|
|
44
45
|
* votes stores all active votes
|
|
45
46
|
*/
|
|
46
47
|
proposalVotes: ProposalVotes[];
|
|
48
|
+
/**
|
|
49
|
+
* category_map stores all shared content categories
|
|
50
|
+
*/
|
|
51
|
+
categoryMap: Category[];
|
|
52
|
+
/**
|
|
53
|
+
* next_category_id is the next auto-increment category ID
|
|
54
|
+
*/
|
|
55
|
+
nextCategoryId: bigint;
|
|
47
56
|
}
|
|
48
57
|
export interface GenesisStateProtoMsg {
|
|
49
58
|
typeUrl: "/sparkdream.commons.v1.GenesisState";
|
|
@@ -90,6 +99,14 @@ export interface GenesisStateAmino {
|
|
|
90
99
|
* votes stores all active votes
|
|
91
100
|
*/
|
|
92
101
|
proposal_votes?: ProposalVotesAmino[];
|
|
102
|
+
/**
|
|
103
|
+
* category_map stores all shared content categories
|
|
104
|
+
*/
|
|
105
|
+
category_map?: CategoryAmino[];
|
|
106
|
+
/**
|
|
107
|
+
* next_category_id is the next auto-increment category ID
|
|
108
|
+
*/
|
|
109
|
+
next_category_id?: string;
|
|
93
110
|
}
|
|
94
111
|
export interface GenesisStateAminoMsg {
|
|
95
112
|
type: "/sparkdream.commons.v1.GenesisState";
|
|
@@ -5,6 +5,7 @@ exports.ProposalVotes = exports.PolicyVersionEntry = exports.PolicyWithAddress =
|
|
|
5
5
|
const params_1 = require("./params");
|
|
6
6
|
const policy_permissions_1 = require("./policy_permissions");
|
|
7
7
|
const group_1 = require("./group");
|
|
8
|
+
const category_1 = require("./category");
|
|
8
9
|
const binary_1 = require("../../../binary");
|
|
9
10
|
function createBaseGenesisState() {
|
|
10
11
|
return {
|
|
@@ -17,7 +18,9 @@ function createBaseGenesisState() {
|
|
|
17
18
|
nextProposalId: BigInt(0),
|
|
18
19
|
nextCouncilId: BigInt(0),
|
|
19
20
|
policyVersions: [],
|
|
20
|
-
proposalVotes: []
|
|
21
|
+
proposalVotes: [],
|
|
22
|
+
categoryMap: [],
|
|
23
|
+
nextCategoryId: BigInt(0)
|
|
21
24
|
};
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
@@ -59,6 +62,12 @@ exports.GenesisState = {
|
|
|
59
62
|
for (const v of message.proposalVotes) {
|
|
60
63
|
exports.ProposalVotes.encode(v, writer.uint32(82).fork()).ldelim();
|
|
61
64
|
}
|
|
65
|
+
for (const v of message.categoryMap) {
|
|
66
|
+
category_1.Category.encode(v, writer.uint32(90).fork()).ldelim();
|
|
67
|
+
}
|
|
68
|
+
if (message.nextCategoryId !== BigInt(0)) {
|
|
69
|
+
writer.uint32(96).uint64(message.nextCategoryId);
|
|
70
|
+
}
|
|
62
71
|
return writer;
|
|
63
72
|
},
|
|
64
73
|
decode(input, length) {
|
|
@@ -98,6 +107,12 @@ exports.GenesisState = {
|
|
|
98
107
|
case 10:
|
|
99
108
|
message.proposalVotes.push(exports.ProposalVotes.decode(reader, reader.uint32()));
|
|
100
109
|
break;
|
|
110
|
+
case 11:
|
|
111
|
+
message.categoryMap.push(category_1.Category.decode(reader, reader.uint32()));
|
|
112
|
+
break;
|
|
113
|
+
case 12:
|
|
114
|
+
message.nextCategoryId = reader.uint64();
|
|
115
|
+
break;
|
|
101
116
|
default:
|
|
102
117
|
reader.skipType(tag & 7);
|
|
103
118
|
break;
|
|
@@ -117,6 +132,8 @@ exports.GenesisState = {
|
|
|
117
132
|
message.nextCouncilId = object.nextCouncilId !== undefined && object.nextCouncilId !== null ? BigInt(object.nextCouncilId.toString()) : BigInt(0);
|
|
118
133
|
message.policyVersions = object.policyVersions?.map(e => exports.PolicyVersionEntry.fromPartial(e)) || [];
|
|
119
134
|
message.proposalVotes = object.proposalVotes?.map(e => exports.ProposalVotes.fromPartial(e)) || [];
|
|
135
|
+
message.categoryMap = object.categoryMap?.map(e => category_1.Category.fromPartial(e)) || [];
|
|
136
|
+
message.nextCategoryId = object.nextCategoryId !== undefined && object.nextCategoryId !== null ? BigInt(object.nextCategoryId.toString()) : BigInt(0);
|
|
120
137
|
return message;
|
|
121
138
|
},
|
|
122
139
|
fromAmino(object) {
|
|
@@ -137,6 +154,10 @@ exports.GenesisState = {
|
|
|
137
154
|
}
|
|
138
155
|
message.policyVersions = object.policy_versions?.map(e => exports.PolicyVersionEntry.fromAmino(e)) || [];
|
|
139
156
|
message.proposalVotes = object.proposal_votes?.map(e => exports.ProposalVotes.fromAmino(e)) || [];
|
|
157
|
+
message.categoryMap = object.category_map?.map(e => category_1.Category.fromAmino(e)) || [];
|
|
158
|
+
if (object.next_category_id !== undefined && object.next_category_id !== null) {
|
|
159
|
+
message.nextCategoryId = BigInt(object.next_category_id);
|
|
160
|
+
}
|
|
140
161
|
return message;
|
|
141
162
|
},
|
|
142
163
|
toAmino(message) {
|
|
@@ -186,6 +207,13 @@ exports.GenesisState = {
|
|
|
186
207
|
else {
|
|
187
208
|
obj.proposal_votes = message.proposalVotes;
|
|
188
209
|
}
|
|
210
|
+
if (message.categoryMap) {
|
|
211
|
+
obj.category_map = message.categoryMap.map(e => e ? category_1.Category.toAmino(e) : undefined);
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
obj.category_map = message.categoryMap;
|
|
215
|
+
}
|
|
216
|
+
obj.next_category_id = message.nextCategoryId !== BigInt(0) ? message.nextCategoryId?.toString() : undefined;
|
|
189
217
|
return obj;
|
|
190
218
|
},
|
|
191
219
|
fromAminoMsg(object) {
|