@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.10
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 +76 -76
- package/esm/sparkdream/blog/v1/params.js +25 -1
- package/esm/sparkdream/blog/v1/post.js +16 -1
- package/esm/sparkdream/blog/v1/query.js +165 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/blog/v1/tx.js +32 -2
- package/esm/sparkdream/bundle.js +367 -327
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
- package/esm/sparkdream/collect/v1/genesis.js +12 -11
- package/esm/sparkdream/collect/v1/params.js +37 -1
- package/esm/sparkdream/collect/v1/query.js +201 -186
- package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
- package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
- package/esm/sparkdream/collect/v1/tx.js +0 -258
- package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
- package/esm/sparkdream/collect/v1/types.js +50 -143
- 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 +245 -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 +2479 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +142 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +181 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +129 -0
- package/esm/sparkdream/federation/v1/tx.js +3929 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +465 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +163 -0
- package/esm/sparkdream/federation/v1/types.js +2266 -0
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- package/esm/sparkdream/forum/v1/params.js +146 -2
- 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/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +224 -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 +102 -5
- 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 +5251 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +293 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +334 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- 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 +2467 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +104 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/enums.js +10 -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 +76 -76
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +16 -0
- package/sparkdream/blog/v1/params.js +25 -1
- package/sparkdream/blog/v1/post.d.ts +8 -0
- package/sparkdream/blog/v1/post.js +16 -1
- package/sparkdream/blog/v1/query.d.ts +92 -0
- package/sparkdream/blog/v1/query.js +166 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
- package/sparkdream/blog/v1/query.lcd.js +11 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
- package/sparkdream/blog/v1/tx.d.ts +16 -0
- package/sparkdream/blog/v1/tx.js +32 -2
- package/sparkdream/bundle.d.ts +14529 -12577
- package/sparkdream/bundle.js +367 -327
- package/sparkdream/client.d.ts +192 -67
- package/sparkdream/client.js +4 -1
- package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
- package/sparkdream/collect/v1/curator_activity.js +161 -0
- package/sparkdream/collect/v1/genesis.d.ts +4 -3
- package/sparkdream/collect/v1/genesis.js +11 -10
- package/sparkdream/collect/v1/params.d.ts +32 -0
- package/sparkdream/collect/v1/params.js +37 -1
- package/sparkdream/collect/v1/query.d.ts +142 -133
- package/sparkdream/collect/v1/query.js +201 -186
- package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
- package/sparkdream/collect/v1/query.lcd.js +16 -16
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
- package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
- package/sparkdream/collect/v1/tx.amino.js +0 -10
- package/sparkdream/collect/v1/tx.d.ts +0 -162
- package/sparkdream/collect/v1/tx.js +2 -260
- package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
- package/sparkdream/collect/v1/tx.registry.js +1 -37
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
- package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
- package/sparkdream/collect/v1/types.d.ts +26 -56
- package/sparkdream/collect/v1/types.js +51 -144
- 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 +79 -0
- package/sparkdream/federation/v1/genesis.js +248 -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 +1458 -0
- package/sparkdream/federation/v1/query.js +2482 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +25 -0
- package/sparkdream/federation/v1/query.lcd.js +146 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +69 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +186 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +128 -0
- package/sparkdream/federation/v1/tx.amino.js +132 -0
- package/sparkdream/federation/v1/tx.d.ts +2147 -0
- package/sparkdream/federation/v1/tx.js +3932 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +313 -0
- package/sparkdream/federation/v1/tx.registry.js +469 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +65 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +168 -0
- package/sparkdream/federation/v1/types.d.ts +810 -0
- package/sparkdream/federation/v1/types.js +2281 -0
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- 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/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- 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/bonded_role.d.ts +330 -0
- package/sparkdream/rep/v1/bonded_role.js +453 -0
- package/sparkdream/rep/v1/genesis.d.ts +70 -0
- package/sparkdream/rep/v1/genesis.js +224 -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/rep/v1/member_report.d.ts +128 -0
- package/sparkdream/{forum → rep}/v1/member_report.js +103 -6
- 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 +4222 -1156
- package/sparkdream/rep/v1/query.js +5254 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +293 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +140 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +333 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- 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 +1484 -0
- package/sparkdream/rep/v1/tx.js +2468 -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 +64 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +103 -0
- package/sparkdream/rpc.query.d.ts +60 -36
- 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/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -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_report.d.ts +0 -67
- package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
export declare enum PeerType {
|
|
5
|
+
PEER_TYPE_UNSPECIFIED = 0,
|
|
6
|
+
PEER_TYPE_SPARK_DREAM = 1,
|
|
7
|
+
PEER_TYPE_ACTIVITYPUB = 2,
|
|
8
|
+
PEER_TYPE_ATPROTO = 3,
|
|
9
|
+
UNRECOGNIZED = -1
|
|
10
|
+
}
|
|
11
|
+
export declare const PeerTypeAmino: typeof PeerType;
|
|
12
|
+
export declare function peerTypeFromJSON(object: any): PeerType;
|
|
13
|
+
export declare function peerTypeToJSON(object: PeerType): string;
|
|
14
|
+
export declare enum PeerStatus {
|
|
15
|
+
PEER_STATUS_PENDING = 0,
|
|
16
|
+
PEER_STATUS_ACTIVE = 1,
|
|
17
|
+
PEER_STATUS_SUSPENDED = 2,
|
|
18
|
+
PEER_STATUS_REMOVED = 3,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare const PeerStatusAmino: typeof PeerStatus;
|
|
22
|
+
export declare function peerStatusFromJSON(object: any): PeerStatus;
|
|
23
|
+
export declare function peerStatusToJSON(object: PeerStatus): string;
|
|
24
|
+
export declare enum BridgeStatus {
|
|
25
|
+
BRIDGE_STATUS_UNSPECIFIED = 0,
|
|
26
|
+
BRIDGE_STATUS_ACTIVE = 1,
|
|
27
|
+
BRIDGE_STATUS_SUSPENDED = 2,
|
|
28
|
+
BRIDGE_STATUS_UNBONDING = 3,
|
|
29
|
+
BRIDGE_STATUS_REVOKED = 4,
|
|
30
|
+
UNRECOGNIZED = -1
|
|
31
|
+
}
|
|
32
|
+
export declare const BridgeStatusAmino: typeof BridgeStatus;
|
|
33
|
+
export declare function bridgeStatusFromJSON(object: any): BridgeStatus;
|
|
34
|
+
export declare function bridgeStatusToJSON(object: BridgeStatus): string;
|
|
35
|
+
export declare enum FederatedContentStatus {
|
|
36
|
+
FEDERATED_CONTENT_STATUS_PENDING_VERIFICATION = 0,
|
|
37
|
+
FEDERATED_CONTENT_STATUS_VERIFIED = 1,
|
|
38
|
+
FEDERATED_CONTENT_STATUS_ACTIVE = 2,
|
|
39
|
+
FEDERATED_CONTENT_STATUS_HIDDEN = 3,
|
|
40
|
+
FEDERATED_CONTENT_STATUS_DISPUTED = 4,
|
|
41
|
+
FEDERATED_CONTENT_STATUS_CHALLENGED = 5,
|
|
42
|
+
FEDERATED_CONTENT_STATUS_REJECTED = 6,
|
|
43
|
+
UNRECOGNIZED = -1
|
|
44
|
+
}
|
|
45
|
+
export declare const FederatedContentStatusAmino: typeof FederatedContentStatus;
|
|
46
|
+
export declare function federatedContentStatusFromJSON(object: any): FederatedContentStatus;
|
|
47
|
+
export declare function federatedContentStatusToJSON(object: FederatedContentStatus): string;
|
|
48
|
+
export declare enum IdentityLinkStatus {
|
|
49
|
+
IDENTITY_LINK_STATUS_UNVERIFIED = 0,
|
|
50
|
+
IDENTITY_LINK_STATUS_VERIFIED = 1,
|
|
51
|
+
IDENTITY_LINK_STATUS_REVOKED = 2,
|
|
52
|
+
UNRECOGNIZED = -1
|
|
53
|
+
}
|
|
54
|
+
export declare const IdentityLinkStatusAmino: typeof IdentityLinkStatus;
|
|
55
|
+
export declare function identityLinkStatusFromJSON(object: any): IdentityLinkStatus;
|
|
56
|
+
export declare function identityLinkStatusToJSON(object: IdentityLinkStatus): string;
|
|
57
|
+
export declare enum VerificationOutcome {
|
|
58
|
+
VERIFICATION_OUTCOME_UNSPECIFIED = 0,
|
|
59
|
+
VERIFICATION_OUTCOME_PENDING = 1,
|
|
60
|
+
VERIFICATION_OUTCOME_CONFIRMED = 2,
|
|
61
|
+
VERIFICATION_OUTCOME_CHALLENGED = 3,
|
|
62
|
+
VERIFICATION_OUTCOME_UPHELD = 4,
|
|
63
|
+
VERIFICATION_OUTCOME_OVERTURNED = 5,
|
|
64
|
+
UNRECOGNIZED = -1
|
|
65
|
+
}
|
|
66
|
+
export declare const VerificationOutcomeAmino: typeof VerificationOutcome;
|
|
67
|
+
export declare function verificationOutcomeFromJSON(object: any): VerificationOutcome;
|
|
68
|
+
export declare function verificationOutcomeToJSON(object: VerificationOutcome): string;
|
|
69
|
+
/**
|
|
70
|
+
* Peer represents a federation peer (another Spark Dream chain or external protocol).
|
|
71
|
+
* @name Peer
|
|
72
|
+
* @package sparkdream.federation.v1
|
|
73
|
+
* @see proto type: sparkdream.federation.v1.Peer
|
|
74
|
+
*/
|
|
75
|
+
export interface Peer {
|
|
76
|
+
id: string;
|
|
77
|
+
displayName: string;
|
|
78
|
+
type: PeerType;
|
|
79
|
+
status: PeerStatus;
|
|
80
|
+
ibcChannelId: string;
|
|
81
|
+
registeredAt: bigint;
|
|
82
|
+
lastActivity: bigint;
|
|
83
|
+
registeredBy: string;
|
|
84
|
+
metadata: string;
|
|
85
|
+
removedAt: bigint;
|
|
86
|
+
}
|
|
87
|
+
export interface PeerProtoMsg {
|
|
88
|
+
typeUrl: "/sparkdream.federation.v1.Peer";
|
|
89
|
+
value: Uint8Array;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Peer represents a federation peer (another Spark Dream chain or external protocol).
|
|
93
|
+
* @name PeerAmino
|
|
94
|
+
* @package sparkdream.federation.v1
|
|
95
|
+
* @see proto type: sparkdream.federation.v1.Peer
|
|
96
|
+
*/
|
|
97
|
+
export interface PeerAmino {
|
|
98
|
+
id?: string;
|
|
99
|
+
display_name?: string;
|
|
100
|
+
type?: PeerType;
|
|
101
|
+
status?: PeerStatus;
|
|
102
|
+
ibc_channel_id?: string;
|
|
103
|
+
registered_at?: string;
|
|
104
|
+
last_activity?: string;
|
|
105
|
+
registered_by?: string;
|
|
106
|
+
metadata?: string;
|
|
107
|
+
removed_at?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface PeerAminoMsg {
|
|
110
|
+
type: "/sparkdream.federation.v1.Peer";
|
|
111
|
+
value: PeerAmino;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* PeerPolicy defines per-peer federation policies.
|
|
115
|
+
* @name PeerPolicy
|
|
116
|
+
* @package sparkdream.federation.v1
|
|
117
|
+
* @see proto type: sparkdream.federation.v1.PeerPolicy
|
|
118
|
+
*/
|
|
119
|
+
export interface PeerPolicy {
|
|
120
|
+
peerId: string;
|
|
121
|
+
/**
|
|
122
|
+
* Content federation
|
|
123
|
+
*/
|
|
124
|
+
outboundContentTypes: string[];
|
|
125
|
+
inboundContentTypes: string[];
|
|
126
|
+
minOutboundTrustLevel: number;
|
|
127
|
+
inboundRateLimitPerEpoch: bigint;
|
|
128
|
+
outboundRateLimitPerEpoch: bigint;
|
|
129
|
+
/**
|
|
130
|
+
* Reputation (Spark Dream peers only)
|
|
131
|
+
*/
|
|
132
|
+
allowReputationQueries: boolean;
|
|
133
|
+
acceptReputationAttestations: boolean;
|
|
134
|
+
maxTrustCredit: number;
|
|
135
|
+
/**
|
|
136
|
+
* Moderation
|
|
137
|
+
*/
|
|
138
|
+
requireReview: boolean;
|
|
139
|
+
blockedIdentities: string[];
|
|
140
|
+
}
|
|
141
|
+
export interface PeerPolicyProtoMsg {
|
|
142
|
+
typeUrl: "/sparkdream.federation.v1.PeerPolicy";
|
|
143
|
+
value: Uint8Array;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* PeerPolicy defines per-peer federation policies.
|
|
147
|
+
* @name PeerPolicyAmino
|
|
148
|
+
* @package sparkdream.federation.v1
|
|
149
|
+
* @see proto type: sparkdream.federation.v1.PeerPolicy
|
|
150
|
+
*/
|
|
151
|
+
export interface PeerPolicyAmino {
|
|
152
|
+
peer_id?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Content federation
|
|
155
|
+
*/
|
|
156
|
+
outbound_content_types?: string[];
|
|
157
|
+
inbound_content_types?: string[];
|
|
158
|
+
min_outbound_trust_level?: number;
|
|
159
|
+
inbound_rate_limit_per_epoch?: string;
|
|
160
|
+
outbound_rate_limit_per_epoch?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Reputation (Spark Dream peers only)
|
|
163
|
+
*/
|
|
164
|
+
allow_reputation_queries?: boolean;
|
|
165
|
+
accept_reputation_attestations?: boolean;
|
|
166
|
+
max_trust_credit?: number;
|
|
167
|
+
/**
|
|
168
|
+
* Moderation
|
|
169
|
+
*/
|
|
170
|
+
require_review?: boolean;
|
|
171
|
+
blocked_identities?: string[];
|
|
172
|
+
}
|
|
173
|
+
export interface PeerPolicyAminoMsg {
|
|
174
|
+
type: "/sparkdream.federation.v1.PeerPolicy";
|
|
175
|
+
value: PeerPolicyAmino;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* BridgeOperator represents an off-chain bridge operator.
|
|
179
|
+
* @name BridgeOperator
|
|
180
|
+
* @package sparkdream.federation.v1
|
|
181
|
+
* @see proto type: sparkdream.federation.v1.BridgeOperator
|
|
182
|
+
*/
|
|
183
|
+
export interface BridgeOperator {
|
|
184
|
+
address: string;
|
|
185
|
+
peerId: string;
|
|
186
|
+
protocol: string;
|
|
187
|
+
endpoint: string;
|
|
188
|
+
stake: Coin;
|
|
189
|
+
registeredAt: bigint;
|
|
190
|
+
status: BridgeStatus;
|
|
191
|
+
contentSubmitted: bigint;
|
|
192
|
+
contentRejected: bigint;
|
|
193
|
+
slashCount: bigint;
|
|
194
|
+
revokedAt: bigint;
|
|
195
|
+
lastSubmissionAt: bigint;
|
|
196
|
+
unbondingEndTime: bigint;
|
|
197
|
+
contentVerified: bigint;
|
|
198
|
+
contentUnverified: bigint;
|
|
199
|
+
}
|
|
200
|
+
export interface BridgeOperatorProtoMsg {
|
|
201
|
+
typeUrl: "/sparkdream.federation.v1.BridgeOperator";
|
|
202
|
+
value: Uint8Array;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* BridgeOperator represents an off-chain bridge operator.
|
|
206
|
+
* @name BridgeOperatorAmino
|
|
207
|
+
* @package sparkdream.federation.v1
|
|
208
|
+
* @see proto type: sparkdream.federation.v1.BridgeOperator
|
|
209
|
+
*/
|
|
210
|
+
export interface BridgeOperatorAmino {
|
|
211
|
+
address?: string;
|
|
212
|
+
peer_id?: string;
|
|
213
|
+
protocol?: string;
|
|
214
|
+
endpoint?: string;
|
|
215
|
+
stake?: CoinAmino;
|
|
216
|
+
registered_at?: string;
|
|
217
|
+
status?: BridgeStatus;
|
|
218
|
+
content_submitted?: string;
|
|
219
|
+
content_rejected?: string;
|
|
220
|
+
slash_count?: string;
|
|
221
|
+
revoked_at?: string;
|
|
222
|
+
last_submission_at?: string;
|
|
223
|
+
unbonding_end_time?: string;
|
|
224
|
+
content_verified?: string;
|
|
225
|
+
content_unverified?: string;
|
|
226
|
+
}
|
|
227
|
+
export interface BridgeOperatorAminoMsg {
|
|
228
|
+
type: "/sparkdream.federation.v1.BridgeOperator";
|
|
229
|
+
value: BridgeOperatorAmino;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* VerificationRecord tracks a verifier's verification of specific content.
|
|
233
|
+
* @name VerificationRecord
|
|
234
|
+
* @package sparkdream.federation.v1
|
|
235
|
+
* @see proto type: sparkdream.federation.v1.VerificationRecord
|
|
236
|
+
*/
|
|
237
|
+
export interface VerificationRecord {
|
|
238
|
+
contentId: bigint;
|
|
239
|
+
verifier: string;
|
|
240
|
+
verifierHash: Uint8Array;
|
|
241
|
+
verifiedAt: bigint;
|
|
242
|
+
challengeWindowEnds: bigint;
|
|
243
|
+
committedAmount: string;
|
|
244
|
+
verifierBondSnapshot: string;
|
|
245
|
+
outcome: VerificationOutcome;
|
|
246
|
+
priorRejectedChallenges: number;
|
|
247
|
+
lastChallengeResolvedAt: bigint;
|
|
248
|
+
challenger: string;
|
|
249
|
+
}
|
|
250
|
+
export interface VerificationRecordProtoMsg {
|
|
251
|
+
typeUrl: "/sparkdream.federation.v1.VerificationRecord";
|
|
252
|
+
value: Uint8Array;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* VerificationRecord tracks a verifier's verification of specific content.
|
|
256
|
+
* @name VerificationRecordAmino
|
|
257
|
+
* @package sparkdream.federation.v1
|
|
258
|
+
* @see proto type: sparkdream.federation.v1.VerificationRecord
|
|
259
|
+
*/
|
|
260
|
+
export interface VerificationRecordAmino {
|
|
261
|
+
content_id?: string;
|
|
262
|
+
verifier?: string;
|
|
263
|
+
verifier_hash?: string;
|
|
264
|
+
verified_at?: string;
|
|
265
|
+
challenge_window_ends?: string;
|
|
266
|
+
committed_amount?: string;
|
|
267
|
+
verifier_bond_snapshot?: string;
|
|
268
|
+
outcome?: VerificationOutcome;
|
|
269
|
+
prior_rejected_challenges?: number;
|
|
270
|
+
last_challenge_resolved_at?: string;
|
|
271
|
+
challenger?: string;
|
|
272
|
+
}
|
|
273
|
+
export interface VerificationRecordAminoMsg {
|
|
274
|
+
type: "/sparkdream.federation.v1.VerificationRecord";
|
|
275
|
+
value: VerificationRecordAmino;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* ArbiterHashSubmission stores an arbiter's hash for quorum-based challenge resolution.
|
|
279
|
+
* @name ArbiterHashSubmission
|
|
280
|
+
* @package sparkdream.federation.v1
|
|
281
|
+
* @see proto type: sparkdream.federation.v1.ArbiterHashSubmission
|
|
282
|
+
*/
|
|
283
|
+
export interface ArbiterHashSubmission {
|
|
284
|
+
contentId: bigint;
|
|
285
|
+
contentHash: Uint8Array;
|
|
286
|
+
submittedAt: bigint;
|
|
287
|
+
operator: string;
|
|
288
|
+
nullifier: Uint8Array;
|
|
289
|
+
}
|
|
290
|
+
export interface ArbiterHashSubmissionProtoMsg {
|
|
291
|
+
typeUrl: "/sparkdream.federation.v1.ArbiterHashSubmission";
|
|
292
|
+
value: Uint8Array;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* ArbiterHashSubmission stores an arbiter's hash for quorum-based challenge resolution.
|
|
296
|
+
* @name ArbiterHashSubmissionAmino
|
|
297
|
+
* @package sparkdream.federation.v1
|
|
298
|
+
* @see proto type: sparkdream.federation.v1.ArbiterHashSubmission
|
|
299
|
+
*/
|
|
300
|
+
export interface ArbiterHashSubmissionAmino {
|
|
301
|
+
content_id?: string;
|
|
302
|
+
content_hash?: string;
|
|
303
|
+
submitted_at?: string;
|
|
304
|
+
operator?: string;
|
|
305
|
+
nullifier?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface ArbiterHashSubmissionAminoMsg {
|
|
308
|
+
type: "/sparkdream.federation.v1.ArbiterHashSubmission";
|
|
309
|
+
value: ArbiterHashSubmissionAmino;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* FederatedContent represents inbound content from a federation peer.
|
|
313
|
+
* @name FederatedContent
|
|
314
|
+
* @package sparkdream.federation.v1
|
|
315
|
+
* @see proto type: sparkdream.federation.v1.FederatedContent
|
|
316
|
+
*/
|
|
317
|
+
export interface FederatedContent {
|
|
318
|
+
id: bigint;
|
|
319
|
+
peerId: string;
|
|
320
|
+
remoteContentId: string;
|
|
321
|
+
contentType: string;
|
|
322
|
+
creatorIdentity: string;
|
|
323
|
+
creatorName: string;
|
|
324
|
+
title: string;
|
|
325
|
+
body: string;
|
|
326
|
+
contentUri: string;
|
|
327
|
+
protocolMetadata: Uint8Array;
|
|
328
|
+
remoteCreatedAt: bigint;
|
|
329
|
+
receivedAt: bigint;
|
|
330
|
+
submittedBy: string;
|
|
331
|
+
status: FederatedContentStatus;
|
|
332
|
+
expiresAt: bigint;
|
|
333
|
+
contentHash: Uint8Array;
|
|
334
|
+
}
|
|
335
|
+
export interface FederatedContentProtoMsg {
|
|
336
|
+
typeUrl: "/sparkdream.federation.v1.FederatedContent";
|
|
337
|
+
value: Uint8Array;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* FederatedContent represents inbound content from a federation peer.
|
|
341
|
+
* @name FederatedContentAmino
|
|
342
|
+
* @package sparkdream.federation.v1
|
|
343
|
+
* @see proto type: sparkdream.federation.v1.FederatedContent
|
|
344
|
+
*/
|
|
345
|
+
export interface FederatedContentAmino {
|
|
346
|
+
id?: string;
|
|
347
|
+
peer_id?: string;
|
|
348
|
+
remote_content_id?: string;
|
|
349
|
+
content_type?: string;
|
|
350
|
+
creator_identity?: string;
|
|
351
|
+
creator_name?: string;
|
|
352
|
+
title?: string;
|
|
353
|
+
body?: string;
|
|
354
|
+
content_uri?: string;
|
|
355
|
+
protocol_metadata?: string;
|
|
356
|
+
remote_created_at?: string;
|
|
357
|
+
received_at?: string;
|
|
358
|
+
submitted_by?: string;
|
|
359
|
+
status?: FederatedContentStatus;
|
|
360
|
+
expires_at?: string;
|
|
361
|
+
content_hash?: string;
|
|
362
|
+
}
|
|
363
|
+
export interface FederatedContentAminoMsg {
|
|
364
|
+
type: "/sparkdream.federation.v1.FederatedContent";
|
|
365
|
+
value: FederatedContentAmino;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* IdentityLink maps a local address to a remote identity on a federation peer.
|
|
369
|
+
* @name IdentityLink
|
|
370
|
+
* @package sparkdream.federation.v1
|
|
371
|
+
* @see proto type: sparkdream.federation.v1.IdentityLink
|
|
372
|
+
*/
|
|
373
|
+
export interface IdentityLink {
|
|
374
|
+
localAddress: string;
|
|
375
|
+
peerId: string;
|
|
376
|
+
remoteIdentity: string;
|
|
377
|
+
status: IdentityLinkStatus;
|
|
378
|
+
linkedAt: bigint;
|
|
379
|
+
verifiedAt: bigint;
|
|
380
|
+
/**
|
|
381
|
+
* Challenge bytes generated at LinkIdentity time and echo-checked when the
|
|
382
|
+
* confirmation packet returns from the remote peer (FEDERATION-S2-1).
|
|
383
|
+
*/
|
|
384
|
+
challenge: Uint8Array;
|
|
385
|
+
}
|
|
386
|
+
export interface IdentityLinkProtoMsg {
|
|
387
|
+
typeUrl: "/sparkdream.federation.v1.IdentityLink";
|
|
388
|
+
value: Uint8Array;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* IdentityLink maps a local address to a remote identity on a federation peer.
|
|
392
|
+
* @name IdentityLinkAmino
|
|
393
|
+
* @package sparkdream.federation.v1
|
|
394
|
+
* @see proto type: sparkdream.federation.v1.IdentityLink
|
|
395
|
+
*/
|
|
396
|
+
export interface IdentityLinkAmino {
|
|
397
|
+
local_address?: string;
|
|
398
|
+
peer_id?: string;
|
|
399
|
+
remote_identity?: string;
|
|
400
|
+
status?: IdentityLinkStatus;
|
|
401
|
+
linked_at?: string;
|
|
402
|
+
verified_at?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Challenge bytes generated at LinkIdentity time and echo-checked when the
|
|
405
|
+
* confirmation packet returns from the remote peer (FEDERATION-S2-1).
|
|
406
|
+
*/
|
|
407
|
+
challenge?: string;
|
|
408
|
+
}
|
|
409
|
+
export interface IdentityLinkAminoMsg {
|
|
410
|
+
type: "/sparkdream.federation.v1.IdentityLink";
|
|
411
|
+
value: IdentityLinkAmino;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* PendingIdentityChallenge stores an IBC identity verification challenge.
|
|
415
|
+
* @name PendingIdentityChallenge
|
|
416
|
+
* @package sparkdream.federation.v1
|
|
417
|
+
* @see proto type: sparkdream.federation.v1.PendingIdentityChallenge
|
|
418
|
+
*/
|
|
419
|
+
export interface PendingIdentityChallenge {
|
|
420
|
+
claimedAddress: string;
|
|
421
|
+
claimantChainPeerId: string;
|
|
422
|
+
claimantAddress: string;
|
|
423
|
+
challenge: Uint8Array;
|
|
424
|
+
receivedAt: bigint;
|
|
425
|
+
expiresAt: bigint;
|
|
426
|
+
}
|
|
427
|
+
export interface PendingIdentityChallengeProtoMsg {
|
|
428
|
+
typeUrl: "/sparkdream.federation.v1.PendingIdentityChallenge";
|
|
429
|
+
value: Uint8Array;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* PendingIdentityChallenge stores an IBC identity verification challenge.
|
|
433
|
+
* @name PendingIdentityChallengeAmino
|
|
434
|
+
* @package sparkdream.federation.v1
|
|
435
|
+
* @see proto type: sparkdream.federation.v1.PendingIdentityChallenge
|
|
436
|
+
*/
|
|
437
|
+
export interface PendingIdentityChallengeAmino {
|
|
438
|
+
claimed_address?: string;
|
|
439
|
+
claimant_chain_peer_id?: string;
|
|
440
|
+
claimant_address?: string;
|
|
441
|
+
challenge?: string;
|
|
442
|
+
received_at?: string;
|
|
443
|
+
expires_at?: string;
|
|
444
|
+
}
|
|
445
|
+
export interface PendingIdentityChallengeAminoMsg {
|
|
446
|
+
type: "/sparkdream.federation.v1.PendingIdentityChallenge";
|
|
447
|
+
value: PendingIdentityChallengeAmino;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* ReputationAttestation caches cross-chain reputation data.
|
|
451
|
+
* @name ReputationAttestation
|
|
452
|
+
* @package sparkdream.federation.v1
|
|
453
|
+
* @see proto type: sparkdream.federation.v1.ReputationAttestation
|
|
454
|
+
*/
|
|
455
|
+
export interface ReputationAttestation {
|
|
456
|
+
localAddress: string;
|
|
457
|
+
peerId: string;
|
|
458
|
+
remoteAddress: string;
|
|
459
|
+
remoteTrustLevel: number;
|
|
460
|
+
localTrustCredit: number;
|
|
461
|
+
remoteReputations: TagReputation[];
|
|
462
|
+
attestedAt: bigint;
|
|
463
|
+
expiresAt: bigint;
|
|
464
|
+
}
|
|
465
|
+
export interface ReputationAttestationProtoMsg {
|
|
466
|
+
typeUrl: "/sparkdream.federation.v1.ReputationAttestation";
|
|
467
|
+
value: Uint8Array;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* ReputationAttestation caches cross-chain reputation data.
|
|
471
|
+
* @name ReputationAttestationAmino
|
|
472
|
+
* @package sparkdream.federation.v1
|
|
473
|
+
* @see proto type: sparkdream.federation.v1.ReputationAttestation
|
|
474
|
+
*/
|
|
475
|
+
export interface ReputationAttestationAmino {
|
|
476
|
+
local_address?: string;
|
|
477
|
+
peer_id?: string;
|
|
478
|
+
remote_address?: string;
|
|
479
|
+
remote_trust_level?: number;
|
|
480
|
+
local_trust_credit?: number;
|
|
481
|
+
remote_reputations?: TagReputationAmino[];
|
|
482
|
+
attested_at?: string;
|
|
483
|
+
expires_at?: string;
|
|
484
|
+
}
|
|
485
|
+
export interface ReputationAttestationAminoMsg {
|
|
486
|
+
type: "/sparkdream.federation.v1.ReputationAttestation";
|
|
487
|
+
value: ReputationAttestationAmino;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* TagReputation stores a per-tag reputation score.
|
|
491
|
+
* @name TagReputation
|
|
492
|
+
* @package sparkdream.federation.v1
|
|
493
|
+
* @see proto type: sparkdream.federation.v1.TagReputation
|
|
494
|
+
*/
|
|
495
|
+
export interface TagReputation {
|
|
496
|
+
tag: string;
|
|
497
|
+
score: string;
|
|
498
|
+
}
|
|
499
|
+
export interface TagReputationProtoMsg {
|
|
500
|
+
typeUrl: "/sparkdream.federation.v1.TagReputation";
|
|
501
|
+
value: Uint8Array;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* TagReputation stores a per-tag reputation score.
|
|
505
|
+
* @name TagReputationAmino
|
|
506
|
+
* @package sparkdream.federation.v1
|
|
507
|
+
* @see proto type: sparkdream.federation.v1.TagReputation
|
|
508
|
+
*/
|
|
509
|
+
export interface TagReputationAmino {
|
|
510
|
+
tag?: string;
|
|
511
|
+
score?: string;
|
|
512
|
+
}
|
|
513
|
+
export interface TagReputationAminoMsg {
|
|
514
|
+
type: "/sparkdream.federation.v1.TagReputation";
|
|
515
|
+
value: TagReputationAmino;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* OutboundAttestation records content published to a federation peer.
|
|
519
|
+
* @name OutboundAttestation
|
|
520
|
+
* @package sparkdream.federation.v1
|
|
521
|
+
* @see proto type: sparkdream.federation.v1.OutboundAttestation
|
|
522
|
+
*/
|
|
523
|
+
export interface OutboundAttestation {
|
|
524
|
+
id: bigint;
|
|
525
|
+
peerId: string;
|
|
526
|
+
contentType: string;
|
|
527
|
+
localContentId: string;
|
|
528
|
+
creator: string;
|
|
529
|
+
submittedBy: string;
|
|
530
|
+
publishedAt: bigint;
|
|
531
|
+
}
|
|
532
|
+
export interface OutboundAttestationProtoMsg {
|
|
533
|
+
typeUrl: "/sparkdream.federation.v1.OutboundAttestation";
|
|
534
|
+
value: Uint8Array;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* OutboundAttestation records content published to a federation peer.
|
|
538
|
+
* @name OutboundAttestationAmino
|
|
539
|
+
* @package sparkdream.federation.v1
|
|
540
|
+
* @see proto type: sparkdream.federation.v1.OutboundAttestation
|
|
541
|
+
*/
|
|
542
|
+
export interface OutboundAttestationAmino {
|
|
543
|
+
id?: string;
|
|
544
|
+
peer_id?: string;
|
|
545
|
+
content_type?: string;
|
|
546
|
+
local_content_id?: string;
|
|
547
|
+
creator?: string;
|
|
548
|
+
submitted_by?: string;
|
|
549
|
+
published_at?: string;
|
|
550
|
+
}
|
|
551
|
+
export interface OutboundAttestationAminoMsg {
|
|
552
|
+
type: "/sparkdream.federation.v1.OutboundAttestation";
|
|
553
|
+
value: OutboundAttestationAmino;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* PeerRemovalState tracks cleanup progress for a removed peer.
|
|
557
|
+
* @name PeerRemovalState
|
|
558
|
+
* @package sparkdream.federation.v1
|
|
559
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalState
|
|
560
|
+
*/
|
|
561
|
+
export interface PeerRemovalState {
|
|
562
|
+
removedAt: bigint;
|
|
563
|
+
lastPrunedContentId: bigint;
|
|
564
|
+
contentDone: boolean;
|
|
565
|
+
linksDone: boolean;
|
|
566
|
+
attestationsDone: boolean;
|
|
567
|
+
outboundDone: boolean;
|
|
568
|
+
bridgesDone: boolean;
|
|
569
|
+
policyDone: boolean;
|
|
570
|
+
}
|
|
571
|
+
export interface PeerRemovalStateProtoMsg {
|
|
572
|
+
typeUrl: "/sparkdream.federation.v1.PeerRemovalState";
|
|
573
|
+
value: Uint8Array;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* PeerRemovalState tracks cleanup progress for a removed peer.
|
|
577
|
+
* @name PeerRemovalStateAmino
|
|
578
|
+
* @package sparkdream.federation.v1
|
|
579
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalState
|
|
580
|
+
*/
|
|
581
|
+
export interface PeerRemovalStateAmino {
|
|
582
|
+
removed_at?: string;
|
|
583
|
+
last_pruned_content_id?: string;
|
|
584
|
+
content_done?: boolean;
|
|
585
|
+
links_done?: boolean;
|
|
586
|
+
attestations_done?: boolean;
|
|
587
|
+
outbound_done?: boolean;
|
|
588
|
+
bridges_done?: boolean;
|
|
589
|
+
policy_done?: boolean;
|
|
590
|
+
}
|
|
591
|
+
export interface PeerRemovalStateAminoMsg {
|
|
592
|
+
type: "/sparkdream.federation.v1.PeerRemovalState";
|
|
593
|
+
value: PeerRemovalStateAmino;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Peer represents a federation peer (another Spark Dream chain or external protocol).
|
|
597
|
+
* @name Peer
|
|
598
|
+
* @package sparkdream.federation.v1
|
|
599
|
+
* @see proto type: sparkdream.federation.v1.Peer
|
|
600
|
+
*/
|
|
601
|
+
export declare const Peer: {
|
|
602
|
+
typeUrl: string;
|
|
603
|
+
encode(message: Peer, writer?: BinaryWriter): BinaryWriter;
|
|
604
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Peer;
|
|
605
|
+
fromPartial(object: DeepPartial<Peer>): Peer;
|
|
606
|
+
fromAmino(object: PeerAmino): Peer;
|
|
607
|
+
toAmino(message: Peer): PeerAmino;
|
|
608
|
+
fromAminoMsg(object: PeerAminoMsg): Peer;
|
|
609
|
+
fromProtoMsg(message: PeerProtoMsg): Peer;
|
|
610
|
+
toProto(message: Peer): Uint8Array;
|
|
611
|
+
toProtoMsg(message: Peer): PeerProtoMsg;
|
|
612
|
+
};
|
|
613
|
+
/**
|
|
614
|
+
* PeerPolicy defines per-peer federation policies.
|
|
615
|
+
* @name PeerPolicy
|
|
616
|
+
* @package sparkdream.federation.v1
|
|
617
|
+
* @see proto type: sparkdream.federation.v1.PeerPolicy
|
|
618
|
+
*/
|
|
619
|
+
export declare const PeerPolicy: {
|
|
620
|
+
typeUrl: string;
|
|
621
|
+
encode(message: PeerPolicy, writer?: BinaryWriter): BinaryWriter;
|
|
622
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PeerPolicy;
|
|
623
|
+
fromPartial(object: DeepPartial<PeerPolicy>): PeerPolicy;
|
|
624
|
+
fromAmino(object: PeerPolicyAmino): PeerPolicy;
|
|
625
|
+
toAmino(message: PeerPolicy): PeerPolicyAmino;
|
|
626
|
+
fromAminoMsg(object: PeerPolicyAminoMsg): PeerPolicy;
|
|
627
|
+
fromProtoMsg(message: PeerPolicyProtoMsg): PeerPolicy;
|
|
628
|
+
toProto(message: PeerPolicy): Uint8Array;
|
|
629
|
+
toProtoMsg(message: PeerPolicy): PeerPolicyProtoMsg;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* BridgeOperator represents an off-chain bridge operator.
|
|
633
|
+
* @name BridgeOperator
|
|
634
|
+
* @package sparkdream.federation.v1
|
|
635
|
+
* @see proto type: sparkdream.federation.v1.BridgeOperator
|
|
636
|
+
*/
|
|
637
|
+
export declare const BridgeOperator: {
|
|
638
|
+
typeUrl: string;
|
|
639
|
+
encode(message: BridgeOperator, writer?: BinaryWriter): BinaryWriter;
|
|
640
|
+
decode(input: BinaryReader | Uint8Array, length?: number): BridgeOperator;
|
|
641
|
+
fromPartial(object: DeepPartial<BridgeOperator>): BridgeOperator;
|
|
642
|
+
fromAmino(object: BridgeOperatorAmino): BridgeOperator;
|
|
643
|
+
toAmino(message: BridgeOperator): BridgeOperatorAmino;
|
|
644
|
+
fromAminoMsg(object: BridgeOperatorAminoMsg): BridgeOperator;
|
|
645
|
+
fromProtoMsg(message: BridgeOperatorProtoMsg): BridgeOperator;
|
|
646
|
+
toProto(message: BridgeOperator): Uint8Array;
|
|
647
|
+
toProtoMsg(message: BridgeOperator): BridgeOperatorProtoMsg;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* VerificationRecord tracks a verifier's verification of specific content.
|
|
651
|
+
* @name VerificationRecord
|
|
652
|
+
* @package sparkdream.federation.v1
|
|
653
|
+
* @see proto type: sparkdream.federation.v1.VerificationRecord
|
|
654
|
+
*/
|
|
655
|
+
export declare const VerificationRecord: {
|
|
656
|
+
typeUrl: string;
|
|
657
|
+
encode(message: VerificationRecord, writer?: BinaryWriter): BinaryWriter;
|
|
658
|
+
decode(input: BinaryReader | Uint8Array, length?: number): VerificationRecord;
|
|
659
|
+
fromPartial(object: DeepPartial<VerificationRecord>): VerificationRecord;
|
|
660
|
+
fromAmino(object: VerificationRecordAmino): VerificationRecord;
|
|
661
|
+
toAmino(message: VerificationRecord): VerificationRecordAmino;
|
|
662
|
+
fromAminoMsg(object: VerificationRecordAminoMsg): VerificationRecord;
|
|
663
|
+
fromProtoMsg(message: VerificationRecordProtoMsg): VerificationRecord;
|
|
664
|
+
toProto(message: VerificationRecord): Uint8Array;
|
|
665
|
+
toProtoMsg(message: VerificationRecord): VerificationRecordProtoMsg;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* ArbiterHashSubmission stores an arbiter's hash for quorum-based challenge resolution.
|
|
669
|
+
* @name ArbiterHashSubmission
|
|
670
|
+
* @package sparkdream.federation.v1
|
|
671
|
+
* @see proto type: sparkdream.federation.v1.ArbiterHashSubmission
|
|
672
|
+
*/
|
|
673
|
+
export declare const ArbiterHashSubmission: {
|
|
674
|
+
typeUrl: string;
|
|
675
|
+
encode(message: ArbiterHashSubmission, writer?: BinaryWriter): BinaryWriter;
|
|
676
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ArbiterHashSubmission;
|
|
677
|
+
fromPartial(object: DeepPartial<ArbiterHashSubmission>): ArbiterHashSubmission;
|
|
678
|
+
fromAmino(object: ArbiterHashSubmissionAmino): ArbiterHashSubmission;
|
|
679
|
+
toAmino(message: ArbiterHashSubmission): ArbiterHashSubmissionAmino;
|
|
680
|
+
fromAminoMsg(object: ArbiterHashSubmissionAminoMsg): ArbiterHashSubmission;
|
|
681
|
+
fromProtoMsg(message: ArbiterHashSubmissionProtoMsg): ArbiterHashSubmission;
|
|
682
|
+
toProto(message: ArbiterHashSubmission): Uint8Array;
|
|
683
|
+
toProtoMsg(message: ArbiterHashSubmission): ArbiterHashSubmissionProtoMsg;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* FederatedContent represents inbound content from a federation peer.
|
|
687
|
+
* @name FederatedContent
|
|
688
|
+
* @package sparkdream.federation.v1
|
|
689
|
+
* @see proto type: sparkdream.federation.v1.FederatedContent
|
|
690
|
+
*/
|
|
691
|
+
export declare const FederatedContent: {
|
|
692
|
+
typeUrl: string;
|
|
693
|
+
encode(message: FederatedContent, writer?: BinaryWriter): BinaryWriter;
|
|
694
|
+
decode(input: BinaryReader | Uint8Array, length?: number): FederatedContent;
|
|
695
|
+
fromPartial(object: DeepPartial<FederatedContent>): FederatedContent;
|
|
696
|
+
fromAmino(object: FederatedContentAmino): FederatedContent;
|
|
697
|
+
toAmino(message: FederatedContent): FederatedContentAmino;
|
|
698
|
+
fromAminoMsg(object: FederatedContentAminoMsg): FederatedContent;
|
|
699
|
+
fromProtoMsg(message: FederatedContentProtoMsg): FederatedContent;
|
|
700
|
+
toProto(message: FederatedContent): Uint8Array;
|
|
701
|
+
toProtoMsg(message: FederatedContent): FederatedContentProtoMsg;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* IdentityLink maps a local address to a remote identity on a federation peer.
|
|
705
|
+
* @name IdentityLink
|
|
706
|
+
* @package sparkdream.federation.v1
|
|
707
|
+
* @see proto type: sparkdream.federation.v1.IdentityLink
|
|
708
|
+
*/
|
|
709
|
+
export declare const IdentityLink: {
|
|
710
|
+
typeUrl: string;
|
|
711
|
+
encode(message: IdentityLink, writer?: BinaryWriter): BinaryWriter;
|
|
712
|
+
decode(input: BinaryReader | Uint8Array, length?: number): IdentityLink;
|
|
713
|
+
fromPartial(object: DeepPartial<IdentityLink>): IdentityLink;
|
|
714
|
+
fromAmino(object: IdentityLinkAmino): IdentityLink;
|
|
715
|
+
toAmino(message: IdentityLink): IdentityLinkAmino;
|
|
716
|
+
fromAminoMsg(object: IdentityLinkAminoMsg): IdentityLink;
|
|
717
|
+
fromProtoMsg(message: IdentityLinkProtoMsg): IdentityLink;
|
|
718
|
+
toProto(message: IdentityLink): Uint8Array;
|
|
719
|
+
toProtoMsg(message: IdentityLink): IdentityLinkProtoMsg;
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* PendingIdentityChallenge stores an IBC identity verification challenge.
|
|
723
|
+
* @name PendingIdentityChallenge
|
|
724
|
+
* @package sparkdream.federation.v1
|
|
725
|
+
* @see proto type: sparkdream.federation.v1.PendingIdentityChallenge
|
|
726
|
+
*/
|
|
727
|
+
export declare const PendingIdentityChallenge: {
|
|
728
|
+
typeUrl: string;
|
|
729
|
+
encode(message: PendingIdentityChallenge, writer?: BinaryWriter): BinaryWriter;
|
|
730
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PendingIdentityChallenge;
|
|
731
|
+
fromPartial(object: DeepPartial<PendingIdentityChallenge>): PendingIdentityChallenge;
|
|
732
|
+
fromAmino(object: PendingIdentityChallengeAmino): PendingIdentityChallenge;
|
|
733
|
+
toAmino(message: PendingIdentityChallenge): PendingIdentityChallengeAmino;
|
|
734
|
+
fromAminoMsg(object: PendingIdentityChallengeAminoMsg): PendingIdentityChallenge;
|
|
735
|
+
fromProtoMsg(message: PendingIdentityChallengeProtoMsg): PendingIdentityChallenge;
|
|
736
|
+
toProto(message: PendingIdentityChallenge): Uint8Array;
|
|
737
|
+
toProtoMsg(message: PendingIdentityChallenge): PendingIdentityChallengeProtoMsg;
|
|
738
|
+
};
|
|
739
|
+
/**
|
|
740
|
+
* ReputationAttestation caches cross-chain reputation data.
|
|
741
|
+
* @name ReputationAttestation
|
|
742
|
+
* @package sparkdream.federation.v1
|
|
743
|
+
* @see proto type: sparkdream.federation.v1.ReputationAttestation
|
|
744
|
+
*/
|
|
745
|
+
export declare const ReputationAttestation: {
|
|
746
|
+
typeUrl: string;
|
|
747
|
+
encode(message: ReputationAttestation, writer?: BinaryWriter): BinaryWriter;
|
|
748
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ReputationAttestation;
|
|
749
|
+
fromPartial(object: DeepPartial<ReputationAttestation>): ReputationAttestation;
|
|
750
|
+
fromAmino(object: ReputationAttestationAmino): ReputationAttestation;
|
|
751
|
+
toAmino(message: ReputationAttestation): ReputationAttestationAmino;
|
|
752
|
+
fromAminoMsg(object: ReputationAttestationAminoMsg): ReputationAttestation;
|
|
753
|
+
fromProtoMsg(message: ReputationAttestationProtoMsg): ReputationAttestation;
|
|
754
|
+
toProto(message: ReputationAttestation): Uint8Array;
|
|
755
|
+
toProtoMsg(message: ReputationAttestation): ReputationAttestationProtoMsg;
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* TagReputation stores a per-tag reputation score.
|
|
759
|
+
* @name TagReputation
|
|
760
|
+
* @package sparkdream.federation.v1
|
|
761
|
+
* @see proto type: sparkdream.federation.v1.TagReputation
|
|
762
|
+
*/
|
|
763
|
+
export declare const TagReputation: {
|
|
764
|
+
typeUrl: string;
|
|
765
|
+
encode(message: TagReputation, writer?: BinaryWriter): BinaryWriter;
|
|
766
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TagReputation;
|
|
767
|
+
fromPartial(object: DeepPartial<TagReputation>): TagReputation;
|
|
768
|
+
fromAmino(object: TagReputationAmino): TagReputation;
|
|
769
|
+
toAmino(message: TagReputation): TagReputationAmino;
|
|
770
|
+
fromAminoMsg(object: TagReputationAminoMsg): TagReputation;
|
|
771
|
+
fromProtoMsg(message: TagReputationProtoMsg): TagReputation;
|
|
772
|
+
toProto(message: TagReputation): Uint8Array;
|
|
773
|
+
toProtoMsg(message: TagReputation): TagReputationProtoMsg;
|
|
774
|
+
};
|
|
775
|
+
/**
|
|
776
|
+
* OutboundAttestation records content published to a federation peer.
|
|
777
|
+
* @name OutboundAttestation
|
|
778
|
+
* @package sparkdream.federation.v1
|
|
779
|
+
* @see proto type: sparkdream.federation.v1.OutboundAttestation
|
|
780
|
+
*/
|
|
781
|
+
export declare const OutboundAttestation: {
|
|
782
|
+
typeUrl: string;
|
|
783
|
+
encode(message: OutboundAttestation, writer?: BinaryWriter): BinaryWriter;
|
|
784
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OutboundAttestation;
|
|
785
|
+
fromPartial(object: DeepPartial<OutboundAttestation>): OutboundAttestation;
|
|
786
|
+
fromAmino(object: OutboundAttestationAmino): OutboundAttestation;
|
|
787
|
+
toAmino(message: OutboundAttestation): OutboundAttestationAmino;
|
|
788
|
+
fromAminoMsg(object: OutboundAttestationAminoMsg): OutboundAttestation;
|
|
789
|
+
fromProtoMsg(message: OutboundAttestationProtoMsg): OutboundAttestation;
|
|
790
|
+
toProto(message: OutboundAttestation): Uint8Array;
|
|
791
|
+
toProtoMsg(message: OutboundAttestation): OutboundAttestationProtoMsg;
|
|
792
|
+
};
|
|
793
|
+
/**
|
|
794
|
+
* PeerRemovalState tracks cleanup progress for a removed peer.
|
|
795
|
+
* @name PeerRemovalState
|
|
796
|
+
* @package sparkdream.federation.v1
|
|
797
|
+
* @see proto type: sparkdream.federation.v1.PeerRemovalState
|
|
798
|
+
*/
|
|
799
|
+
export declare const PeerRemovalState: {
|
|
800
|
+
typeUrl: string;
|
|
801
|
+
encode(message: PeerRemovalState, writer?: BinaryWriter): BinaryWriter;
|
|
802
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PeerRemovalState;
|
|
803
|
+
fromPartial(object: DeepPartial<PeerRemovalState>): PeerRemovalState;
|
|
804
|
+
fromAmino(object: PeerRemovalStateAmino): PeerRemovalState;
|
|
805
|
+
toAmino(message: PeerRemovalState): PeerRemovalStateAmino;
|
|
806
|
+
fromAminoMsg(object: PeerRemovalStateAminoMsg): PeerRemovalState;
|
|
807
|
+
fromProtoMsg(message: PeerRemovalStateProtoMsg): PeerRemovalState;
|
|
808
|
+
toProto(message: PeerRemovalState): Uint8Array;
|
|
809
|
+
toProtoMsg(message: PeerRemovalState): PeerRemovalStateProtoMsg;
|
|
810
|
+
};
|