@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/blog/v1/params.js +113 -52
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- 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/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgUpdateParams, MsgSpendFromCommons, MsgEmergencyCancelGovProposal, MsgCreatePolicyPermissions, MsgUpdatePolicyPermissions, MsgDeletePolicyPermissions, MsgRegisterGroup, MsgRenewGroup, MsgUpdateGroupMembers, MsgUpdateGroupConfig, MsgForceUpgrade, MsgDeleteGroup, MsgVetoGroupProposals, MsgSubmitProposal, MsgVoteProposal, MsgExecuteProposal, MsgSubmitAnonymousProposal, MsgAnonymousVoteProposal, MsgCreateCategory, MsgDeleteCategory } from "./tx";
|
|
3
|
+
import { MsgUpdateParams, MsgSpendFromCommons, MsgEmergencyCancelGovProposal, MsgCreatePolicyPermissions, MsgUpdatePolicyPermissions, MsgDeletePolicyPermissions, MsgRegisterGroup, MsgRenewGroup, MsgUpdateGroupMembers, MsgUpdateGroupConfig, MsgForceUpgrade, MsgDeleteGroup, MsgVetoGroupProposals, MsgSubmitProposal, MsgVoteProposal, MsgExecuteProposal, MsgSubmitAnonymousProposal, MsgAnonymousVoteProposal, MsgCreateCategory, MsgDeleteCategory, MsgScheduleRecurringSpend, MsgCancelRecurringSpend, MsgClaimRecurringSpend, MsgDeclineRecurringSpend } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -85,6 +85,22 @@ export declare const MessageComposer: {
|
|
|
85
85
|
typeUrl: string;
|
|
86
86
|
value: Uint8Array<ArrayBufferLike>;
|
|
87
87
|
};
|
|
88
|
+
scheduleRecurringSpend(value: MsgScheduleRecurringSpend): {
|
|
89
|
+
typeUrl: string;
|
|
90
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
91
|
+
};
|
|
92
|
+
cancelRecurringSpend(value: MsgCancelRecurringSpend): {
|
|
93
|
+
typeUrl: string;
|
|
94
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
95
|
+
};
|
|
96
|
+
claimRecurringSpend(value: MsgClaimRecurringSpend): {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
99
|
+
};
|
|
100
|
+
declineRecurringSpend(value: MsgDeclineRecurringSpend): {
|
|
101
|
+
typeUrl: string;
|
|
102
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
103
|
+
};
|
|
88
104
|
};
|
|
89
105
|
withTypeUrl: {
|
|
90
106
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -167,6 +183,22 @@ export declare const MessageComposer: {
|
|
|
167
183
|
typeUrl: string;
|
|
168
184
|
value: MsgDeleteCategory;
|
|
169
185
|
};
|
|
186
|
+
scheduleRecurringSpend(value: MsgScheduleRecurringSpend): {
|
|
187
|
+
typeUrl: string;
|
|
188
|
+
value: MsgScheduleRecurringSpend;
|
|
189
|
+
};
|
|
190
|
+
cancelRecurringSpend(value: MsgCancelRecurringSpend): {
|
|
191
|
+
typeUrl: string;
|
|
192
|
+
value: MsgCancelRecurringSpend;
|
|
193
|
+
};
|
|
194
|
+
claimRecurringSpend(value: MsgClaimRecurringSpend): {
|
|
195
|
+
typeUrl: string;
|
|
196
|
+
value: MsgClaimRecurringSpend;
|
|
197
|
+
};
|
|
198
|
+
declineRecurringSpend(value: MsgDeclineRecurringSpend): {
|
|
199
|
+
typeUrl: string;
|
|
200
|
+
value: MsgDeclineRecurringSpend;
|
|
201
|
+
};
|
|
170
202
|
};
|
|
171
203
|
fromPartial: {
|
|
172
204
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -249,5 +281,21 @@ export declare const MessageComposer: {
|
|
|
249
281
|
typeUrl: string;
|
|
250
282
|
value: MsgDeleteCategory;
|
|
251
283
|
};
|
|
284
|
+
scheduleRecurringSpend(value: MsgScheduleRecurringSpend): {
|
|
285
|
+
typeUrl: string;
|
|
286
|
+
value: MsgScheduleRecurringSpend;
|
|
287
|
+
};
|
|
288
|
+
cancelRecurringSpend(value: MsgCancelRecurringSpend): {
|
|
289
|
+
typeUrl: string;
|
|
290
|
+
value: MsgCancelRecurringSpend;
|
|
291
|
+
};
|
|
292
|
+
claimRecurringSpend(value: MsgClaimRecurringSpend): {
|
|
293
|
+
typeUrl: string;
|
|
294
|
+
value: MsgClaimRecurringSpend;
|
|
295
|
+
};
|
|
296
|
+
declineRecurringSpend(value: MsgDeclineRecurringSpend): {
|
|
297
|
+
typeUrl: string;
|
|
298
|
+
value: MsgDeclineRecurringSpend;
|
|
299
|
+
};
|
|
252
300
|
};
|
|
253
301
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/sparkdream.commons.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.commons.v1.MsgSpendFromCommons", tx_1.MsgSpendFromCommons], ["/sparkdream.commons.v1.MsgEmergencyCancelGovProposal", tx_1.MsgEmergencyCancelGovProposal], ["/sparkdream.commons.v1.MsgCreatePolicyPermissions", tx_1.MsgCreatePolicyPermissions], ["/sparkdream.commons.v1.MsgUpdatePolicyPermissions", tx_1.MsgUpdatePolicyPermissions], ["/sparkdream.commons.v1.MsgDeletePolicyPermissions", tx_1.MsgDeletePolicyPermissions], ["/sparkdream.commons.v1.MsgRegisterGroup", tx_1.MsgRegisterGroup], ["/sparkdream.commons.v1.MsgRenewGroup", tx_1.MsgRenewGroup], ["/sparkdream.commons.v1.MsgUpdateGroupMembers", tx_1.MsgUpdateGroupMembers], ["/sparkdream.commons.v1.MsgUpdateGroupConfig", tx_1.MsgUpdateGroupConfig], ["/sparkdream.commons.v1.MsgForceUpgrade", tx_1.MsgForceUpgrade], ["/sparkdream.commons.v1.MsgDeleteGroup", tx_1.MsgDeleteGroup], ["/sparkdream.commons.v1.MsgVetoGroupProposals", tx_1.MsgVetoGroupProposals], ["/sparkdream.commons.v1.MsgSubmitProposal", tx_1.MsgSubmitProposal], ["/sparkdream.commons.v1.MsgVoteProposal", tx_1.MsgVoteProposal], ["/sparkdream.commons.v1.MsgExecuteProposal", tx_1.MsgExecuteProposal], ["/sparkdream.commons.v1.MsgSubmitAnonymousProposal", tx_1.MsgSubmitAnonymousProposal], ["/sparkdream.commons.v1.MsgAnonymousVoteProposal", tx_1.MsgAnonymousVoteProposal], ["/sparkdream.commons.v1.MsgCreateCategory", tx_1.MsgCreateCategory], ["/sparkdream.commons.v1.MsgDeleteCategory", tx_1.MsgDeleteCategory]];
|
|
5
|
+
exports.registry = [["/sparkdream.commons.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.commons.v1.MsgSpendFromCommons", tx_1.MsgSpendFromCommons], ["/sparkdream.commons.v1.MsgEmergencyCancelGovProposal", tx_1.MsgEmergencyCancelGovProposal], ["/sparkdream.commons.v1.MsgCreatePolicyPermissions", tx_1.MsgCreatePolicyPermissions], ["/sparkdream.commons.v1.MsgUpdatePolicyPermissions", tx_1.MsgUpdatePolicyPermissions], ["/sparkdream.commons.v1.MsgDeletePolicyPermissions", tx_1.MsgDeletePolicyPermissions], ["/sparkdream.commons.v1.MsgRegisterGroup", tx_1.MsgRegisterGroup], ["/sparkdream.commons.v1.MsgRenewGroup", tx_1.MsgRenewGroup], ["/sparkdream.commons.v1.MsgUpdateGroupMembers", tx_1.MsgUpdateGroupMembers], ["/sparkdream.commons.v1.MsgUpdateGroupConfig", tx_1.MsgUpdateGroupConfig], ["/sparkdream.commons.v1.MsgForceUpgrade", tx_1.MsgForceUpgrade], ["/sparkdream.commons.v1.MsgDeleteGroup", tx_1.MsgDeleteGroup], ["/sparkdream.commons.v1.MsgVetoGroupProposals", tx_1.MsgVetoGroupProposals], ["/sparkdream.commons.v1.MsgSubmitProposal", tx_1.MsgSubmitProposal], ["/sparkdream.commons.v1.MsgVoteProposal", tx_1.MsgVoteProposal], ["/sparkdream.commons.v1.MsgExecuteProposal", tx_1.MsgExecuteProposal], ["/sparkdream.commons.v1.MsgSubmitAnonymousProposal", tx_1.MsgSubmitAnonymousProposal], ["/sparkdream.commons.v1.MsgAnonymousVoteProposal", tx_1.MsgAnonymousVoteProposal], ["/sparkdream.commons.v1.MsgCreateCategory", tx_1.MsgCreateCategory], ["/sparkdream.commons.v1.MsgDeleteCategory", tx_1.MsgDeleteCategory], ["/sparkdream.commons.v1.MsgScheduleRecurringSpend", tx_1.MsgScheduleRecurringSpend], ["/sparkdream.commons.v1.MsgCancelRecurringSpend", tx_1.MsgCancelRecurringSpend], ["/sparkdream.commons.v1.MsgClaimRecurringSpend", tx_1.MsgClaimRecurringSpend], ["/sparkdream.commons.v1.MsgDeclineRecurringSpend", tx_1.MsgDeclineRecurringSpend]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -130,6 +130,30 @@ exports.MessageComposer = {
|
|
|
130
130
|
typeUrl: "/sparkdream.commons.v1.MsgDeleteCategory",
|
|
131
131
|
value: tx_1.MsgDeleteCategory.encode(value).finish()
|
|
132
132
|
};
|
|
133
|
+
},
|
|
134
|
+
scheduleRecurringSpend(value) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/sparkdream.commons.v1.MsgScheduleRecurringSpend",
|
|
137
|
+
value: tx_1.MsgScheduleRecurringSpend.encode(value).finish()
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
cancelRecurringSpend(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/sparkdream.commons.v1.MsgCancelRecurringSpend",
|
|
143
|
+
value: tx_1.MsgCancelRecurringSpend.encode(value).finish()
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
claimRecurringSpend(value) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/sparkdream.commons.v1.MsgClaimRecurringSpend",
|
|
149
|
+
value: tx_1.MsgClaimRecurringSpend.encode(value).finish()
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
declineRecurringSpend(value) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/sparkdream.commons.v1.MsgDeclineRecurringSpend",
|
|
155
|
+
value: tx_1.MsgDeclineRecurringSpend.encode(value).finish()
|
|
156
|
+
};
|
|
133
157
|
}
|
|
134
158
|
},
|
|
135
159
|
withTypeUrl: {
|
|
@@ -252,6 +276,30 @@ exports.MessageComposer = {
|
|
|
252
276
|
typeUrl: "/sparkdream.commons.v1.MsgDeleteCategory",
|
|
253
277
|
value
|
|
254
278
|
};
|
|
279
|
+
},
|
|
280
|
+
scheduleRecurringSpend(value) {
|
|
281
|
+
return {
|
|
282
|
+
typeUrl: "/sparkdream.commons.v1.MsgScheduleRecurringSpend",
|
|
283
|
+
value
|
|
284
|
+
};
|
|
285
|
+
},
|
|
286
|
+
cancelRecurringSpend(value) {
|
|
287
|
+
return {
|
|
288
|
+
typeUrl: "/sparkdream.commons.v1.MsgCancelRecurringSpend",
|
|
289
|
+
value
|
|
290
|
+
};
|
|
291
|
+
},
|
|
292
|
+
claimRecurringSpend(value) {
|
|
293
|
+
return {
|
|
294
|
+
typeUrl: "/sparkdream.commons.v1.MsgClaimRecurringSpend",
|
|
295
|
+
value
|
|
296
|
+
};
|
|
297
|
+
},
|
|
298
|
+
declineRecurringSpend(value) {
|
|
299
|
+
return {
|
|
300
|
+
typeUrl: "/sparkdream.commons.v1.MsgDeclineRecurringSpend",
|
|
301
|
+
value
|
|
302
|
+
};
|
|
255
303
|
}
|
|
256
304
|
},
|
|
257
305
|
fromPartial: {
|
|
@@ -374,6 +422,30 @@ exports.MessageComposer = {
|
|
|
374
422
|
typeUrl: "/sparkdream.commons.v1.MsgDeleteCategory",
|
|
375
423
|
value: tx_1.MsgDeleteCategory.fromPartial(value)
|
|
376
424
|
};
|
|
425
|
+
},
|
|
426
|
+
scheduleRecurringSpend(value) {
|
|
427
|
+
return {
|
|
428
|
+
typeUrl: "/sparkdream.commons.v1.MsgScheduleRecurringSpend",
|
|
429
|
+
value: tx_1.MsgScheduleRecurringSpend.fromPartial(value)
|
|
430
|
+
};
|
|
431
|
+
},
|
|
432
|
+
cancelRecurringSpend(value) {
|
|
433
|
+
return {
|
|
434
|
+
typeUrl: "/sparkdream.commons.v1.MsgCancelRecurringSpend",
|
|
435
|
+
value: tx_1.MsgCancelRecurringSpend.fromPartial(value)
|
|
436
|
+
};
|
|
437
|
+
},
|
|
438
|
+
claimRecurringSpend(value) {
|
|
439
|
+
return {
|
|
440
|
+
typeUrl: "/sparkdream.commons.v1.MsgClaimRecurringSpend",
|
|
441
|
+
value: tx_1.MsgClaimRecurringSpend.fromPartial(value)
|
|
442
|
+
};
|
|
443
|
+
},
|
|
444
|
+
declineRecurringSpend(value) {
|
|
445
|
+
return {
|
|
446
|
+
typeUrl: "/sparkdream.commons.v1.MsgDeclineRecurringSpend",
|
|
447
|
+
value: tx_1.MsgDeclineRecurringSpend.fromPartial(value)
|
|
448
|
+
};
|
|
377
449
|
}
|
|
378
450
|
}
|
|
379
451
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgSpendFromCommons, MsgSpendFromCommonsResponse, MsgEmergencyCancelGovProposal, MsgEmergencyCancelGovProposalResponse, MsgCreatePolicyPermissions, MsgCreatePolicyPermissionsResponse, MsgUpdatePolicyPermissions, MsgUpdatePolicyPermissionsResponse, MsgDeletePolicyPermissions, MsgDeletePolicyPermissionsResponse, MsgRegisterGroup, MsgRegisterGroupResponse, MsgRenewGroup, MsgRenewGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupConfig, MsgUpdateGroupConfigResponse, MsgForceUpgrade, MsgForceUpgradeResponse, MsgDeleteGroup, MsgDeleteGroupResponse, MsgVetoGroupProposals, MsgVetoGroupProposalsResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgVoteProposal, MsgVoteProposalResponse, MsgExecuteProposal, MsgExecuteProposalResponse, MsgSubmitAnonymousProposal, MsgSubmitAnonymousProposalResponse, MsgAnonymousVoteProposal, MsgAnonymousVoteProposalResponse, MsgCreateCategory, MsgCreateCategoryResponse, MsgDeleteCategory, MsgDeleteCategoryResponse } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgSpendFromCommons, MsgSpendFromCommonsResponse, MsgEmergencyCancelGovProposal, MsgEmergencyCancelGovProposalResponse, MsgCreatePolicyPermissions, MsgCreatePolicyPermissionsResponse, MsgUpdatePolicyPermissions, MsgUpdatePolicyPermissionsResponse, MsgDeletePolicyPermissions, MsgDeletePolicyPermissionsResponse, MsgRegisterGroup, MsgRegisterGroupResponse, MsgRenewGroup, MsgRenewGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupConfig, MsgUpdateGroupConfigResponse, MsgForceUpgrade, MsgForceUpgradeResponse, MsgDeleteGroup, MsgDeleteGroupResponse, MsgVetoGroupProposals, MsgVetoGroupProposalsResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgVoteProposal, MsgVoteProposalResponse, MsgExecuteProposal, MsgExecuteProposalResponse, MsgSubmitAnonymousProposal, MsgSubmitAnonymousProposalResponse, MsgAnonymousVoteProposal, MsgAnonymousVoteProposalResponse, MsgCreateCategory, MsgCreateCategoryResponse, MsgDeleteCategory, MsgDeleteCategoryResponse, MsgScheduleRecurringSpend, MsgScheduleRecurringSpendResponse, MsgCancelRecurringSpend, MsgCancelRecurringSpendResponse, MsgClaimRecurringSpend, MsgClaimRecurringSpendResponse, MsgDeclineRecurringSpend, MsgDeclineRecurringSpendResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/**
|
|
@@ -53,6 +53,30 @@ export interface Msg {
|
|
|
53
53
|
*/
|
|
54
54
|
createCategory(request: MsgCreateCategory): Promise<MsgCreateCategoryResponse>;
|
|
55
55
|
deleteCategory(request: MsgDeleteCategory): Promise<MsgDeleteCategoryResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* ScheduleRecurringSpend schedules a council-approved recurring
|
|
58
|
+
* disbursement. The signer must be the council policy address (so it is
|
|
59
|
+
* wrapped in a MsgSubmitProposal).
|
|
60
|
+
*/
|
|
61
|
+
scheduleRecurringSpend(request: MsgScheduleRecurringSpend): Promise<MsgScheduleRecurringSpendResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* CancelRecurringSpend cancels an active recurring spend schedule. The
|
|
64
|
+
* signer must be the same council policy address that scheduled it,
|
|
65
|
+
* requiring a council proposal.
|
|
66
|
+
*/
|
|
67
|
+
cancelRecurringSpend(request: MsgCancelRecurringSpend): Promise<MsgCancelRecurringSpendResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* ClaimRecurringSpend disburses one period of an active recurring
|
|
70
|
+
* spend. The signer must be the recipient. Each claim advances the
|
|
71
|
+
* schedule's logical clock by exactly one period.
|
|
72
|
+
*/
|
|
73
|
+
claimRecurringSpend(request: MsgClaimRecurringSpend): Promise<MsgClaimRecurringSpendResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* DeclineRecurringSpend lets the recipient unilaterally opt out of
|
|
76
|
+
* future claims on a schedule (graceful exit when leaving a role). The
|
|
77
|
+
* signer must be the recipient.
|
|
78
|
+
*/
|
|
79
|
+
declineRecurringSpend(request: MsgDeclineRecurringSpend): Promise<MsgDeclineRecurringSpendResponse>;
|
|
56
80
|
}
|
|
57
81
|
export declare class MsgClientImpl implements Msg {
|
|
58
82
|
private readonly rpc;
|
|
@@ -77,5 +101,9 @@ export declare class MsgClientImpl implements Msg {
|
|
|
77
101
|
anonymousVoteProposal: (request: MsgAnonymousVoteProposal) => Promise<MsgAnonymousVoteProposalResponse>;
|
|
78
102
|
createCategory: (request: MsgCreateCategory) => Promise<MsgCreateCategoryResponse>;
|
|
79
103
|
deleteCategory: (request: MsgDeleteCategory) => Promise<MsgDeleteCategoryResponse>;
|
|
104
|
+
scheduleRecurringSpend: (request: MsgScheduleRecurringSpend) => Promise<MsgScheduleRecurringSpendResponse>;
|
|
105
|
+
cancelRecurringSpend: (request: MsgCancelRecurringSpend) => Promise<MsgCancelRecurringSpendResponse>;
|
|
106
|
+
claimRecurringSpend: (request: MsgClaimRecurringSpend) => Promise<MsgClaimRecurringSpendResponse>;
|
|
107
|
+
declineRecurringSpend: (request: MsgDeclineRecurringSpend) => Promise<MsgDeclineRecurringSpendResponse>;
|
|
80
108
|
}
|
|
81
109
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -132,6 +132,38 @@ class MsgClientImpl {
|
|
|
132
132
|
const promise = this.rpc.request("sparkdream.commons.v1.Msg", "DeleteCategory", data);
|
|
133
133
|
return promise.then(data => tx_1.MsgDeleteCategoryResponse.decode(new binary_1.BinaryReader(data)));
|
|
134
134
|
};
|
|
135
|
+
/* ScheduleRecurringSpend schedules a council-approved recurring
|
|
136
|
+
disbursement. The signer must be the council policy address (so it is
|
|
137
|
+
wrapped in a MsgSubmitProposal). */
|
|
138
|
+
scheduleRecurringSpend = async (request) => {
|
|
139
|
+
const data = tx_1.MsgScheduleRecurringSpend.encode(request).finish();
|
|
140
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Msg", "ScheduleRecurringSpend", data);
|
|
141
|
+
return promise.then(data => tx_1.MsgScheduleRecurringSpendResponse.decode(new binary_1.BinaryReader(data)));
|
|
142
|
+
};
|
|
143
|
+
/* CancelRecurringSpend cancels an active recurring spend schedule. The
|
|
144
|
+
signer must be the same council policy address that scheduled it,
|
|
145
|
+
requiring a council proposal. */
|
|
146
|
+
cancelRecurringSpend = async (request) => {
|
|
147
|
+
const data = tx_1.MsgCancelRecurringSpend.encode(request).finish();
|
|
148
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Msg", "CancelRecurringSpend", data);
|
|
149
|
+
return promise.then(data => tx_1.MsgCancelRecurringSpendResponse.decode(new binary_1.BinaryReader(data)));
|
|
150
|
+
};
|
|
151
|
+
/* ClaimRecurringSpend disburses one period of an active recurring
|
|
152
|
+
spend. The signer must be the recipient. Each claim advances the
|
|
153
|
+
schedule's logical clock by exactly one period. */
|
|
154
|
+
claimRecurringSpend = async (request) => {
|
|
155
|
+
const data = tx_1.MsgClaimRecurringSpend.encode(request).finish();
|
|
156
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Msg", "ClaimRecurringSpend", data);
|
|
157
|
+
return promise.then(data => tx_1.MsgClaimRecurringSpendResponse.decode(new binary_1.BinaryReader(data)));
|
|
158
|
+
};
|
|
159
|
+
/* DeclineRecurringSpend lets the recipient unilaterally opt out of
|
|
160
|
+
future claims on a schedule (graceful exit when leaving a role). The
|
|
161
|
+
signer must be the recipient. */
|
|
162
|
+
declineRecurringSpend = async (request) => {
|
|
163
|
+
const data = tx_1.MsgDeclineRecurringSpend.encode(request).finish();
|
|
164
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Msg", "DeclineRecurringSpend", data);
|
|
165
|
+
return promise.then(data => tx_1.MsgDeclineRecurringSpendResponse.decode(new binary_1.BinaryReader(data)));
|
|
166
|
+
};
|
|
135
167
|
}
|
|
136
168
|
exports.MsgClientImpl = MsgClientImpl;
|
|
137
169
|
const createClientImpl = (rpc) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./params";
|
|
2
|
-
import { Peer, PeerAmino, PeerPolicy, PeerPolicyAmino,
|
|
2
|
+
import { Peer, PeerAmino, PeerPolicy, PeerPolicyAmino, BridgeBinding, BridgeBindingAmino, FederatedContent, FederatedContentAmino, IdentityLink, IdentityLinkAmino, ReputationAttestation, ReputationAttestationAmino, OutboundAttestation, OutboundAttestationAmino, VerificationRecord, VerificationRecordAmino } from "./types";
|
|
3
3
|
import { VerifierActivity, VerifierActivityAmino } from "./verifier_activity";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
5
|
import { DeepPartial } from "../../../helpers";
|
|
@@ -17,7 +17,7 @@ export interface GenesisState {
|
|
|
17
17
|
portId: string;
|
|
18
18
|
peers: Peer[];
|
|
19
19
|
peerPolicies: PeerPolicy[];
|
|
20
|
-
|
|
20
|
+
bridgeBindings: BridgeBinding[];
|
|
21
21
|
federatedContent: FederatedContent[];
|
|
22
22
|
identityLinks: IdentityLink[];
|
|
23
23
|
reputationAttestations: ReputationAttestation[];
|
|
@@ -45,7 +45,7 @@ export interface GenesisStateAmino {
|
|
|
45
45
|
port_id?: string;
|
|
46
46
|
peers?: PeerAmino[];
|
|
47
47
|
peer_policies?: PeerPolicyAmino[];
|
|
48
|
-
|
|
48
|
+
bridge_bindings?: BridgeBindingAmino[];
|
|
49
49
|
federated_content?: FederatedContentAmino[];
|
|
50
50
|
identity_links?: IdentityLinkAmino[];
|
|
51
51
|
reputation_attestations?: ReputationAttestationAmino[];
|
|
@@ -12,7 +12,7 @@ function createBaseGenesisState() {
|
|
|
12
12
|
portId: "",
|
|
13
13
|
peers: [],
|
|
14
14
|
peerPolicies: [],
|
|
15
|
-
|
|
15
|
+
bridgeBindings: [],
|
|
16
16
|
federatedContent: [],
|
|
17
17
|
identityLinks: [],
|
|
18
18
|
reputationAttestations: [],
|
|
@@ -44,8 +44,8 @@ exports.GenesisState = {
|
|
|
44
44
|
for (const v of message.peerPolicies) {
|
|
45
45
|
types_1.PeerPolicy.encode(v, writer.uint32(34).fork()).ldelim();
|
|
46
46
|
}
|
|
47
|
-
for (const v of message.
|
|
48
|
-
types_1.
|
|
47
|
+
for (const v of message.bridgeBindings) {
|
|
48
|
+
types_1.BridgeBinding.encode(v, writer.uint32(42).fork()).ldelim();
|
|
49
49
|
}
|
|
50
50
|
for (const v of message.federatedContent) {
|
|
51
51
|
types_1.FederatedContent.encode(v, writer.uint32(50).fork()).ldelim();
|
|
@@ -93,7 +93,7 @@ exports.GenesisState = {
|
|
|
93
93
|
message.peerPolicies.push(types_1.PeerPolicy.decode(reader, reader.uint32()));
|
|
94
94
|
break;
|
|
95
95
|
case 5:
|
|
96
|
-
message.
|
|
96
|
+
message.bridgeBindings.push(types_1.BridgeBinding.decode(reader, reader.uint32()));
|
|
97
97
|
break;
|
|
98
98
|
case 6:
|
|
99
99
|
message.federatedContent.push(types_1.FederatedContent.decode(reader, reader.uint32()));
|
|
@@ -132,7 +132,7 @@ exports.GenesisState = {
|
|
|
132
132
|
message.portId = object.portId ?? "";
|
|
133
133
|
message.peers = object.peers?.map(e => types_1.Peer.fromPartial(e)) || [];
|
|
134
134
|
message.peerPolicies = object.peerPolicies?.map(e => types_1.PeerPolicy.fromPartial(e)) || [];
|
|
135
|
-
message.
|
|
135
|
+
message.bridgeBindings = object.bridgeBindings?.map(e => types_1.BridgeBinding.fromPartial(e)) || [];
|
|
136
136
|
message.federatedContent = object.federatedContent?.map(e => types_1.FederatedContent.fromPartial(e)) || [];
|
|
137
137
|
message.identityLinks = object.identityLinks?.map(e => types_1.IdentityLink.fromPartial(e)) || [];
|
|
138
138
|
message.reputationAttestations = object.reputationAttestations?.map(e => types_1.ReputationAttestation.fromPartial(e)) || [];
|
|
@@ -153,7 +153,7 @@ exports.GenesisState = {
|
|
|
153
153
|
}
|
|
154
154
|
message.peers = object.peers?.map(e => types_1.Peer.fromAmino(e)) || [];
|
|
155
155
|
message.peerPolicies = object.peer_policies?.map(e => types_1.PeerPolicy.fromAmino(e)) || [];
|
|
156
|
-
message.
|
|
156
|
+
message.bridgeBindings = object.bridge_bindings?.map(e => types_1.BridgeBinding.fromAmino(e)) || [];
|
|
157
157
|
message.federatedContent = object.federated_content?.map(e => types_1.FederatedContent.fromAmino(e)) || [];
|
|
158
158
|
message.identityLinks = object.identity_links?.map(e => types_1.IdentityLink.fromAmino(e)) || [];
|
|
159
159
|
message.reputationAttestations = object.reputation_attestations?.map(e => types_1.ReputationAttestation.fromAmino(e)) || [];
|
|
@@ -184,11 +184,11 @@ exports.GenesisState = {
|
|
|
184
184
|
else {
|
|
185
185
|
obj.peer_policies = message.peerPolicies;
|
|
186
186
|
}
|
|
187
|
-
if (message.
|
|
188
|
-
obj.
|
|
187
|
+
if (message.bridgeBindings) {
|
|
188
|
+
obj.bridge_bindings = message.bridgeBindings.map(e => e ? types_1.BridgeBinding.toAmino(e) : undefined);
|
|
189
189
|
}
|
|
190
190
|
else {
|
|
191
|
-
obj.
|
|
191
|
+
obj.bridge_bindings = message.bridgeBindings;
|
|
192
192
|
}
|
|
193
193
|
if (message.federatedContent) {
|
|
194
194
|
obj.federated_content = message.federatedContent.map(e => e ? types_1.FederatedContent.toAmino(e) : undefined);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
1
|
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
3
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
3
|
import { DeepPartial } from "../../../helpers";
|
|
@@ -10,12 +9,18 @@ import { DeepPartial } from "../../../helpers";
|
|
|
10
9
|
*/
|
|
11
10
|
export interface Params {
|
|
12
11
|
/**
|
|
13
|
-
* Bridge operator requirements
|
|
12
|
+
* Bridge operator requirements. Bond minimums, revocation lifecycle,
|
|
13
|
+
* and unbonding period live on x/service ServiceTypeConfig per
|
|
14
|
+
* service_type (federation-bridge-activitypub / federation-bridge-atproto).
|
|
15
|
+
*
|
|
16
|
+
* max_bridges_per_peer is intentionally KEPT as a kill-switch (Decision 6):
|
|
17
|
+
* default 1000 leaves it effectively no-op against any realistic legit
|
|
18
|
+
* use. The real defenses against runaway registration are the
|
|
19
|
+
* service.MinBond economic gate, content-hash deduplication, and per-
|
|
20
|
+
* peer rate limits. Gov may dial it down without a chain upgrade if
|
|
21
|
+
* some unknown-unknown materializes. It is NOT a normal policy lever.
|
|
14
22
|
*/
|
|
15
|
-
minBridgeStake: Coin;
|
|
16
23
|
maxBridgesPerPeer: bigint;
|
|
17
|
-
bridgeRevocationCooldown: Duration;
|
|
18
|
-
bridgeUnbondingPeriod: Duration;
|
|
19
24
|
/**
|
|
20
25
|
* Content types
|
|
21
26
|
*/
|
|
@@ -71,7 +76,13 @@ export interface Params {
|
|
|
71
76
|
verifierSlashAmount: string;
|
|
72
77
|
verificationWindow: Duration;
|
|
73
78
|
challengeWindow: Duration;
|
|
74
|
-
|
|
79
|
+
/**
|
|
80
|
+
* challenge_fee_amount is the per-challenge fee escrowed by a verifier
|
|
81
|
+
* challenger, in bond-denom micro-units. Denom is resolved at runtime
|
|
82
|
+
* from x/identity (see x-identity-spec.md). Escalating multiplier in
|
|
83
|
+
* msg_server_challenge_verification.go applies to this amount.
|
|
84
|
+
*/
|
|
85
|
+
challengeFeeAmount: string;
|
|
75
86
|
challengeJuryDeadline: Duration;
|
|
76
87
|
verifierDemotionCooldown: Duration;
|
|
77
88
|
verifierOverturnBaseCooldown: Duration;
|
|
@@ -87,8 +98,22 @@ export interface Params {
|
|
|
87
98
|
arbiterQuorum: number;
|
|
88
99
|
arbiterResolutionWindow: Duration;
|
|
89
100
|
arbiterEscalationWindow: Duration;
|
|
90
|
-
|
|
101
|
+
/**
|
|
102
|
+
* escalation_fee_amount is the fee escrowed by a party escalating a
|
|
103
|
+
* challenge to a system report, in bond-denom micro-units. Denom is
|
|
104
|
+
* resolved at runtime from x/identity (see x-identity-spec.md).
|
|
105
|
+
*/
|
|
106
|
+
escalationFeeAmount: string;
|
|
91
107
|
challengeCooldown: Duration;
|
|
108
|
+
/**
|
|
109
|
+
* verifier_unbond_cooldown is the period a verifier's bond stays locked
|
|
110
|
+
* and slashable after MsgUnbondRole. During the cooldown the BondedRole's
|
|
111
|
+
* status is UNBONDING and federation action handlers refuse authority.
|
|
112
|
+
* Propagated to x/rep BondedRoleConfig via SyncVerifierBondedRoleConfig.
|
|
113
|
+
* Mirrors bridge_unbonding_period — verifier and bridge operator both
|
|
114
|
+
* face a 14-day slashable window after exit-of-role intent.
|
|
115
|
+
*/
|
|
116
|
+
verifierUnbondCooldown: Duration;
|
|
92
117
|
}
|
|
93
118
|
export interface ParamsProtoMsg {
|
|
94
119
|
typeUrl: "/sparkdream.federation.v1.Params";
|
|
@@ -102,12 +127,18 @@ export interface ParamsProtoMsg {
|
|
|
102
127
|
*/
|
|
103
128
|
export interface ParamsAmino {
|
|
104
129
|
/**
|
|
105
|
-
* Bridge operator requirements
|
|
130
|
+
* Bridge operator requirements. Bond minimums, revocation lifecycle,
|
|
131
|
+
* and unbonding period live on x/service ServiceTypeConfig per
|
|
132
|
+
* service_type (federation-bridge-activitypub / federation-bridge-atproto).
|
|
133
|
+
*
|
|
134
|
+
* max_bridges_per_peer is intentionally KEPT as a kill-switch (Decision 6):
|
|
135
|
+
* default 1000 leaves it effectively no-op against any realistic legit
|
|
136
|
+
* use. The real defenses against runaway registration are the
|
|
137
|
+
* service.MinBond economic gate, content-hash deduplication, and per-
|
|
138
|
+
* peer rate limits. Gov may dial it down without a chain upgrade if
|
|
139
|
+
* some unknown-unknown materializes. It is NOT a normal policy lever.
|
|
106
140
|
*/
|
|
107
|
-
min_bridge_stake?: CoinAmino;
|
|
108
141
|
max_bridges_per_peer?: string;
|
|
109
|
-
bridge_revocation_cooldown?: DurationAmino;
|
|
110
|
-
bridge_unbonding_period?: DurationAmino;
|
|
111
142
|
/**
|
|
112
143
|
* Content types
|
|
113
144
|
*/
|
|
@@ -163,7 +194,13 @@ export interface ParamsAmino {
|
|
|
163
194
|
verifier_slash_amount?: string;
|
|
164
195
|
verification_window?: DurationAmino;
|
|
165
196
|
challenge_window?: DurationAmino;
|
|
166
|
-
|
|
197
|
+
/**
|
|
198
|
+
* challenge_fee_amount is the per-challenge fee escrowed by a verifier
|
|
199
|
+
* challenger, in bond-denom micro-units. Denom is resolved at runtime
|
|
200
|
+
* from x/identity (see x-identity-spec.md). Escalating multiplier in
|
|
201
|
+
* msg_server_challenge_verification.go applies to this amount.
|
|
202
|
+
*/
|
|
203
|
+
challenge_fee_amount?: string;
|
|
167
204
|
challenge_jury_deadline?: DurationAmino;
|
|
168
205
|
verifier_demotion_cooldown?: DurationAmino;
|
|
169
206
|
verifier_overturn_base_cooldown?: DurationAmino;
|
|
@@ -179,8 +216,22 @@ export interface ParamsAmino {
|
|
|
179
216
|
arbiter_quorum?: number;
|
|
180
217
|
arbiter_resolution_window?: DurationAmino;
|
|
181
218
|
arbiter_escalation_window?: DurationAmino;
|
|
182
|
-
|
|
219
|
+
/**
|
|
220
|
+
* escalation_fee_amount is the fee escrowed by a party escalating a
|
|
221
|
+
* challenge to a system report, in bond-denom micro-units. Denom is
|
|
222
|
+
* resolved at runtime from x/identity (see x-identity-spec.md).
|
|
223
|
+
*/
|
|
224
|
+
escalation_fee_amount?: string;
|
|
183
225
|
challenge_cooldown?: DurationAmino;
|
|
226
|
+
/**
|
|
227
|
+
* verifier_unbond_cooldown is the period a verifier's bond stays locked
|
|
228
|
+
* and slashable after MsgUnbondRole. During the cooldown the BondedRole's
|
|
229
|
+
* status is UNBONDING and federation action handlers refuse authority.
|
|
230
|
+
* Propagated to x/rep BondedRoleConfig via SyncVerifierBondedRoleConfig.
|
|
231
|
+
* Mirrors bridge_unbonding_period — verifier and bridge operator both
|
|
232
|
+
* face a 14-day slashable window after exit-of-role intent.
|
|
233
|
+
*/
|
|
234
|
+
verifier_unbond_cooldown?: DurationAmino;
|
|
184
235
|
}
|
|
185
236
|
export interface ParamsAminoMsg {
|
|
186
237
|
type: "sparkdream/x/federation/Params";
|