@sparkdreamnft/sparkdreamjs 0.0.47 → 0.0.49
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/amino-schema.d.ts +86 -0
- package/amino-schema.js +1 -1
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +1 -1
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/v1/query.js +125 -0
- package/esm/sparkdream/artifact/v1/query.lcd.js +7 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/artifact/v1/tx.js +13 -1
- package/esm/sparkdream/artifact/v1/types.js +25 -1
- package/esm/sparkdream/blog/v1/genesis.js +97 -1
- package/esm/sparkdream/bundle.js +447 -439
- package/esm/sparkdream/collect/v1/genesis.js +308 -3
- package/esm/sparkdream/collect/v1/tx.js +170 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/collect/v1/types.js +51 -3
- package/esm/sparkdream/commons/v1/genesis.js +756 -27
- package/esm/sparkdream/commons/v1/group.js +130 -2
- package/esm/sparkdream/commons/v1/poll.js +281 -0
- package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
- package/esm/sparkdream/commons/v1/query.js +759 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
- package/esm/sparkdream/commons/v1/tx.js +730 -4
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
- package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
- package/esm/sparkdream/federation/v1/genesis.js +212 -2
- package/esm/sparkdream/federation/v1/tx.js +196 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +20 -2
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/v1/types.js +194 -2
- package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/esm/sparkdream/forum/v1/genesis.js +428 -1
- package/esm/sparkdream/forum/v1/params.js +182 -254
- package/esm/sparkdream/forum/v1/query.js +112 -7
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
- package/esm/sparkdream/futarchy/v1/market.js +37 -1
- package/esm/sparkdream/futarchy/v1/tx.js +13 -1
- package/esm/sparkdream/name/v1/dispute.js +13 -1
- package/esm/sparkdream/rep/v1/genesis.js +272 -2
- package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
- package/esm/sparkdream/rep/v1/invitation.js +25 -1
- package/esm/sparkdream/rep/v1/member_report.js +335 -1
- package/esm/sparkdream/rep/v1/migration.js +27 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/query.js +304 -1
- package/esm/sparkdream/rep/v1/query.lcd.js +19 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +22 -1
- package/esm/sparkdream/rep/v1/stake.js +10 -0
- package/esm/sparkdream/rep/v1/tx.js +372 -14
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
- package/esm/sparkdream/reveal/v1/types.js +9 -21
- package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/esm/sparkdream/season/v1/genesis.js +125 -1
- package/esm/sparkdream/season/v1/guild_invite.js +13 -1
- package/esm/sparkdream/season/v1/guild_membership.js +13 -1
- package/esm/sparkdream/season/v1/member_profile.js +13 -1
- package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/esm/sparkdream/season/v1/nomination.js +37 -1
- package/esm/sparkdream/season/v1/query.js +26 -35
- package/esm/sparkdream/season/v1/query.lcd.js +1 -1
- package/esm/sparkdream/season/v1/quest.js +13 -1
- package/esm/sparkdream/season/v1/season.js +13 -1
- package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/esm/sparkdream/service/v1/genesis.js +126 -1
- package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/esm/sparkdream/session/v1/genesis.js +303 -1
- package/esm/sparkdream/session/v1/params.js +24 -0
- package/esm/sparkdream/shield/v1/genesis.js +56 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +202 -1
- package/esm/sparkdream/vault/v1/genesis.js +25 -1
- package/esm/sparkdream/vault/v1/query.js +15 -2
- package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
- package/esm/sparkdream/vault/v1/tx.js +301 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/v1/query.d.ts +86 -0
- package/sparkdream/artifact/v1/query.js +126 -1
- package/sparkdream/artifact/v1/query.lcd.d.ts +2 -1
- package/sparkdream/artifact/v1/query.lcd.js +7 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +11 -0
- package/sparkdream/artifact/v1/tx.d.ts +14 -0
- package/sparkdream/artifact/v1/tx.js +13 -1
- package/sparkdream/artifact/v1/types.d.ts +14 -0
- package/sparkdream/artifact/v1/types.js +25 -1
- package/sparkdream/blog/v1/genesis.d.ts +60 -0
- package/sparkdream/blog/v1/genesis.js +98 -2
- package/sparkdream/bundle.d.ts +17133 -16131
- package/sparkdream/bundle.js +447 -439
- package/sparkdream/collect/v1/genesis.d.ts +186 -0
- package/sparkdream/collect/v1/genesis.js +309 -4
- package/sparkdream/collect/v1/tx.d.ts +100 -0
- package/sparkdream/collect/v1/tx.js +171 -1
- package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
- package/sparkdream/collect/v1/tx.registry.js +19 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/collect/v1/types.d.ts +52 -0
- package/sparkdream/collect/v1/types.js +51 -3
- package/sparkdream/commons/v1/genesis.d.ts +443 -22
- package/sparkdream/commons/v1/genesis.js +756 -27
- package/sparkdream/commons/v1/group.d.ts +75 -0
- package/sparkdream/commons/v1/group.js +133 -3
- package/sparkdream/commons/v1/poll.d.ts +135 -0
- package/sparkdream/commons/v1/poll.js +286 -0
- package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
- package/sparkdream/commons/v1/poll_vote.js +110 -0
- package/sparkdream/commons/v1/query.d.ts +465 -0
- package/sparkdream/commons/v1/query.js +760 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
- package/sparkdream/commons/v1/query.lcd.js +46 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
- package/sparkdream/commons/v1/tx.d.ts +475 -1
- package/sparkdream/commons/v1/tx.js +731 -4
- 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 +13 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
- package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
- package/sparkdream/commons/v1/voter_tree.js +211 -0
- package/sparkdream/federation/v1/genesis.d.ts +136 -1
- package/sparkdream/federation/v1/genesis.js +212 -2
- package/sparkdream/federation/v1/tx.d.ts +138 -0
- package/sparkdream/federation/v1/tx.js +198 -1
- package/sparkdream/federation/v1/tx.registry.d.ts +13 -1
- package/sparkdream/federation/v1/tx.registry.js +19 -1
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/federation/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/v1/types.d.ts +166 -0
- package/sparkdream/federation/v1/types.js +197 -3
- package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
- package/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/sparkdream/forum/v1/genesis.d.ts +256 -0
- package/sparkdream/forum/v1/genesis.js +429 -2
- package/sparkdream/forum/v1/params.d.ts +0 -30
- package/sparkdream/forum/v1/params.js +182 -254
- package/sparkdream/forum/v1/query.d.ts +70 -0
- package/sparkdream/forum/v1/query.js +112 -7
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
- package/sparkdream/futarchy/v1/market.d.ts +32 -0
- package/sparkdream/futarchy/v1/market.js +37 -1
- package/sparkdream/futarchy/v1/tx.d.ts +10 -0
- package/sparkdream/futarchy/v1/tx.js +13 -1
- package/sparkdream/name/v1/dispute.d.ts +14 -0
- package/sparkdream/name/v1/dispute.js +13 -1
- package/sparkdream/rep/v1/genesis.d.ts +151 -1
- package/sparkdream/rep/v1/genesis.js +272 -2
- package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
- package/sparkdream/rep/v1/initiative_review.js +13 -1
- package/sparkdream/rep/v1/invitation.d.ts +32 -0
- package/sparkdream/rep/v1/invitation.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +215 -0
- package/sparkdream/rep/v1/member_report.js +336 -2
- package/sparkdream/rep/v1/migration.d.ts +34 -1
- package/sparkdream/rep/v1/migration.js +27 -2
- package/sparkdream/rep/v1/params.d.ts +18 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/query.d.ts +187 -1
- package/sparkdream/rep/v1/query.js +304 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
- package/sparkdream/rep/v1/query.lcd.js +19 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +16 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +21 -0
- package/sparkdream/rep/v1/stake.d.ts +5 -0
- package/sparkdream/rep/v1/stake.js +10 -0
- package/sparkdream/rep/v1/tx.d.ts +340 -39
- package/sparkdream/rep/v1/tx.js +375 -17
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
- package/sparkdream/reveal/v1/types.d.ts +0 -8
- package/sparkdream/reveal/v1/types.js +9 -21
- package/sparkdream/rpc.query.d.ts +8 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
- package/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/sparkdream/season/v1/genesis.d.ts +75 -0
- package/sparkdream/season/v1/genesis.js +126 -2
- package/sparkdream/season/v1/guild_invite.d.ts +10 -0
- package/sparkdream/season/v1/guild_invite.js +13 -1
- package/sparkdream/season/v1/guild_membership.d.ts +12 -0
- package/sparkdream/season/v1/guild_membership.js +13 -1
- package/sparkdream/season/v1/member_profile.d.ts +12 -0
- package/sparkdream/season/v1/member_profile.js +13 -1
- package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
- package/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
- package/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/sparkdream/season/v1/nomination.d.ts +32 -0
- package/sparkdream/season/v1/nomination.js +37 -1
- package/sparkdream/season/v1/query.d.ts +10 -6
- package/sparkdream/season/v1/query.js +26 -35
- package/sparkdream/season/v1/query.lcd.js +1 -1
- package/sparkdream/season/v1/quest.d.ts +12 -0
- package/sparkdream/season/v1/quest.js +13 -1
- package/sparkdream/season/v1/season.d.ts +12 -0
- package/sparkdream/season/v1/season.js +13 -1
- package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
- package/sparkdream/season/v1/season_stats_counters.js +124 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
- package/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/sparkdream/service/v1/genesis.d.ts +71 -0
- package/sparkdream/service/v1/genesis.js +127 -2
- package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
- package/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/sparkdream/session/v1/genesis.d.ts +190 -0
- package/sparkdream/session/v1/genesis.js +304 -2
- package/sparkdream/session/v1/params.d.ts +18 -0
- package/sparkdream/session/v1/params.js +24 -0
- package/sparkdream/shield/v1/genesis.d.ts +37 -1
- package/sparkdream/shield/v1/genesis.js +55 -1
- package/sparkdream/shield/v1/params.d.ts +26 -2
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/types.d.ts +122 -0
- package/sparkdream/shield/v1/types.js +203 -2
- package/sparkdream/vault/v1/genesis.d.ts +14 -0
- package/sparkdream/vault/v1/genesis.js +25 -1
- package/sparkdream/vault/v1/query.d.ts +16 -3
- package/sparkdream/vault/v1/query.js +15 -2
- package/sparkdream/vault/v1/query.lcd.js +3 -0
- package/sparkdream/vault/v1/tx.d.ts +219 -0
- package/sparkdream/vault/v1/tx.js +302 -1
- package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
- package/sparkdream/vault/v1/tx.registry.js +37 -1
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
- package/sparkdream/vault/v1/vault_signer.js +15 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./params";
|
|
2
|
-
import { Peer, PeerAmino, PeerPolicy, PeerPolicyAmino, BridgeBinding, BridgeBindingAmino, FederatedContent, FederatedContentAmino, IdentityLink, IdentityLinkAmino, ReputationAttestation, ReputationAttestationAmino, OutboundAttestation, OutboundAttestationAmino, VerificationRecord, VerificationRecordAmino, EscalatedChallenge, EscalatedChallengeAmino, ArbiterHashSubmission, ArbiterHashSubmissionAmino } from "./types";
|
|
2
|
+
import { Peer, PeerAmino, PeerPolicy, PeerPolicyAmino, BridgeBinding, BridgeBindingAmino, FederatedContent, FederatedContentAmino, IdentityLink, IdentityLinkAmino, ReputationAttestation, ReputationAttestationAmino, OutboundAttestation, OutboundAttestationAmino, VerificationRecord, VerificationRecordAmino, EscalatedChallenge, EscalatedChallengeAmino, PendingIdentityChallenge, PendingIdentityChallengeAmino, PeerRemovalState, PeerRemovalStateAmino, ArbiterHashSubmission, ArbiterHashSubmissionAmino } from "./types";
|
|
3
3
|
import { VerifierActivity, VerifierActivityAmino } from "./verifier_activity";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
5
|
import { DeepPartial } from "../../../helpers";
|
|
@@ -57,6 +57,23 @@ export interface GenesisState {
|
|
|
57
57
|
arbiterSubmissions: ArbiterSubmissionEntry[];
|
|
58
58
|
arbiterHashCounts: ArbiterHashCount[];
|
|
59
59
|
nextArbiterAnonSubmissionId: bigint;
|
|
60
|
+
/**
|
|
61
|
+
* Identity challenges received from peers and awaiting the local
|
|
62
|
+
* owner's MsgConfirmIdentityLink. Their expiry and per-peer indexes are
|
|
63
|
+
* rebuilt at import.
|
|
64
|
+
*/
|
|
65
|
+
pendingIdentityChallenges: PendingIdentityChallenge[];
|
|
66
|
+
/**
|
|
67
|
+
* Peers in the middle of Phase 9 removal cleanup, with their resume
|
|
68
|
+
* cursors. Dropping these leaves a REMOVED peer's data uncleaned forever.
|
|
69
|
+
*/
|
|
70
|
+
peerRemovalQueue: PeerRemovalEntry[];
|
|
71
|
+
/**
|
|
72
|
+
* (operator, peer) pairs whose bridge-attested identity links are still
|
|
73
|
+
* being downgraded after the operator was slashed out of x/service. The
|
|
74
|
+
* per-attester link index is rebuilt at import from the links.
|
|
75
|
+
*/
|
|
76
|
+
attesterRevocationQueue: AttesterRevocation[];
|
|
60
77
|
}
|
|
61
78
|
export interface GenesisStateProtoMsg {
|
|
62
79
|
typeUrl: "/sparkdream.federation.v1.GenesisState";
|
|
@@ -116,11 +133,90 @@ export interface GenesisStateAmino {
|
|
|
116
133
|
arbiter_submissions?: ArbiterSubmissionEntryAmino[];
|
|
117
134
|
arbiter_hash_counts?: ArbiterHashCountAmino[];
|
|
118
135
|
next_arbiter_anon_submission_id?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Identity challenges received from peers and awaiting the local
|
|
138
|
+
* owner's MsgConfirmIdentityLink. Their expiry and per-peer indexes are
|
|
139
|
+
* rebuilt at import.
|
|
140
|
+
*/
|
|
141
|
+
pending_identity_challenges?: PendingIdentityChallengeAmino[];
|
|
142
|
+
/**
|
|
143
|
+
* Peers in the middle of Phase 9 removal cleanup, with their resume
|
|
144
|
+
* cursors. Dropping these leaves a REMOVED peer's data uncleaned forever.
|
|
145
|
+
*/
|
|
146
|
+
peer_removal_queue?: PeerRemovalEntryAmino[];
|
|
147
|
+
/**
|
|
148
|
+
* (operator, peer) pairs whose bridge-attested identity links are still
|
|
149
|
+
* being downgraded after the operator was slashed out of x/service. The
|
|
150
|
+
* per-attester link index is rebuilt at import from the links.
|
|
151
|
+
*/
|
|
152
|
+
attester_revocation_queue?: AttesterRevocationAmino[];
|
|
119
153
|
}
|
|
120
154
|
export interface GenesisStateAminoMsg {
|
|
121
155
|
type: "/sparkdream.federation.v1.GenesisState";
|
|
122
156
|
value: GenesisStateAmino;
|
|
123
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* AttesterRevocation is one AttesterRevocations queue entry: a dissolved
|
|
160
|
+
* bridge operator and a peer on which the identity links it attested are
|
|
161
|
+
* being returned to UNVERIFIED.
|
|
162
|
+
* @name AttesterRevocation
|
|
163
|
+
* @package sparkdream.federation.v1
|
|
164
|
+
* @see proto type: sparkdream.federation.v1.AttesterRevocation
|
|
165
|
+
*/
|
|
166
|
+
export interface AttesterRevocation {
|
|
167
|
+
operator: string;
|
|
168
|
+
peerId: string;
|
|
169
|
+
}
|
|
170
|
+
export interface AttesterRevocationProtoMsg {
|
|
171
|
+
typeUrl: "/sparkdream.federation.v1.AttesterRevocation";
|
|
172
|
+
value: Uint8Array;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* AttesterRevocation is one AttesterRevocations queue entry: a dissolved
|
|
176
|
+
* bridge operator and a peer on which the identity links it attested are
|
|
177
|
+
* being returned to UNVERIFIED.
|
|
178
|
+
* @name AttesterRevocationAmino
|
|
179
|
+
* @package sparkdream.federation.v1
|
|
180
|
+
* @see proto type: sparkdream.federation.v1.AttesterRevocation
|
|
181
|
+
*/
|
|
182
|
+
export interface AttesterRevocationAmino {
|
|
183
|
+
operator?: string;
|
|
184
|
+
peer_id?: string;
|
|
185
|
+
}
|
|
186
|
+
export interface AttesterRevocationAminoMsg {
|
|
187
|
+
type: "/sparkdream.federation.v1.AttesterRevocation";
|
|
188
|
+
value: AttesterRevocationAmino;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* PeerRemovalEntry is one PeerRemovalQueue map entry: the peer being
|
|
192
|
+
* removed and its cleanup progress.
|
|
193
|
+
* @name PeerRemovalEntry
|
|
194
|
+
* @package sparkdream.federation.v1
|
|
195
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalEntry
|
|
196
|
+
*/
|
|
197
|
+
export interface PeerRemovalEntry {
|
|
198
|
+
peerId: string;
|
|
199
|
+
state: PeerRemovalState;
|
|
200
|
+
}
|
|
201
|
+
export interface PeerRemovalEntryProtoMsg {
|
|
202
|
+
typeUrl: "/sparkdream.federation.v1.PeerRemovalEntry";
|
|
203
|
+
value: Uint8Array;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* PeerRemovalEntry is one PeerRemovalQueue map entry: the peer being
|
|
207
|
+
* removed and its cleanup progress.
|
|
208
|
+
* @name PeerRemovalEntryAmino
|
|
209
|
+
* @package sparkdream.federation.v1
|
|
210
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalEntry
|
|
211
|
+
*/
|
|
212
|
+
export interface PeerRemovalEntryAmino {
|
|
213
|
+
peer_id?: string;
|
|
214
|
+
state?: PeerRemovalStateAmino;
|
|
215
|
+
}
|
|
216
|
+
export interface PeerRemovalEntryAminoMsg {
|
|
217
|
+
type: "/sparkdream.federation.v1.PeerRemovalEntry";
|
|
218
|
+
value: PeerRemovalEntryAmino;
|
|
219
|
+
}
|
|
124
220
|
/**
|
|
125
221
|
* ContentDeadline is one (deadline, content_id) entry of a federation
|
|
126
222
|
* EndBlocker time queue. All four verification-lifecycle queues share this
|
|
@@ -281,6 +377,45 @@ export declare const GenesisState: {
|
|
|
281
377
|
toProto(message: GenesisState): Uint8Array;
|
|
282
378
|
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
283
379
|
};
|
|
380
|
+
/**
|
|
381
|
+
* AttesterRevocation is one AttesterRevocations queue entry: a dissolved
|
|
382
|
+
* bridge operator and a peer on which the identity links it attested are
|
|
383
|
+
* being returned to UNVERIFIED.
|
|
384
|
+
* @name AttesterRevocation
|
|
385
|
+
* @package sparkdream.federation.v1
|
|
386
|
+
* @see proto type: sparkdream.federation.v1.AttesterRevocation
|
|
387
|
+
*/
|
|
388
|
+
export declare const AttesterRevocation: {
|
|
389
|
+
typeUrl: string;
|
|
390
|
+
encode(message: AttesterRevocation, writer?: BinaryWriter): BinaryWriter;
|
|
391
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AttesterRevocation;
|
|
392
|
+
fromPartial(object: DeepPartial<AttesterRevocation>): AttesterRevocation;
|
|
393
|
+
fromAmino(object: AttesterRevocationAmino): AttesterRevocation;
|
|
394
|
+
toAmino(message: AttesterRevocation): AttesterRevocationAmino;
|
|
395
|
+
fromAminoMsg(object: AttesterRevocationAminoMsg): AttesterRevocation;
|
|
396
|
+
fromProtoMsg(message: AttesterRevocationProtoMsg): AttesterRevocation;
|
|
397
|
+
toProto(message: AttesterRevocation): Uint8Array;
|
|
398
|
+
toProtoMsg(message: AttesterRevocation): AttesterRevocationProtoMsg;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* PeerRemovalEntry is one PeerRemovalQueue map entry: the peer being
|
|
402
|
+
* removed and its cleanup progress.
|
|
403
|
+
* @name PeerRemovalEntry
|
|
404
|
+
* @package sparkdream.federation.v1
|
|
405
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalEntry
|
|
406
|
+
*/
|
|
407
|
+
export declare const PeerRemovalEntry: {
|
|
408
|
+
typeUrl: string;
|
|
409
|
+
encode(message: PeerRemovalEntry, writer?: BinaryWriter): BinaryWriter;
|
|
410
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PeerRemovalEntry;
|
|
411
|
+
fromPartial(object: DeepPartial<PeerRemovalEntry>): PeerRemovalEntry;
|
|
412
|
+
fromAmino(object: PeerRemovalEntryAmino): PeerRemovalEntry;
|
|
413
|
+
toAmino(message: PeerRemovalEntry): PeerRemovalEntryAmino;
|
|
414
|
+
fromAminoMsg(object: PeerRemovalEntryAminoMsg): PeerRemovalEntry;
|
|
415
|
+
fromProtoMsg(message: PeerRemovalEntryProtoMsg): PeerRemovalEntry;
|
|
416
|
+
toProto(message: PeerRemovalEntry): Uint8Array;
|
|
417
|
+
toProtoMsg(message: PeerRemovalEntry): PeerRemovalEntryProtoMsg;
|
|
418
|
+
};
|
|
284
419
|
/**
|
|
285
420
|
* ContentDeadline is one (deadline, content_id) entry of a federation
|
|
286
421
|
* EndBlocker time queue. All four verification-lifecycle queues share this
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OperatorRewardDayFunding = exports.ArbiterHashCount = exports.ArbiterSubmissionEntry = exports.ContentDeadline = exports.GenesisState = void 0;
|
|
3
|
+
exports.OperatorRewardDayFunding = exports.ArbiterHashCount = exports.ArbiterSubmissionEntry = exports.ContentDeadline = exports.PeerRemovalEntry = exports.AttesterRevocation = exports.GenesisState = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const params_1 = require("./params");
|
|
6
6
|
const types_1 = require("./types");
|
|
@@ -30,7 +30,10 @@ function createBaseGenesisState() {
|
|
|
30
30
|
escalatedChallengeDeadlineQueue: [],
|
|
31
31
|
arbiterSubmissions: [],
|
|
32
32
|
arbiterHashCounts: [],
|
|
33
|
-
nextArbiterAnonSubmissionId: BigInt(0)
|
|
33
|
+
nextArbiterAnonSubmissionId: BigInt(0),
|
|
34
|
+
pendingIdentityChallenges: [],
|
|
35
|
+
peerRemovalQueue: [],
|
|
36
|
+
attesterRevocationQueue: []
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
/**
|
|
@@ -111,6 +114,15 @@ exports.GenesisState = {
|
|
|
111
114
|
if (message.nextArbiterAnonSubmissionId !== BigInt(0)) {
|
|
112
115
|
writer.uint32(184).uint64(message.nextArbiterAnonSubmissionId);
|
|
113
116
|
}
|
|
117
|
+
for (const v of message.pendingIdentityChallenges) {
|
|
118
|
+
types_1.PendingIdentityChallenge.encode(v, writer.uint32(194).fork()).ldelim();
|
|
119
|
+
}
|
|
120
|
+
for (const v of message.peerRemovalQueue) {
|
|
121
|
+
exports.PeerRemovalEntry.encode(v, writer.uint32(202).fork()).ldelim();
|
|
122
|
+
}
|
|
123
|
+
for (const v of message.attesterRevocationQueue) {
|
|
124
|
+
exports.AttesterRevocation.encode(v, writer.uint32(210).fork()).ldelim();
|
|
125
|
+
}
|
|
114
126
|
return writer;
|
|
115
127
|
},
|
|
116
128
|
decode(input, length) {
|
|
@@ -189,6 +201,15 @@ exports.GenesisState = {
|
|
|
189
201
|
case 23:
|
|
190
202
|
message.nextArbiterAnonSubmissionId = reader.uint64();
|
|
191
203
|
break;
|
|
204
|
+
case 24:
|
|
205
|
+
message.pendingIdentityChallenges.push(types_1.PendingIdentityChallenge.decode(reader, reader.uint32()));
|
|
206
|
+
break;
|
|
207
|
+
case 25:
|
|
208
|
+
message.peerRemovalQueue.push(exports.PeerRemovalEntry.decode(reader, reader.uint32()));
|
|
209
|
+
break;
|
|
210
|
+
case 26:
|
|
211
|
+
message.attesterRevocationQueue.push(exports.AttesterRevocation.decode(reader, reader.uint32()));
|
|
212
|
+
break;
|
|
192
213
|
default:
|
|
193
214
|
reader.skipType(tag & 7);
|
|
194
215
|
break;
|
|
@@ -221,6 +242,9 @@ exports.GenesisState = {
|
|
|
221
242
|
message.arbiterSubmissions = object.arbiterSubmissions?.map(e => exports.ArbiterSubmissionEntry.fromPartial(e)) || [];
|
|
222
243
|
message.arbiterHashCounts = object.arbiterHashCounts?.map(e => exports.ArbiterHashCount.fromPartial(e)) || [];
|
|
223
244
|
message.nextArbiterAnonSubmissionId = object.nextArbiterAnonSubmissionId !== undefined && object.nextArbiterAnonSubmissionId !== null ? BigInt(object.nextArbiterAnonSubmissionId.toString()) : BigInt(0);
|
|
245
|
+
message.pendingIdentityChallenges = object.pendingIdentityChallenges?.map(e => types_1.PendingIdentityChallenge.fromPartial(e)) || [];
|
|
246
|
+
message.peerRemovalQueue = object.peerRemovalQueue?.map(e => exports.PeerRemovalEntry.fromPartial(e)) || [];
|
|
247
|
+
message.attesterRevocationQueue = object.attesterRevocationQueue?.map(e => exports.AttesterRevocation.fromPartial(e)) || [];
|
|
224
248
|
return message;
|
|
225
249
|
},
|
|
226
250
|
fromAmino(object) {
|
|
@@ -258,6 +282,9 @@ exports.GenesisState = {
|
|
|
258
282
|
if (object.next_arbiter_anon_submission_id !== undefined && object.next_arbiter_anon_submission_id !== null) {
|
|
259
283
|
message.nextArbiterAnonSubmissionId = BigInt(object.next_arbiter_anon_submission_id);
|
|
260
284
|
}
|
|
285
|
+
message.pendingIdentityChallenges = object.pending_identity_challenges?.map(e => types_1.PendingIdentityChallenge.fromAmino(e)) || [];
|
|
286
|
+
message.peerRemovalQueue = object.peer_removal_queue?.map(e => exports.PeerRemovalEntry.fromAmino(e)) || [];
|
|
287
|
+
message.attesterRevocationQueue = object.attester_revocation_queue?.map(e => exports.AttesterRevocation.fromAmino(e)) || [];
|
|
261
288
|
return message;
|
|
262
289
|
},
|
|
263
290
|
toAmino(message) {
|
|
@@ -375,6 +402,24 @@ exports.GenesisState = {
|
|
|
375
402
|
obj.arbiter_hash_counts = message.arbiterHashCounts;
|
|
376
403
|
}
|
|
377
404
|
obj.next_arbiter_anon_submission_id = message.nextArbiterAnonSubmissionId !== BigInt(0) ? message.nextArbiterAnonSubmissionId?.toString() : undefined;
|
|
405
|
+
if (message.pendingIdentityChallenges) {
|
|
406
|
+
obj.pending_identity_challenges = message.pendingIdentityChallenges.map(e => e ? types_1.PendingIdentityChallenge.toAmino(e) : undefined);
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
obj.pending_identity_challenges = message.pendingIdentityChallenges;
|
|
410
|
+
}
|
|
411
|
+
if (message.peerRemovalQueue) {
|
|
412
|
+
obj.peer_removal_queue = message.peerRemovalQueue.map(e => e ? exports.PeerRemovalEntry.toAmino(e) : undefined);
|
|
413
|
+
}
|
|
414
|
+
else {
|
|
415
|
+
obj.peer_removal_queue = message.peerRemovalQueue;
|
|
416
|
+
}
|
|
417
|
+
if (message.attesterRevocationQueue) {
|
|
418
|
+
obj.attester_revocation_queue = message.attesterRevocationQueue.map(e => e ? exports.AttesterRevocation.toAmino(e) : undefined);
|
|
419
|
+
}
|
|
420
|
+
else {
|
|
421
|
+
obj.attester_revocation_queue = message.attesterRevocationQueue;
|
|
422
|
+
}
|
|
378
423
|
return obj;
|
|
379
424
|
},
|
|
380
425
|
fromAminoMsg(object) {
|
|
@@ -393,6 +438,171 @@ exports.GenesisState = {
|
|
|
393
438
|
};
|
|
394
439
|
}
|
|
395
440
|
};
|
|
441
|
+
function createBaseAttesterRevocation() {
|
|
442
|
+
return {
|
|
443
|
+
operator: "",
|
|
444
|
+
peerId: ""
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* AttesterRevocation is one AttesterRevocations queue entry: a dissolved
|
|
449
|
+
* bridge operator and a peer on which the identity links it attested are
|
|
450
|
+
* being returned to UNVERIFIED.
|
|
451
|
+
* @name AttesterRevocation
|
|
452
|
+
* @package sparkdream.federation.v1
|
|
453
|
+
* @see proto type: sparkdream.federation.v1.AttesterRevocation
|
|
454
|
+
*/
|
|
455
|
+
exports.AttesterRevocation = {
|
|
456
|
+
typeUrl: "/sparkdream.federation.v1.AttesterRevocation",
|
|
457
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
458
|
+
if (message.operator !== "") {
|
|
459
|
+
writer.uint32(10).string(message.operator);
|
|
460
|
+
}
|
|
461
|
+
if (message.peerId !== "") {
|
|
462
|
+
writer.uint32(18).string(message.peerId);
|
|
463
|
+
}
|
|
464
|
+
return writer;
|
|
465
|
+
},
|
|
466
|
+
decode(input, length) {
|
|
467
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
468
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
469
|
+
const message = createBaseAttesterRevocation();
|
|
470
|
+
while (reader.pos < end) {
|
|
471
|
+
const tag = reader.uint32();
|
|
472
|
+
switch (tag >>> 3) {
|
|
473
|
+
case 1:
|
|
474
|
+
message.operator = reader.string();
|
|
475
|
+
break;
|
|
476
|
+
case 2:
|
|
477
|
+
message.peerId = reader.string();
|
|
478
|
+
break;
|
|
479
|
+
default:
|
|
480
|
+
reader.skipType(tag & 7);
|
|
481
|
+
break;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
return message;
|
|
485
|
+
},
|
|
486
|
+
fromPartial(object) {
|
|
487
|
+
const message = createBaseAttesterRevocation();
|
|
488
|
+
message.operator = object.operator ?? "";
|
|
489
|
+
message.peerId = object.peerId ?? "";
|
|
490
|
+
return message;
|
|
491
|
+
},
|
|
492
|
+
fromAmino(object) {
|
|
493
|
+
const message = createBaseAttesterRevocation();
|
|
494
|
+
if (object.operator !== undefined && object.operator !== null) {
|
|
495
|
+
message.operator = object.operator;
|
|
496
|
+
}
|
|
497
|
+
if (object.peer_id !== undefined && object.peer_id !== null) {
|
|
498
|
+
message.peerId = object.peer_id;
|
|
499
|
+
}
|
|
500
|
+
return message;
|
|
501
|
+
},
|
|
502
|
+
toAmino(message) {
|
|
503
|
+
const obj = {};
|
|
504
|
+
obj.operator = message.operator === "" ? undefined : message.operator;
|
|
505
|
+
obj.peer_id = message.peerId === "" ? undefined : message.peerId;
|
|
506
|
+
return obj;
|
|
507
|
+
},
|
|
508
|
+
fromAminoMsg(object) {
|
|
509
|
+
return exports.AttesterRevocation.fromAmino(object.value);
|
|
510
|
+
},
|
|
511
|
+
fromProtoMsg(message) {
|
|
512
|
+
return exports.AttesterRevocation.decode(message.value);
|
|
513
|
+
},
|
|
514
|
+
toProto(message) {
|
|
515
|
+
return exports.AttesterRevocation.encode(message).finish();
|
|
516
|
+
},
|
|
517
|
+
toProtoMsg(message) {
|
|
518
|
+
return {
|
|
519
|
+
typeUrl: "/sparkdream.federation.v1.AttesterRevocation",
|
|
520
|
+
value: exports.AttesterRevocation.encode(message).finish()
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
function createBasePeerRemovalEntry() {
|
|
525
|
+
return {
|
|
526
|
+
peerId: "",
|
|
527
|
+
state: types_1.PeerRemovalState.fromPartial({})
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* PeerRemovalEntry is one PeerRemovalQueue map entry: the peer being
|
|
532
|
+
* removed and its cleanup progress.
|
|
533
|
+
* @name PeerRemovalEntry
|
|
534
|
+
* @package sparkdream.federation.v1
|
|
535
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalEntry
|
|
536
|
+
*/
|
|
537
|
+
exports.PeerRemovalEntry = {
|
|
538
|
+
typeUrl: "/sparkdream.federation.v1.PeerRemovalEntry",
|
|
539
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
540
|
+
if (message.peerId !== "") {
|
|
541
|
+
writer.uint32(10).string(message.peerId);
|
|
542
|
+
}
|
|
543
|
+
if (message.state !== undefined) {
|
|
544
|
+
types_1.PeerRemovalState.encode(message.state, writer.uint32(18).fork()).ldelim();
|
|
545
|
+
}
|
|
546
|
+
return writer;
|
|
547
|
+
},
|
|
548
|
+
decode(input, length) {
|
|
549
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
550
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
551
|
+
const message = createBasePeerRemovalEntry();
|
|
552
|
+
while (reader.pos < end) {
|
|
553
|
+
const tag = reader.uint32();
|
|
554
|
+
switch (tag >>> 3) {
|
|
555
|
+
case 1:
|
|
556
|
+
message.peerId = reader.string();
|
|
557
|
+
break;
|
|
558
|
+
case 2:
|
|
559
|
+
message.state = types_1.PeerRemovalState.decode(reader, reader.uint32());
|
|
560
|
+
break;
|
|
561
|
+
default:
|
|
562
|
+
reader.skipType(tag & 7);
|
|
563
|
+
break;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return message;
|
|
567
|
+
},
|
|
568
|
+
fromPartial(object) {
|
|
569
|
+
const message = createBasePeerRemovalEntry();
|
|
570
|
+
message.peerId = object.peerId ?? "";
|
|
571
|
+
message.state = object.state !== undefined && object.state !== null ? types_1.PeerRemovalState.fromPartial(object.state) : undefined;
|
|
572
|
+
return message;
|
|
573
|
+
},
|
|
574
|
+
fromAmino(object) {
|
|
575
|
+
const message = createBasePeerRemovalEntry();
|
|
576
|
+
if (object.peer_id !== undefined && object.peer_id !== null) {
|
|
577
|
+
message.peerId = object.peer_id;
|
|
578
|
+
}
|
|
579
|
+
if (object.state !== undefined && object.state !== null) {
|
|
580
|
+
message.state = types_1.PeerRemovalState.fromAmino(object.state);
|
|
581
|
+
}
|
|
582
|
+
return message;
|
|
583
|
+
},
|
|
584
|
+
toAmino(message) {
|
|
585
|
+
const obj = {};
|
|
586
|
+
obj.peer_id = message.peerId === "" ? undefined : message.peerId;
|
|
587
|
+
obj.state = message.state ? types_1.PeerRemovalState.toAmino(message.state) : undefined;
|
|
588
|
+
return obj;
|
|
589
|
+
},
|
|
590
|
+
fromAminoMsg(object) {
|
|
591
|
+
return exports.PeerRemovalEntry.fromAmino(object.value);
|
|
592
|
+
},
|
|
593
|
+
fromProtoMsg(message) {
|
|
594
|
+
return exports.PeerRemovalEntry.decode(message.value);
|
|
595
|
+
},
|
|
596
|
+
toProto(message) {
|
|
597
|
+
return exports.PeerRemovalEntry.encode(message).finish();
|
|
598
|
+
},
|
|
599
|
+
toProtoMsg(message) {
|
|
600
|
+
return {
|
|
601
|
+
typeUrl: "/sparkdream.federation.v1.PeerRemovalEntry",
|
|
602
|
+
value: exports.PeerRemovalEntry.encode(message).finish()
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
};
|
|
396
606
|
function createBaseContentDeadline() {
|
|
397
607
|
return {
|
|
398
608
|
deadline: BigInt(0),
|
|
@@ -897,6 +897,102 @@ export interface MsgConfirmIdentityLinkResponseAminoMsg {
|
|
|
897
897
|
type: "/sparkdream.federation.v1.MsgConfirmIdentityLinkResponse";
|
|
898
898
|
value: MsgConfirmIdentityLinkResponseAmino;
|
|
899
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* MsgAttestIdentityLink verifies an UNVERIFIED identity link to a bridge peer
|
|
902
|
+
* (ActivityPub, AT Protocol, NOSTR, Lens). The signer is a bridge operator
|
|
903
|
+
* with an active, non-suspended BridgeBinding for the peer. It attests that
|
|
904
|
+
* remote_identity published the link's proof string (see
|
|
905
|
+
* IdentityLinkProofString) at evidence_uri. The attestation is bonded: a
|
|
906
|
+
* false one is reported against the operator's x/service SPARK bond.
|
|
907
|
+
* @name MsgAttestIdentityLink
|
|
908
|
+
* @package sparkdream.federation.v1
|
|
909
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLink
|
|
910
|
+
*/
|
|
911
|
+
export interface MsgAttestIdentityLink {
|
|
912
|
+
operator: string;
|
|
913
|
+
peerId: string;
|
|
914
|
+
/**
|
|
915
|
+
* local_address is the member whose claim is attested.
|
|
916
|
+
*/
|
|
917
|
+
localAddress: string;
|
|
918
|
+
/**
|
|
919
|
+
* remote_identity must equal the claim's remote_identity.
|
|
920
|
+
*/
|
|
921
|
+
remoteIdentity: string;
|
|
922
|
+
/**
|
|
923
|
+
* challenge is the hex encoding of the claim's challenge, as published in
|
|
924
|
+
* the proof string. It binds the attestation to this claim: a claim that
|
|
925
|
+
* was unlinked and made again has a new challenge.
|
|
926
|
+
*/
|
|
927
|
+
challenge: string;
|
|
928
|
+
/**
|
|
929
|
+
* evidence_uri locates the remote post or record carrying the proof string.
|
|
930
|
+
*/
|
|
931
|
+
evidenceUri: string;
|
|
932
|
+
}
|
|
933
|
+
export interface MsgAttestIdentityLinkProtoMsg {
|
|
934
|
+
typeUrl: "/sparkdream.federation.v1.MsgAttestIdentityLink";
|
|
935
|
+
value: Uint8Array;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* MsgAttestIdentityLink verifies an UNVERIFIED identity link to a bridge peer
|
|
939
|
+
* (ActivityPub, AT Protocol, NOSTR, Lens). The signer is a bridge operator
|
|
940
|
+
* with an active, non-suspended BridgeBinding for the peer. It attests that
|
|
941
|
+
* remote_identity published the link's proof string (see
|
|
942
|
+
* IdentityLinkProofString) at evidence_uri. The attestation is bonded: a
|
|
943
|
+
* false one is reported against the operator's x/service SPARK bond.
|
|
944
|
+
* @name MsgAttestIdentityLinkAmino
|
|
945
|
+
* @package sparkdream.federation.v1
|
|
946
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLink
|
|
947
|
+
*/
|
|
948
|
+
export interface MsgAttestIdentityLinkAmino {
|
|
949
|
+
operator?: string;
|
|
950
|
+
peer_id?: string;
|
|
951
|
+
/**
|
|
952
|
+
* local_address is the member whose claim is attested.
|
|
953
|
+
*/
|
|
954
|
+
local_address?: string;
|
|
955
|
+
/**
|
|
956
|
+
* remote_identity must equal the claim's remote_identity.
|
|
957
|
+
*/
|
|
958
|
+
remote_identity?: string;
|
|
959
|
+
/**
|
|
960
|
+
* challenge is the hex encoding of the claim's challenge, as published in
|
|
961
|
+
* the proof string. It binds the attestation to this claim: a claim that
|
|
962
|
+
* was unlinked and made again has a new challenge.
|
|
963
|
+
*/
|
|
964
|
+
challenge?: string;
|
|
965
|
+
/**
|
|
966
|
+
* evidence_uri locates the remote post or record carrying the proof string.
|
|
967
|
+
*/
|
|
968
|
+
evidence_uri?: string;
|
|
969
|
+
}
|
|
970
|
+
export interface MsgAttestIdentityLinkAminoMsg {
|
|
971
|
+
type: "sparkdream/x/federation/MsgAttestIdentityLink";
|
|
972
|
+
value: MsgAttestIdentityLinkAmino;
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* @name MsgAttestIdentityLinkResponse
|
|
976
|
+
* @package sparkdream.federation.v1
|
|
977
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLinkResponse
|
|
978
|
+
*/
|
|
979
|
+
export interface MsgAttestIdentityLinkResponse {
|
|
980
|
+
}
|
|
981
|
+
export interface MsgAttestIdentityLinkResponseProtoMsg {
|
|
982
|
+
typeUrl: "/sparkdream.federation.v1.MsgAttestIdentityLinkResponse";
|
|
983
|
+
value: Uint8Array;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* @name MsgAttestIdentityLinkResponseAmino
|
|
987
|
+
* @package sparkdream.federation.v1
|
|
988
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLinkResponse
|
|
989
|
+
*/
|
|
990
|
+
export interface MsgAttestIdentityLinkResponseAmino {
|
|
991
|
+
}
|
|
992
|
+
export interface MsgAttestIdentityLinkResponseAminoMsg {
|
|
993
|
+
type: "/sparkdream.federation.v1.MsgAttestIdentityLinkResponse";
|
|
994
|
+
value: MsgAttestIdentityLinkResponseAmino;
|
|
995
|
+
}
|
|
900
996
|
/**
|
|
901
997
|
* @name MsgRequestReputationAttestation
|
|
902
998
|
* @package sparkdream.federation.v1
|
|
@@ -1986,6 +2082,48 @@ export declare const MsgConfirmIdentityLinkResponse: {
|
|
|
1986
2082
|
toProto(message: MsgConfirmIdentityLinkResponse): Uint8Array;
|
|
1987
2083
|
toProtoMsg(message: MsgConfirmIdentityLinkResponse): MsgConfirmIdentityLinkResponseProtoMsg;
|
|
1988
2084
|
};
|
|
2085
|
+
/**
|
|
2086
|
+
* MsgAttestIdentityLink verifies an UNVERIFIED identity link to a bridge peer
|
|
2087
|
+
* (ActivityPub, AT Protocol, NOSTR, Lens). The signer is a bridge operator
|
|
2088
|
+
* with an active, non-suspended BridgeBinding for the peer. It attests that
|
|
2089
|
+
* remote_identity published the link's proof string (see
|
|
2090
|
+
* IdentityLinkProofString) at evidence_uri. The attestation is bonded: a
|
|
2091
|
+
* false one is reported against the operator's x/service SPARK bond.
|
|
2092
|
+
* @name MsgAttestIdentityLink
|
|
2093
|
+
* @package sparkdream.federation.v1
|
|
2094
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLink
|
|
2095
|
+
*/
|
|
2096
|
+
export declare const MsgAttestIdentityLink: {
|
|
2097
|
+
typeUrl: string;
|
|
2098
|
+
aminoType: string;
|
|
2099
|
+
encode(message: MsgAttestIdentityLink, writer?: BinaryWriter): BinaryWriter;
|
|
2100
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgAttestIdentityLink;
|
|
2101
|
+
fromPartial(object: DeepPartial<MsgAttestIdentityLink>): MsgAttestIdentityLink;
|
|
2102
|
+
fromAmino(object: MsgAttestIdentityLinkAmino): MsgAttestIdentityLink;
|
|
2103
|
+
toAmino(message: MsgAttestIdentityLink): MsgAttestIdentityLinkAmino;
|
|
2104
|
+
fromAminoMsg(object: MsgAttestIdentityLinkAminoMsg): MsgAttestIdentityLink;
|
|
2105
|
+
toAminoMsg(message: MsgAttestIdentityLink): MsgAttestIdentityLinkAminoMsg;
|
|
2106
|
+
fromProtoMsg(message: MsgAttestIdentityLinkProtoMsg): MsgAttestIdentityLink;
|
|
2107
|
+
toProto(message: MsgAttestIdentityLink): Uint8Array;
|
|
2108
|
+
toProtoMsg(message: MsgAttestIdentityLink): MsgAttestIdentityLinkProtoMsg;
|
|
2109
|
+
};
|
|
2110
|
+
/**
|
|
2111
|
+
* @name MsgAttestIdentityLinkResponse
|
|
2112
|
+
* @package sparkdream.federation.v1
|
|
2113
|
+
* @see proto type: sparkdream.federation.v1.MsgAttestIdentityLinkResponse
|
|
2114
|
+
*/
|
|
2115
|
+
export declare const MsgAttestIdentityLinkResponse: {
|
|
2116
|
+
typeUrl: string;
|
|
2117
|
+
encode(_: MsgAttestIdentityLinkResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2118
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgAttestIdentityLinkResponse;
|
|
2119
|
+
fromPartial(_: DeepPartial<MsgAttestIdentityLinkResponse>): MsgAttestIdentityLinkResponse;
|
|
2120
|
+
fromAmino(_: MsgAttestIdentityLinkResponseAmino): MsgAttestIdentityLinkResponse;
|
|
2121
|
+
toAmino(_: MsgAttestIdentityLinkResponse): MsgAttestIdentityLinkResponseAmino;
|
|
2122
|
+
fromAminoMsg(object: MsgAttestIdentityLinkResponseAminoMsg): MsgAttestIdentityLinkResponse;
|
|
2123
|
+
fromProtoMsg(message: MsgAttestIdentityLinkResponseProtoMsg): MsgAttestIdentityLinkResponse;
|
|
2124
|
+
toProto(message: MsgAttestIdentityLinkResponse): Uint8Array;
|
|
2125
|
+
toProtoMsg(message: MsgAttestIdentityLinkResponse): MsgAttestIdentityLinkResponseProtoMsg;
|
|
2126
|
+
};
|
|
1989
2127
|
/**
|
|
1990
2128
|
* @name MsgRequestReputationAttestation
|
|
1991
2129
|
* @package sparkdream.federation.v1
|