@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,142 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { setPaginationParams } from "../../../helpers";
|
|
3
|
+
export class LCDQueryClient {
|
|
4
|
+
req;
|
|
5
|
+
constructor({ requestClient }) {
|
|
6
|
+
this.req = requestClient;
|
|
7
|
+
}
|
|
8
|
+
/* Params */
|
|
9
|
+
params = async (_params = {}) => {
|
|
10
|
+
const endpoint = `sparkdream/federation/v1/params`;
|
|
11
|
+
return await this.req.get(endpoint);
|
|
12
|
+
};
|
|
13
|
+
/* GetPeer */
|
|
14
|
+
getPeer = async (params) => {
|
|
15
|
+
const endpoint = `sparkdream/federation/v1/get_peer/${params.peerId}`;
|
|
16
|
+
return await this.req.get(endpoint);
|
|
17
|
+
};
|
|
18
|
+
/* ListPeers */
|
|
19
|
+
listPeers = async (params = {
|
|
20
|
+
pagination: undefined
|
|
21
|
+
}) => {
|
|
22
|
+
const options = {
|
|
23
|
+
params: {}
|
|
24
|
+
};
|
|
25
|
+
if (typeof params?.pagination !== "undefined") {
|
|
26
|
+
setPaginationParams(options, params.pagination);
|
|
27
|
+
}
|
|
28
|
+
const endpoint = `sparkdream/federation/v1/list_peers`;
|
|
29
|
+
return await this.req.get(endpoint, options);
|
|
30
|
+
};
|
|
31
|
+
/* GetPeerPolicy */
|
|
32
|
+
getPeerPolicy = async (params) => {
|
|
33
|
+
const endpoint = `sparkdream/federation/v1/get_peer_policy/${params.peerId}`;
|
|
34
|
+
return await this.req.get(endpoint);
|
|
35
|
+
};
|
|
36
|
+
/* GetBridgeOperator */
|
|
37
|
+
getBridgeOperator = async (params) => {
|
|
38
|
+
const endpoint = `sparkdream/federation/v1/get_bridge_operator/${params.address}/${params.peerId}`;
|
|
39
|
+
return await this.req.get(endpoint);
|
|
40
|
+
};
|
|
41
|
+
/* ListBridgeOperators */
|
|
42
|
+
listBridgeOperators = async (params = {
|
|
43
|
+
pagination: undefined
|
|
44
|
+
}) => {
|
|
45
|
+
const options = {
|
|
46
|
+
params: {}
|
|
47
|
+
};
|
|
48
|
+
if (typeof params?.pagination !== "undefined") {
|
|
49
|
+
setPaginationParams(options, params.pagination);
|
|
50
|
+
}
|
|
51
|
+
const endpoint = `sparkdream/federation/v1/list_bridge_operators`;
|
|
52
|
+
return await this.req.get(endpoint, options);
|
|
53
|
+
};
|
|
54
|
+
/* GetFederatedContent */
|
|
55
|
+
getFederatedContent = async (params) => {
|
|
56
|
+
const endpoint = `sparkdream/federation/v1/get_federated_content/${params.id}`;
|
|
57
|
+
return await this.req.get(endpoint);
|
|
58
|
+
};
|
|
59
|
+
/* ListFederatedContent */
|
|
60
|
+
listFederatedContent = async (params = {
|
|
61
|
+
pagination: undefined
|
|
62
|
+
}) => {
|
|
63
|
+
const options = {
|
|
64
|
+
params: {}
|
|
65
|
+
};
|
|
66
|
+
if (typeof params?.pagination !== "undefined") {
|
|
67
|
+
setPaginationParams(options, params.pagination);
|
|
68
|
+
}
|
|
69
|
+
const endpoint = `sparkdream/federation/v1/list_federated_content`;
|
|
70
|
+
return await this.req.get(endpoint, options);
|
|
71
|
+
};
|
|
72
|
+
/* GetIdentityLink */
|
|
73
|
+
getIdentityLink = async (params) => {
|
|
74
|
+
const endpoint = `sparkdream/federation/v1/get_identity_link/${params.localAddress}/${params.peerId}`;
|
|
75
|
+
return await this.req.get(endpoint);
|
|
76
|
+
};
|
|
77
|
+
/* ListIdentityLinks */
|
|
78
|
+
listIdentityLinks = async (params = {
|
|
79
|
+
pagination: undefined
|
|
80
|
+
}) => {
|
|
81
|
+
const options = {
|
|
82
|
+
params: {}
|
|
83
|
+
};
|
|
84
|
+
if (typeof params?.pagination !== "undefined") {
|
|
85
|
+
setPaginationParams(options, params.pagination);
|
|
86
|
+
}
|
|
87
|
+
const endpoint = `sparkdream/federation/v1/list_identity_links`;
|
|
88
|
+
return await this.req.get(endpoint, options);
|
|
89
|
+
};
|
|
90
|
+
/* ResolveRemoteIdentity */
|
|
91
|
+
resolveRemoteIdentity = async (params) => {
|
|
92
|
+
const endpoint = `sparkdream/federation/v1/resolve_remote_identity/${params.peerId}/${params.remoteIdentity}`;
|
|
93
|
+
return await this.req.get(endpoint);
|
|
94
|
+
};
|
|
95
|
+
/* GetPendingIdentityChallenge */
|
|
96
|
+
getPendingIdentityChallenge = async (params) => {
|
|
97
|
+
const endpoint = `sparkdream/federation/v1/get_pending_identity_challenge/${params.claimedAddress}/${params.peerId}`;
|
|
98
|
+
return await this.req.get(endpoint);
|
|
99
|
+
};
|
|
100
|
+
/* ListPendingIdentityChallenges */
|
|
101
|
+
listPendingIdentityChallenges = async (params) => {
|
|
102
|
+
const options = {
|
|
103
|
+
params: {}
|
|
104
|
+
};
|
|
105
|
+
if (typeof params?.pagination !== "undefined") {
|
|
106
|
+
setPaginationParams(options, params.pagination);
|
|
107
|
+
}
|
|
108
|
+
const endpoint = `sparkdream/federation/v1/list_pending_identity_challenges/${params.claimedAddress}`;
|
|
109
|
+
return await this.req.get(endpoint, options);
|
|
110
|
+
};
|
|
111
|
+
/* GetReputationAttestation */
|
|
112
|
+
getReputationAttestation = async (params) => {
|
|
113
|
+
const endpoint = `sparkdream/federation/v1/get_reputation_attestation/${params.localAddress}/${params.peerId}`;
|
|
114
|
+
return await this.req.get(endpoint);
|
|
115
|
+
};
|
|
116
|
+
/* ListOutboundAttestations */
|
|
117
|
+
listOutboundAttestations = async (params = {
|
|
118
|
+
pagination: undefined
|
|
119
|
+
}) => {
|
|
120
|
+
const options = {
|
|
121
|
+
params: {}
|
|
122
|
+
};
|
|
123
|
+
if (typeof params?.pagination !== "undefined") {
|
|
124
|
+
setPaginationParams(options, params.pagination);
|
|
125
|
+
}
|
|
126
|
+
const endpoint = `sparkdream/federation/v1/list_outbound_attestations`;
|
|
127
|
+
return await this.req.get(endpoint, options);
|
|
128
|
+
};
|
|
129
|
+
/* VerifierActivity returns federation-specific per-verifier counters
|
|
130
|
+
(verifications, upheld, overturned, consecutive streaks). The generic
|
|
131
|
+
bond/status record lives in x/rep under
|
|
132
|
+
BondedRole(ROLE_TYPE_FEDERATION_VERIFIER, addr). */
|
|
133
|
+
verifierActivity = async (params) => {
|
|
134
|
+
const endpoint = `sparkdream/federation/v1/verifier_activity/${params.address}`;
|
|
135
|
+
return await this.req.get(endpoint);
|
|
136
|
+
};
|
|
137
|
+
/* GetVerificationRecord */
|
|
138
|
+
getVerificationRecord = async (params) => {
|
|
139
|
+
const endpoint = `sparkdream/federation/v1/get_verification_record/${params.contentId}`;
|
|
140
|
+
return await this.req.get(endpoint);
|
|
141
|
+
};
|
|
142
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryGetPeerRequest, QueryGetPeerResponse, QueryListPeersRequest, QueryListPeersResponse, QueryGetPeerPolicyRequest, QueryGetPeerPolicyResponse, QueryGetBridgeOperatorRequest, QueryGetBridgeOperatorResponse, QueryListBridgeOperatorsRequest, QueryListBridgeOperatorsResponse, QueryGetFederatedContentRequest, QueryGetFederatedContentResponse, QueryListFederatedContentRequest, QueryListFederatedContentResponse, QueryGetIdentityLinkRequest, QueryGetIdentityLinkResponse, QueryListIdentityLinksRequest, QueryListIdentityLinksResponse, QueryResolveRemoteIdentityRequest, QueryResolveRemoteIdentityResponse, QueryGetPendingIdentityChallengeRequest, QueryGetPendingIdentityChallengeResponse, QueryListPendingIdentityChallengesRequest, QueryListPendingIdentityChallengesResponse, QueryGetReputationAttestationRequest, QueryGetReputationAttestationResponse, QueryListOutboundAttestationsRequest, QueryListOutboundAttestationsResponse, QueryVerifierActivityRequest, QueryVerifierActivityResponse, QueryGetVerificationRecordRequest, QueryGetVerificationRecordResponse } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
}
|
|
9
|
+
/* Params */
|
|
10
|
+
params = async (request = {}) => {
|
|
11
|
+
const data = QueryParamsRequest.encode(request).finish();
|
|
12
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "Params", data);
|
|
13
|
+
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
14
|
+
};
|
|
15
|
+
/* GetPeer */
|
|
16
|
+
getPeer = async (request) => {
|
|
17
|
+
const data = QueryGetPeerRequest.encode(request).finish();
|
|
18
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetPeer", data);
|
|
19
|
+
return promise.then(data => QueryGetPeerResponse.decode(new BinaryReader(data)));
|
|
20
|
+
};
|
|
21
|
+
/* ListPeers */
|
|
22
|
+
listPeers = async (request = {
|
|
23
|
+
pagination: undefined
|
|
24
|
+
}) => {
|
|
25
|
+
const data = QueryListPeersRequest.encode(request).finish();
|
|
26
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListPeers", data);
|
|
27
|
+
return promise.then(data => QueryListPeersResponse.decode(new BinaryReader(data)));
|
|
28
|
+
};
|
|
29
|
+
/* GetPeerPolicy */
|
|
30
|
+
getPeerPolicy = async (request) => {
|
|
31
|
+
const data = QueryGetPeerPolicyRequest.encode(request).finish();
|
|
32
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetPeerPolicy", data);
|
|
33
|
+
return promise.then(data => QueryGetPeerPolicyResponse.decode(new BinaryReader(data)));
|
|
34
|
+
};
|
|
35
|
+
/* GetBridgeOperator */
|
|
36
|
+
getBridgeOperator = async (request) => {
|
|
37
|
+
const data = QueryGetBridgeOperatorRequest.encode(request).finish();
|
|
38
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetBridgeOperator", data);
|
|
39
|
+
return promise.then(data => QueryGetBridgeOperatorResponse.decode(new BinaryReader(data)));
|
|
40
|
+
};
|
|
41
|
+
/* ListBridgeOperators */
|
|
42
|
+
listBridgeOperators = async (request = {
|
|
43
|
+
pagination: undefined
|
|
44
|
+
}) => {
|
|
45
|
+
const data = QueryListBridgeOperatorsRequest.encode(request).finish();
|
|
46
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListBridgeOperators", data);
|
|
47
|
+
return promise.then(data => QueryListBridgeOperatorsResponse.decode(new BinaryReader(data)));
|
|
48
|
+
};
|
|
49
|
+
/* GetFederatedContent */
|
|
50
|
+
getFederatedContent = async (request) => {
|
|
51
|
+
const data = QueryGetFederatedContentRequest.encode(request).finish();
|
|
52
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetFederatedContent", data);
|
|
53
|
+
return promise.then(data => QueryGetFederatedContentResponse.decode(new BinaryReader(data)));
|
|
54
|
+
};
|
|
55
|
+
/* ListFederatedContent */
|
|
56
|
+
listFederatedContent = async (request = {
|
|
57
|
+
pagination: undefined
|
|
58
|
+
}) => {
|
|
59
|
+
const data = QueryListFederatedContentRequest.encode(request).finish();
|
|
60
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListFederatedContent", data);
|
|
61
|
+
return promise.then(data => QueryListFederatedContentResponse.decode(new BinaryReader(data)));
|
|
62
|
+
};
|
|
63
|
+
/* GetIdentityLink */
|
|
64
|
+
getIdentityLink = async (request) => {
|
|
65
|
+
const data = QueryGetIdentityLinkRequest.encode(request).finish();
|
|
66
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetIdentityLink", data);
|
|
67
|
+
return promise.then(data => QueryGetIdentityLinkResponse.decode(new BinaryReader(data)));
|
|
68
|
+
};
|
|
69
|
+
/* ListIdentityLinks */
|
|
70
|
+
listIdentityLinks = async (request = {
|
|
71
|
+
pagination: undefined
|
|
72
|
+
}) => {
|
|
73
|
+
const data = QueryListIdentityLinksRequest.encode(request).finish();
|
|
74
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListIdentityLinks", data);
|
|
75
|
+
return promise.then(data => QueryListIdentityLinksResponse.decode(new BinaryReader(data)));
|
|
76
|
+
};
|
|
77
|
+
/* ResolveRemoteIdentity */
|
|
78
|
+
resolveRemoteIdentity = async (request) => {
|
|
79
|
+
const data = QueryResolveRemoteIdentityRequest.encode(request).finish();
|
|
80
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ResolveRemoteIdentity", data);
|
|
81
|
+
return promise.then(data => QueryResolveRemoteIdentityResponse.decode(new BinaryReader(data)));
|
|
82
|
+
};
|
|
83
|
+
/* GetPendingIdentityChallenge */
|
|
84
|
+
getPendingIdentityChallenge = async (request) => {
|
|
85
|
+
const data = QueryGetPendingIdentityChallengeRequest.encode(request).finish();
|
|
86
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetPendingIdentityChallenge", data);
|
|
87
|
+
return promise.then(data => QueryGetPendingIdentityChallengeResponse.decode(new BinaryReader(data)));
|
|
88
|
+
};
|
|
89
|
+
/* ListPendingIdentityChallenges */
|
|
90
|
+
listPendingIdentityChallenges = async (request) => {
|
|
91
|
+
const data = QueryListPendingIdentityChallengesRequest.encode(request).finish();
|
|
92
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListPendingIdentityChallenges", data);
|
|
93
|
+
return promise.then(data => QueryListPendingIdentityChallengesResponse.decode(new BinaryReader(data)));
|
|
94
|
+
};
|
|
95
|
+
/* GetReputationAttestation */
|
|
96
|
+
getReputationAttestation = async (request) => {
|
|
97
|
+
const data = QueryGetReputationAttestationRequest.encode(request).finish();
|
|
98
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetReputationAttestation", data);
|
|
99
|
+
return promise.then(data => QueryGetReputationAttestationResponse.decode(new BinaryReader(data)));
|
|
100
|
+
};
|
|
101
|
+
/* ListOutboundAttestations */
|
|
102
|
+
listOutboundAttestations = async (request = {
|
|
103
|
+
pagination: undefined
|
|
104
|
+
}) => {
|
|
105
|
+
const data = QueryListOutboundAttestationsRequest.encode(request).finish();
|
|
106
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "ListOutboundAttestations", data);
|
|
107
|
+
return promise.then(data => QueryListOutboundAttestationsResponse.decode(new BinaryReader(data)));
|
|
108
|
+
};
|
|
109
|
+
/* VerifierActivity returns federation-specific per-verifier counters
|
|
110
|
+
(verifications, upheld, overturned, consecutive streaks). The generic
|
|
111
|
+
bond/status record lives in x/rep under
|
|
112
|
+
BondedRole(ROLE_TYPE_FEDERATION_VERIFIER, addr). */
|
|
113
|
+
verifierActivity = async (request) => {
|
|
114
|
+
const data = QueryVerifierActivityRequest.encode(request).finish();
|
|
115
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "VerifierActivity", data);
|
|
116
|
+
return promise.then(data => QueryVerifierActivityResponse.decode(new BinaryReader(data)));
|
|
117
|
+
};
|
|
118
|
+
/* GetVerificationRecord */
|
|
119
|
+
getVerificationRecord = async (request) => {
|
|
120
|
+
const data = QueryGetVerificationRecordRequest.encode(request).finish();
|
|
121
|
+
const promise = this.rpc.request("sparkdream.federation.v1.Query", "GetVerificationRecord", data);
|
|
122
|
+
return promise.then(data => QueryGetVerificationRecordResponse.decode(new BinaryReader(data)));
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export const createRpcQueryExtension = (base) => {
|
|
126
|
+
const rpc = createProtobufRpcClient(base);
|
|
127
|
+
const queryService = new QueryClientImpl(rpc);
|
|
128
|
+
return {
|
|
129
|
+
params(request) {
|
|
130
|
+
return queryService.params(request);
|
|
131
|
+
},
|
|
132
|
+
getPeer(request) {
|
|
133
|
+
return queryService.getPeer(request);
|
|
134
|
+
},
|
|
135
|
+
listPeers(request) {
|
|
136
|
+
return queryService.listPeers(request);
|
|
137
|
+
},
|
|
138
|
+
getPeerPolicy(request) {
|
|
139
|
+
return queryService.getPeerPolicy(request);
|
|
140
|
+
},
|
|
141
|
+
getBridgeOperator(request) {
|
|
142
|
+
return queryService.getBridgeOperator(request);
|
|
143
|
+
},
|
|
144
|
+
listBridgeOperators(request) {
|
|
145
|
+
return queryService.listBridgeOperators(request);
|
|
146
|
+
},
|
|
147
|
+
getFederatedContent(request) {
|
|
148
|
+
return queryService.getFederatedContent(request);
|
|
149
|
+
},
|
|
150
|
+
listFederatedContent(request) {
|
|
151
|
+
return queryService.listFederatedContent(request);
|
|
152
|
+
},
|
|
153
|
+
getIdentityLink(request) {
|
|
154
|
+
return queryService.getIdentityLink(request);
|
|
155
|
+
},
|
|
156
|
+
listIdentityLinks(request) {
|
|
157
|
+
return queryService.listIdentityLinks(request);
|
|
158
|
+
},
|
|
159
|
+
resolveRemoteIdentity(request) {
|
|
160
|
+
return queryService.resolveRemoteIdentity(request);
|
|
161
|
+
},
|
|
162
|
+
getPendingIdentityChallenge(request) {
|
|
163
|
+
return queryService.getPendingIdentityChallenge(request);
|
|
164
|
+
},
|
|
165
|
+
listPendingIdentityChallenges(request) {
|
|
166
|
+
return queryService.listPendingIdentityChallenges(request);
|
|
167
|
+
},
|
|
168
|
+
getReputationAttestation(request) {
|
|
169
|
+
return queryService.getReputationAttestation(request);
|
|
170
|
+
},
|
|
171
|
+
listOutboundAttestations(request) {
|
|
172
|
+
return queryService.listOutboundAttestations(request);
|
|
173
|
+
},
|
|
174
|
+
verifierActivity(request) {
|
|
175
|
+
return queryService.verifierActivity(request);
|
|
176
|
+
},
|
|
177
|
+
getVerificationRecord(request) {
|
|
178
|
+
return queryService.getVerificationRecord(request);
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgUpdateParams, MsgRegisterPeer, MsgRemovePeer, MsgSuspendPeer, MsgResumePeer, MsgUpdatePeerPolicy, MsgRegisterBridge, MsgRevokeBridge, MsgSlashBridge, MsgUpdateBridge, MsgUnbondBridge, MsgTopUpBridgeStake, MsgSubmitFederatedContent, MsgFederateContent, MsgAttestOutbound, MsgModerateContent, MsgLinkIdentity, MsgUnlinkIdentity, MsgConfirmIdentityLink, MsgRequestReputationAttestation, MsgVerifyContent, MsgChallengeVerification, MsgSubmitArbiterHash, MsgEscalateChallenge, MsgUpdateOperationalParams } from "./tx";
|
|
3
|
+
export const AminoConverter = {
|
|
4
|
+
"/sparkdream.federation.v1.MsgUpdateParams": {
|
|
5
|
+
aminoType: "sparkdream/x/federation/MsgUpdateParams",
|
|
6
|
+
toAmino: MsgUpdateParams.toAmino,
|
|
7
|
+
fromAmino: MsgUpdateParams.fromAmino
|
|
8
|
+
},
|
|
9
|
+
"/sparkdream.federation.v1.MsgRegisterPeer": {
|
|
10
|
+
aminoType: "/sparkdream.federation.v1.MsgRegisterPeer",
|
|
11
|
+
toAmino: MsgRegisterPeer.toAmino,
|
|
12
|
+
fromAmino: MsgRegisterPeer.fromAmino
|
|
13
|
+
},
|
|
14
|
+
"/sparkdream.federation.v1.MsgRemovePeer": {
|
|
15
|
+
aminoType: "/sparkdream.federation.v1.MsgRemovePeer",
|
|
16
|
+
toAmino: MsgRemovePeer.toAmino,
|
|
17
|
+
fromAmino: MsgRemovePeer.fromAmino
|
|
18
|
+
},
|
|
19
|
+
"/sparkdream.federation.v1.MsgSuspendPeer": {
|
|
20
|
+
aminoType: "/sparkdream.federation.v1.MsgSuspendPeer",
|
|
21
|
+
toAmino: MsgSuspendPeer.toAmino,
|
|
22
|
+
fromAmino: MsgSuspendPeer.fromAmino
|
|
23
|
+
},
|
|
24
|
+
"/sparkdream.federation.v1.MsgResumePeer": {
|
|
25
|
+
aminoType: "/sparkdream.federation.v1.MsgResumePeer",
|
|
26
|
+
toAmino: MsgResumePeer.toAmino,
|
|
27
|
+
fromAmino: MsgResumePeer.fromAmino
|
|
28
|
+
},
|
|
29
|
+
"/sparkdream.federation.v1.MsgUpdatePeerPolicy": {
|
|
30
|
+
aminoType: "/sparkdream.federation.v1.MsgUpdatePeerPolicy",
|
|
31
|
+
toAmino: MsgUpdatePeerPolicy.toAmino,
|
|
32
|
+
fromAmino: MsgUpdatePeerPolicy.fromAmino
|
|
33
|
+
},
|
|
34
|
+
"/sparkdream.federation.v1.MsgRegisterBridge": {
|
|
35
|
+
aminoType: "/sparkdream.federation.v1.MsgRegisterBridge",
|
|
36
|
+
toAmino: MsgRegisterBridge.toAmino,
|
|
37
|
+
fromAmino: MsgRegisterBridge.fromAmino
|
|
38
|
+
},
|
|
39
|
+
"/sparkdream.federation.v1.MsgRevokeBridge": {
|
|
40
|
+
aminoType: "/sparkdream.federation.v1.MsgRevokeBridge",
|
|
41
|
+
toAmino: MsgRevokeBridge.toAmino,
|
|
42
|
+
fromAmino: MsgRevokeBridge.fromAmino
|
|
43
|
+
},
|
|
44
|
+
"/sparkdream.federation.v1.MsgSlashBridge": {
|
|
45
|
+
aminoType: "/sparkdream.federation.v1.MsgSlashBridge",
|
|
46
|
+
toAmino: MsgSlashBridge.toAmino,
|
|
47
|
+
fromAmino: MsgSlashBridge.fromAmino
|
|
48
|
+
},
|
|
49
|
+
"/sparkdream.federation.v1.MsgUpdateBridge": {
|
|
50
|
+
aminoType: "/sparkdream.federation.v1.MsgUpdateBridge",
|
|
51
|
+
toAmino: MsgUpdateBridge.toAmino,
|
|
52
|
+
fromAmino: MsgUpdateBridge.fromAmino
|
|
53
|
+
},
|
|
54
|
+
"/sparkdream.federation.v1.MsgUnbondBridge": {
|
|
55
|
+
aminoType: "/sparkdream.federation.v1.MsgUnbondBridge",
|
|
56
|
+
toAmino: MsgUnbondBridge.toAmino,
|
|
57
|
+
fromAmino: MsgUnbondBridge.fromAmino
|
|
58
|
+
},
|
|
59
|
+
"/sparkdream.federation.v1.MsgTopUpBridgeStake": {
|
|
60
|
+
aminoType: "/sparkdream.federation.v1.MsgTopUpBridgeStake",
|
|
61
|
+
toAmino: MsgTopUpBridgeStake.toAmino,
|
|
62
|
+
fromAmino: MsgTopUpBridgeStake.fromAmino
|
|
63
|
+
},
|
|
64
|
+
"/sparkdream.federation.v1.MsgSubmitFederatedContent": {
|
|
65
|
+
aminoType: "/sparkdream.federation.v1.MsgSubmitFederatedContent",
|
|
66
|
+
toAmino: MsgSubmitFederatedContent.toAmino,
|
|
67
|
+
fromAmino: MsgSubmitFederatedContent.fromAmino
|
|
68
|
+
},
|
|
69
|
+
"/sparkdream.federation.v1.MsgFederateContent": {
|
|
70
|
+
aminoType: "/sparkdream.federation.v1.MsgFederateContent",
|
|
71
|
+
toAmino: MsgFederateContent.toAmino,
|
|
72
|
+
fromAmino: MsgFederateContent.fromAmino
|
|
73
|
+
},
|
|
74
|
+
"/sparkdream.federation.v1.MsgAttestOutbound": {
|
|
75
|
+
aminoType: "/sparkdream.federation.v1.MsgAttestOutbound",
|
|
76
|
+
toAmino: MsgAttestOutbound.toAmino,
|
|
77
|
+
fromAmino: MsgAttestOutbound.fromAmino
|
|
78
|
+
},
|
|
79
|
+
"/sparkdream.federation.v1.MsgModerateContent": {
|
|
80
|
+
aminoType: "/sparkdream.federation.v1.MsgModerateContent",
|
|
81
|
+
toAmino: MsgModerateContent.toAmino,
|
|
82
|
+
fromAmino: MsgModerateContent.fromAmino
|
|
83
|
+
},
|
|
84
|
+
"/sparkdream.federation.v1.MsgLinkIdentity": {
|
|
85
|
+
aminoType: "/sparkdream.federation.v1.MsgLinkIdentity",
|
|
86
|
+
toAmino: MsgLinkIdentity.toAmino,
|
|
87
|
+
fromAmino: MsgLinkIdentity.fromAmino
|
|
88
|
+
},
|
|
89
|
+
"/sparkdream.federation.v1.MsgUnlinkIdentity": {
|
|
90
|
+
aminoType: "/sparkdream.federation.v1.MsgUnlinkIdentity",
|
|
91
|
+
toAmino: MsgUnlinkIdentity.toAmino,
|
|
92
|
+
fromAmino: MsgUnlinkIdentity.fromAmino
|
|
93
|
+
},
|
|
94
|
+
"/sparkdream.federation.v1.MsgConfirmIdentityLink": {
|
|
95
|
+
aminoType: "/sparkdream.federation.v1.MsgConfirmIdentityLink",
|
|
96
|
+
toAmino: MsgConfirmIdentityLink.toAmino,
|
|
97
|
+
fromAmino: MsgConfirmIdentityLink.fromAmino
|
|
98
|
+
},
|
|
99
|
+
"/sparkdream.federation.v1.MsgRequestReputationAttestation": {
|
|
100
|
+
aminoType: "/sparkdream.federation.v1.MsgRequestReputationAttestation",
|
|
101
|
+
toAmino: MsgRequestReputationAttestation.toAmino,
|
|
102
|
+
fromAmino: MsgRequestReputationAttestation.fromAmino
|
|
103
|
+
},
|
|
104
|
+
"/sparkdream.federation.v1.MsgVerifyContent": {
|
|
105
|
+
aminoType: "/sparkdream.federation.v1.MsgVerifyContent",
|
|
106
|
+
toAmino: MsgVerifyContent.toAmino,
|
|
107
|
+
fromAmino: MsgVerifyContent.fromAmino
|
|
108
|
+
},
|
|
109
|
+
"/sparkdream.federation.v1.MsgChallengeVerification": {
|
|
110
|
+
aminoType: "/sparkdream.federation.v1.MsgChallengeVerification",
|
|
111
|
+
toAmino: MsgChallengeVerification.toAmino,
|
|
112
|
+
fromAmino: MsgChallengeVerification.fromAmino
|
|
113
|
+
},
|
|
114
|
+
"/sparkdream.federation.v1.MsgSubmitArbiterHash": {
|
|
115
|
+
aminoType: "/sparkdream.federation.v1.MsgSubmitArbiterHash",
|
|
116
|
+
toAmino: MsgSubmitArbiterHash.toAmino,
|
|
117
|
+
fromAmino: MsgSubmitArbiterHash.fromAmino
|
|
118
|
+
},
|
|
119
|
+
"/sparkdream.federation.v1.MsgEscalateChallenge": {
|
|
120
|
+
aminoType: "/sparkdream.federation.v1.MsgEscalateChallenge",
|
|
121
|
+
toAmino: MsgEscalateChallenge.toAmino,
|
|
122
|
+
fromAmino: MsgEscalateChallenge.fromAmino
|
|
123
|
+
},
|
|
124
|
+
"/sparkdream.federation.v1.MsgUpdateOperationalParams": {
|
|
125
|
+
aminoType: "/sparkdream.federation.v1.MsgUpdateOperationalParams",
|
|
126
|
+
toAmino: MsgUpdateOperationalParams.toAmino,
|
|
127
|
+
fromAmino: MsgUpdateOperationalParams.fromAmino
|
|
128
|
+
}
|
|
129
|
+
};
|