@sparkdreamnft/sparkdreamjs 0.0.46 → 0.0.48
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/amino-schema.d.ts +5741 -0
- package/amino-schema.js +8 -0
- package/chain-amino.d.ts +61 -0
- package/chain-amino.js +670 -0
- package/esm/amino-schema.js +5 -0
- package/esm/chain-amino.js +665 -0
- package/esm/nested-amino.js +7 -1
- 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.amino.js +12 -473
- package/esm/sparkdream/artifact/v1/tx.js +13 -1
- package/esm/sparkdream/blog/v1/tx.amino.js +15 -135
- package/esm/sparkdream/collect/v1/tx.amino.js +15 -254
- package/esm/sparkdream/commons/v1/tx.amino.js +12 -258
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +15 -26
- package/esm/sparkdream/federation/v1/tx.amino.js +12 -174
- package/esm/sparkdream/forum/v1/tx.amino.js +15 -231
- package/esm/sparkdream/futarchy/v1/tx.amino.js +16 -38
- package/esm/sparkdream/guardian/v1/tx.amino.js +12 -33
- package/esm/sparkdream/name/v1/tx.amino.js +16 -63
- 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/tx.amino.js +12 -484
- package/esm/sparkdream/reveal/v1/tx.amino.js +15 -73
- package/esm/sparkdream/season/v1/tx.amino.js +12 -276
- package/esm/sparkdream/service/v1/tx.amino.js +16 -78
- package/esm/sparkdream/session/v1/tx.amino.js +16 -271
- package/esm/sparkdream/shield/v1/tx.amino.js +15 -80
- package/esm/sparkdream/sparkdream/v1/tx.amino.js +16 -8
- package/esm/sparkdream/split/v1/tx.amino.js +16 -8
- package/esm/sparkdream/vault/v1/tx.amino.js +12 -105
- package/nested-amino.d.ts +5 -1
- package/nested-amino.js +8 -1
- 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.amino.d.ts +1 -353
- package/sparkdream/artifact/v1/tx.amino.js +47 -475
- package/sparkdream/artifact/v1/tx.d.ts +14 -0
- package/sparkdream/artifact/v1/tx.js +13 -1
- package/sparkdream/blog/v1/tx.amino.d.ts +1 -103
- package/sparkdream/blog/v1/tx.amino.js +50 -137
- package/sparkdream/bundle.d.ts +97 -2047
- package/sparkdream/client.d.ts +1 -2009
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -153
- package/sparkdream/collect/v1/tx.amino.js +50 -256
- package/sparkdream/commons/v1/tx.amino.d.ts +1 -123
- package/sparkdream/commons/v1/tx.amino.js +49 -262
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +1 -13
- package/sparkdream/ecosystem/v1/tx.amino.js +50 -28
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -128
- package/sparkdream/federation/v1/tx.amino.js +47 -176
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -203
- package/sparkdream/forum/v1/tx.amino.js +50 -233
- package/sparkdream/futarchy/v1/tx.amino.d.ts +1 -38
- package/sparkdream/futarchy/v1/tx.amino.js +49 -38
- package/sparkdream/guardian/v1/tx.amino.d.ts +1 -7
- package/sparkdream/guardian/v1/tx.amino.js +49 -37
- package/sparkdream/name/v1/tx.amino.d.ts +1 -63
- package/sparkdream/name/v1/tx.amino.js +49 -63
- 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/tx.amino.d.ts +1 -353
- package/sparkdream/rep/v1/tx.amino.js +47 -486
- package/sparkdream/reveal/v1/tx.amino.d.ts +1 -53
- package/sparkdream/reveal/v1/tx.amino.js +50 -75
- package/sparkdream/rpc.query.d.ts +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +1 -218
- package/sparkdream/season/v1/tx.amino.js +47 -278
- package/sparkdream/service/v1/tx.amino.d.ts +1 -78
- package/sparkdream/service/v1/tx.amino.js +49 -78
- package/sparkdream/session/v1/tx.amino.d.ts +1 -93
- package/sparkdream/session/v1/tx.amino.js +48 -270
- package/sparkdream/shield/v1/tx.amino.d.ts +1 -28
- package/sparkdream/shield/v1/tx.amino.js +50 -82
- package/sparkdream/sparkdream/v1/tx.amino.d.ts +1 -8
- package/sparkdream/sparkdream/v1/tx.amino.js +49 -8
- package/sparkdream/split/v1/tx.amino.d.ts +1 -8
- package/sparkdream/split/v1/tx.amino.js +49 -8
- package/sparkdream/vault/v1/tx.amino.d.ts +1 -43
- package/sparkdream/vault/v1/tx.amino.js +49 -109
- package/varint.d.ts +1 -1
|
@@ -1,67 +1,53 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.AminoConverter = void 0;
|
|
4
37
|
//@ts-nocheck
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
"/sparkdream.name.v1.MsgSetPrimary": {
|
|
23
|
-
aminoType: "sparkdream/x/name/MsgSetPrimary",
|
|
24
|
-
toAmino: tx_1.MsgSetPrimary.toAmino,
|
|
25
|
-
fromAmino: tx_1.MsgSetPrimary.fromAmino
|
|
26
|
-
},
|
|
27
|
-
"/sparkdream.name.v1.MsgFileDispute": {
|
|
28
|
-
aminoType: "sparkdream/x/name/MsgFileDispute",
|
|
29
|
-
toAmino: tx_1.MsgFileDispute.toAmino,
|
|
30
|
-
fromAmino: tx_1.MsgFileDispute.fromAmino
|
|
31
|
-
},
|
|
32
|
-
"/sparkdream.name.v1.MsgContestDispute": {
|
|
33
|
-
aminoType: "sparkdream/x/name/MsgContestDispute",
|
|
34
|
-
toAmino: tx_1.MsgContestDispute.toAmino,
|
|
35
|
-
fromAmino: tx_1.MsgContestDispute.fromAmino
|
|
36
|
-
},
|
|
37
|
-
"/sparkdream.name.v1.MsgResolveDispute": {
|
|
38
|
-
aminoType: "sparkdream/x/name/MsgResolveDispute",
|
|
39
|
-
toAmino: tx_1.MsgResolveDispute.toAmino,
|
|
40
|
-
fromAmino: tx_1.MsgResolveDispute.fromAmino
|
|
41
|
-
},
|
|
42
|
-
"/sparkdream.name.v1.MsgUpdateName": {
|
|
43
|
-
aminoType: "sparkdream/x/name/MsgUpdateName",
|
|
44
|
-
toAmino: tx_1.MsgUpdateName.toAmino,
|
|
45
|
-
fromAmino: tx_1.MsgUpdateName.fromAmino
|
|
46
|
-
},
|
|
47
|
-
"/sparkdream.name.v1.MsgSetDisplayName": {
|
|
48
|
-
aminoType: "sparkdream/x/name/MsgSetDisplayName",
|
|
49
|
-
toAmino: tx_1.MsgSetDisplayName.toAmino,
|
|
50
|
-
fromAmino: tx_1.MsgSetDisplayName.fromAmino
|
|
51
|
-
},
|
|
52
|
-
"/sparkdream.name.v1.MsgSetTarget": {
|
|
53
|
-
aminoType: "sparkdream/x/name/MsgSetTarget",
|
|
54
|
-
toAmino: tx_1.MsgSetTarget.toAmino,
|
|
55
|
-
fromAmino: tx_1.MsgSetTarget.fromAmino
|
|
56
|
-
},
|
|
57
|
-
"/sparkdream.name.v1.MsgAcceptTarget": {
|
|
58
|
-
aminoType: "sparkdream/x/name/MsgAcceptTarget",
|
|
59
|
-
toAmino: tx_1.MsgAcceptTarget.toAmino,
|
|
60
|
-
fromAmino: tx_1.MsgAcceptTarget.fromAmino
|
|
61
|
-
},
|
|
62
|
-
"/sparkdream.name.v1.MsgTransferName": {
|
|
63
|
-
aminoType: "sparkdream/x/name/MsgTransferName",
|
|
64
|
-
toAmino: tx_1.MsgTransferName.toAmino,
|
|
65
|
-
fromAmino: tx_1.MsgTransferName.fromAmino
|
|
66
|
-
}
|
|
67
|
-
};
|
|
38
|
+
// HAND-WRITTEN OVERRIDE — overlaid on top of the Telescope-generated tx.amino.ts
|
|
39
|
+
// by scripts/codegen.ts after each codegen run. Do not let codegen wipe this.
|
|
40
|
+
//
|
|
41
|
+
// Why: Telescope's generated converters (and the per-message overrides that
|
|
42
|
+
// used to patch them) disagree with the chain's aminojson on empty lists,
|
|
43
|
+
// empty bytes, Dec strings, oneofs and non-nullable messages, and went stale
|
|
44
|
+
// whenever a proto changed. Every Msg of x/name is converted by the
|
|
45
|
+
// schema-driven engine in chain-amino.ts instead, which renders amino JSON
|
|
46
|
+
// from the protobuf bytes exactly as the chain does.
|
|
47
|
+
//
|
|
48
|
+
// MAINTENANCE: none per message. The schema (amino-schema.ts, regenerated from
|
|
49
|
+
// the chain on every proto sync) lists every Msg; __tests__/amino-golden.test.ts
|
|
50
|
+
// checks them all against the chain's encoder.
|
|
51
|
+
const tx = __importStar(require("./tx"));
|
|
52
|
+
const chain_amino_1 = require("../../../chain-amino");
|
|
53
|
+
exports.AminoConverter = (0, chain_amino_1.chainAminoConverters)("sparkdream.name.v1", tx);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
2
|
import { RoleType, BondedRole, BondedRoleAmino, BondedRoleConfig, BondedRoleConfigAmino } from "./bonded_role";
|
|
3
|
-
import { MigrationStatus, MigrationPath, MemberMigration, MemberMigrationAmino, RecoveryCommitmentSet, RecoveryCommitmentSetAmino } from "./migration";
|
|
3
|
+
import { MigrationStatus, MigrationPath, MemberMigration, MemberMigrationAmino, RecoveryCommitmentSet, RecoveryCommitmentSetAmino, RecoveryCommit, RecoveryCommitAmino } from "./migration";
|
|
4
4
|
import { Params, ParamsAmino } from "./params";
|
|
5
5
|
import { Member, MemberAmino, TrustLevel } from "./member";
|
|
6
6
|
import { Invitation, InvitationAmino } from "./invitation";
|
|
@@ -5830,6 +5830,120 @@ export interface QueryPendingMigrationByTargetResponseAminoMsg {
|
|
|
5830
5830
|
type: "/sparkdream.rep.v1.QueryPendingMigrationByTargetResponse";
|
|
5831
5831
|
value: QueryPendingMigrationByTargetResponseAmino;
|
|
5832
5832
|
}
|
|
5833
|
+
/**
|
|
5834
|
+
* QueryRecoveryCommitRequest defines the QueryRecoveryCommitRequest message.
|
|
5835
|
+
* @name QueryRecoveryCommitRequest
|
|
5836
|
+
* @package sparkdream.rep.v1
|
|
5837
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitRequest
|
|
5838
|
+
*/
|
|
5839
|
+
export interface QueryRecoveryCommitRequest {
|
|
5840
|
+
/**
|
|
5841
|
+
* The 32-byte seal, hex-encoded.
|
|
5842
|
+
*/
|
|
5843
|
+
sealedHex: string;
|
|
5844
|
+
}
|
|
5845
|
+
export interface QueryRecoveryCommitRequestProtoMsg {
|
|
5846
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitRequest";
|
|
5847
|
+
value: Uint8Array;
|
|
5848
|
+
}
|
|
5849
|
+
/**
|
|
5850
|
+
* QueryRecoveryCommitRequest defines the QueryRecoveryCommitRequest message.
|
|
5851
|
+
* @name QueryRecoveryCommitRequestAmino
|
|
5852
|
+
* @package sparkdream.rep.v1
|
|
5853
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitRequest
|
|
5854
|
+
*/
|
|
5855
|
+
export interface QueryRecoveryCommitRequestAmino {
|
|
5856
|
+
/**
|
|
5857
|
+
* The 32-byte seal, hex-encoded.
|
|
5858
|
+
*/
|
|
5859
|
+
sealed_hex?: string;
|
|
5860
|
+
}
|
|
5861
|
+
export interface QueryRecoveryCommitRequestAminoMsg {
|
|
5862
|
+
type: "/sparkdream.rep.v1.QueryRecoveryCommitRequest";
|
|
5863
|
+
value: QueryRecoveryCommitRequestAmino;
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
* QueryRecoveryCommitResponse defines the QueryRecoveryCommitResponse message.
|
|
5867
|
+
* @name QueryRecoveryCommitResponse
|
|
5868
|
+
* @package sparkdream.rep.v1
|
|
5869
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitResponse
|
|
5870
|
+
*/
|
|
5871
|
+
export interface QueryRecoveryCommitResponse {
|
|
5872
|
+
commit: RecoveryCommit;
|
|
5873
|
+
}
|
|
5874
|
+
export interface QueryRecoveryCommitResponseProtoMsg {
|
|
5875
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitResponse";
|
|
5876
|
+
value: Uint8Array;
|
|
5877
|
+
}
|
|
5878
|
+
/**
|
|
5879
|
+
* QueryRecoveryCommitResponse defines the QueryRecoveryCommitResponse message.
|
|
5880
|
+
* @name QueryRecoveryCommitResponseAmino
|
|
5881
|
+
* @package sparkdream.rep.v1
|
|
5882
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitResponse
|
|
5883
|
+
*/
|
|
5884
|
+
export interface QueryRecoveryCommitResponseAmino {
|
|
5885
|
+
commit?: RecoveryCommitAmino;
|
|
5886
|
+
}
|
|
5887
|
+
export interface QueryRecoveryCommitResponseAminoMsg {
|
|
5888
|
+
type: "/sparkdream.rep.v1.QueryRecoveryCommitResponse";
|
|
5889
|
+
value: QueryRecoveryCommitResponseAmino;
|
|
5890
|
+
}
|
|
5891
|
+
/**
|
|
5892
|
+
* QueryRecoveryCommitsBySubmitterRequest defines the QueryRecoveryCommitsBySubmitterRequest message.
|
|
5893
|
+
* @name QueryRecoveryCommitsBySubmitterRequest
|
|
5894
|
+
* @package sparkdream.rep.v1
|
|
5895
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest
|
|
5896
|
+
*/
|
|
5897
|
+
export interface QueryRecoveryCommitsBySubmitterRequest {
|
|
5898
|
+
submitter: string;
|
|
5899
|
+
pagination?: PageRequest;
|
|
5900
|
+
}
|
|
5901
|
+
export interface QueryRecoveryCommitsBySubmitterRequestProtoMsg {
|
|
5902
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest";
|
|
5903
|
+
value: Uint8Array;
|
|
5904
|
+
}
|
|
5905
|
+
/**
|
|
5906
|
+
* QueryRecoveryCommitsBySubmitterRequest defines the QueryRecoveryCommitsBySubmitterRequest message.
|
|
5907
|
+
* @name QueryRecoveryCommitsBySubmitterRequestAmino
|
|
5908
|
+
* @package sparkdream.rep.v1
|
|
5909
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest
|
|
5910
|
+
*/
|
|
5911
|
+
export interface QueryRecoveryCommitsBySubmitterRequestAmino {
|
|
5912
|
+
submitter?: string;
|
|
5913
|
+
pagination?: PageRequestAmino;
|
|
5914
|
+
}
|
|
5915
|
+
export interface QueryRecoveryCommitsBySubmitterRequestAminoMsg {
|
|
5916
|
+
type: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest";
|
|
5917
|
+
value: QueryRecoveryCommitsBySubmitterRequestAmino;
|
|
5918
|
+
}
|
|
5919
|
+
/**
|
|
5920
|
+
* QueryRecoveryCommitsBySubmitterResponse defines the QueryRecoveryCommitsBySubmitterResponse message.
|
|
5921
|
+
* @name QueryRecoveryCommitsBySubmitterResponse
|
|
5922
|
+
* @package sparkdream.rep.v1
|
|
5923
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse
|
|
5924
|
+
*/
|
|
5925
|
+
export interface QueryRecoveryCommitsBySubmitterResponse {
|
|
5926
|
+
commits: RecoveryCommit[];
|
|
5927
|
+
pagination?: PageResponse;
|
|
5928
|
+
}
|
|
5929
|
+
export interface QueryRecoveryCommitsBySubmitterResponseProtoMsg {
|
|
5930
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse";
|
|
5931
|
+
value: Uint8Array;
|
|
5932
|
+
}
|
|
5933
|
+
/**
|
|
5934
|
+
* QueryRecoveryCommitsBySubmitterResponse defines the QueryRecoveryCommitsBySubmitterResponse message.
|
|
5935
|
+
* @name QueryRecoveryCommitsBySubmitterResponseAmino
|
|
5936
|
+
* @package sparkdream.rep.v1
|
|
5937
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse
|
|
5938
|
+
*/
|
|
5939
|
+
export interface QueryRecoveryCommitsBySubmitterResponseAmino {
|
|
5940
|
+
commits?: RecoveryCommitAmino[];
|
|
5941
|
+
pagination?: PageResponseAmino;
|
|
5942
|
+
}
|
|
5943
|
+
export interface QueryRecoveryCommitsBySubmitterResponseAminoMsg {
|
|
5944
|
+
type: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse";
|
|
5945
|
+
value: QueryRecoveryCommitsBySubmitterResponseAmino;
|
|
5946
|
+
}
|
|
5833
5947
|
/**
|
|
5834
5948
|
* QueryParamsRequest is request type for the Query/Params RPC method.
|
|
5835
5949
|
* @name QueryParamsRequest
|
|
@@ -9361,3 +9475,75 @@ export declare const QueryPendingMigrationByTargetResponse: {
|
|
|
9361
9475
|
toProto(message: QueryPendingMigrationByTargetResponse): Uint8Array;
|
|
9362
9476
|
toProtoMsg(message: QueryPendingMigrationByTargetResponse): QueryPendingMigrationByTargetResponseProtoMsg;
|
|
9363
9477
|
};
|
|
9478
|
+
/**
|
|
9479
|
+
* QueryRecoveryCommitRequest defines the QueryRecoveryCommitRequest message.
|
|
9480
|
+
* @name QueryRecoveryCommitRequest
|
|
9481
|
+
* @package sparkdream.rep.v1
|
|
9482
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitRequest
|
|
9483
|
+
*/
|
|
9484
|
+
export declare const QueryRecoveryCommitRequest: {
|
|
9485
|
+
typeUrl: string;
|
|
9486
|
+
encode(message: QueryRecoveryCommitRequest, writer?: BinaryWriter): BinaryWriter;
|
|
9487
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRecoveryCommitRequest;
|
|
9488
|
+
fromPartial(object: DeepPartial<QueryRecoveryCommitRequest>): QueryRecoveryCommitRequest;
|
|
9489
|
+
fromAmino(object: QueryRecoveryCommitRequestAmino): QueryRecoveryCommitRequest;
|
|
9490
|
+
toAmino(message: QueryRecoveryCommitRequest): QueryRecoveryCommitRequestAmino;
|
|
9491
|
+
fromAminoMsg(object: QueryRecoveryCommitRequestAminoMsg): QueryRecoveryCommitRequest;
|
|
9492
|
+
fromProtoMsg(message: QueryRecoveryCommitRequestProtoMsg): QueryRecoveryCommitRequest;
|
|
9493
|
+
toProto(message: QueryRecoveryCommitRequest): Uint8Array;
|
|
9494
|
+
toProtoMsg(message: QueryRecoveryCommitRequest): QueryRecoveryCommitRequestProtoMsg;
|
|
9495
|
+
};
|
|
9496
|
+
/**
|
|
9497
|
+
* QueryRecoveryCommitResponse defines the QueryRecoveryCommitResponse message.
|
|
9498
|
+
* @name QueryRecoveryCommitResponse
|
|
9499
|
+
* @package sparkdream.rep.v1
|
|
9500
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitResponse
|
|
9501
|
+
*/
|
|
9502
|
+
export declare const QueryRecoveryCommitResponse: {
|
|
9503
|
+
typeUrl: string;
|
|
9504
|
+
encode(message: QueryRecoveryCommitResponse, writer?: BinaryWriter): BinaryWriter;
|
|
9505
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRecoveryCommitResponse;
|
|
9506
|
+
fromPartial(object: DeepPartial<QueryRecoveryCommitResponse>): QueryRecoveryCommitResponse;
|
|
9507
|
+
fromAmino(object: QueryRecoveryCommitResponseAmino): QueryRecoveryCommitResponse;
|
|
9508
|
+
toAmino(message: QueryRecoveryCommitResponse): QueryRecoveryCommitResponseAmino;
|
|
9509
|
+
fromAminoMsg(object: QueryRecoveryCommitResponseAminoMsg): QueryRecoveryCommitResponse;
|
|
9510
|
+
fromProtoMsg(message: QueryRecoveryCommitResponseProtoMsg): QueryRecoveryCommitResponse;
|
|
9511
|
+
toProto(message: QueryRecoveryCommitResponse): Uint8Array;
|
|
9512
|
+
toProtoMsg(message: QueryRecoveryCommitResponse): QueryRecoveryCommitResponseProtoMsg;
|
|
9513
|
+
};
|
|
9514
|
+
/**
|
|
9515
|
+
* QueryRecoveryCommitsBySubmitterRequest defines the QueryRecoveryCommitsBySubmitterRequest message.
|
|
9516
|
+
* @name QueryRecoveryCommitsBySubmitterRequest
|
|
9517
|
+
* @package sparkdream.rep.v1
|
|
9518
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest
|
|
9519
|
+
*/
|
|
9520
|
+
export declare const QueryRecoveryCommitsBySubmitterRequest: {
|
|
9521
|
+
typeUrl: string;
|
|
9522
|
+
encode(message: QueryRecoveryCommitsBySubmitterRequest, writer?: BinaryWriter): BinaryWriter;
|
|
9523
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRecoveryCommitsBySubmitterRequest;
|
|
9524
|
+
fromPartial(object: DeepPartial<QueryRecoveryCommitsBySubmitterRequest>): QueryRecoveryCommitsBySubmitterRequest;
|
|
9525
|
+
fromAmino(object: QueryRecoveryCommitsBySubmitterRequestAmino): QueryRecoveryCommitsBySubmitterRequest;
|
|
9526
|
+
toAmino(message: QueryRecoveryCommitsBySubmitterRequest): QueryRecoveryCommitsBySubmitterRequestAmino;
|
|
9527
|
+
fromAminoMsg(object: QueryRecoveryCommitsBySubmitterRequestAminoMsg): QueryRecoveryCommitsBySubmitterRequest;
|
|
9528
|
+
fromProtoMsg(message: QueryRecoveryCommitsBySubmitterRequestProtoMsg): QueryRecoveryCommitsBySubmitterRequest;
|
|
9529
|
+
toProto(message: QueryRecoveryCommitsBySubmitterRequest): Uint8Array;
|
|
9530
|
+
toProtoMsg(message: QueryRecoveryCommitsBySubmitterRequest): QueryRecoveryCommitsBySubmitterRequestProtoMsg;
|
|
9531
|
+
};
|
|
9532
|
+
/**
|
|
9533
|
+
* QueryRecoveryCommitsBySubmitterResponse defines the QueryRecoveryCommitsBySubmitterResponse message.
|
|
9534
|
+
* @name QueryRecoveryCommitsBySubmitterResponse
|
|
9535
|
+
* @package sparkdream.rep.v1
|
|
9536
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse
|
|
9537
|
+
*/
|
|
9538
|
+
export declare const QueryRecoveryCommitsBySubmitterResponse: {
|
|
9539
|
+
typeUrl: string;
|
|
9540
|
+
encode(message: QueryRecoveryCommitsBySubmitterResponse, writer?: BinaryWriter): BinaryWriter;
|
|
9541
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRecoveryCommitsBySubmitterResponse;
|
|
9542
|
+
fromPartial(object: DeepPartial<QueryRecoveryCommitsBySubmitterResponse>): QueryRecoveryCommitsBySubmitterResponse;
|
|
9543
|
+
fromAmino(object: QueryRecoveryCommitsBySubmitterResponseAmino): QueryRecoveryCommitsBySubmitterResponse;
|
|
9544
|
+
toAmino(message: QueryRecoveryCommitsBySubmitterResponse): QueryRecoveryCommitsBySubmitterResponseAmino;
|
|
9545
|
+
fromAminoMsg(object: QueryRecoveryCommitsBySubmitterResponseAminoMsg): QueryRecoveryCommitsBySubmitterResponse;
|
|
9546
|
+
fromProtoMsg(message: QueryRecoveryCommitsBySubmitterResponseProtoMsg): QueryRecoveryCommitsBySubmitterResponse;
|
|
9547
|
+
toProto(message: QueryRecoveryCommitsBySubmitterResponse): Uint8Array;
|
|
9548
|
+
toProtoMsg(message: QueryRecoveryCommitsBySubmitterResponse): QueryRecoveryCommitsBySubmitterResponseProtoMsg;
|
|
9549
|
+
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.QueryInitiativesByProjectResponse = exports.QueryInitiativesByProjectRequest = exports.QueryProjectsByCouncilResponse = exports.QueryProjectsByCouncilRequest = exports.QueryInterimsByReferenceResponse = exports.QueryInterimsByReferenceRequest = exports.QueryInterimsByTypeResponse = exports.QueryInterimsByTypeRequest = exports.QueryInterimsByAssigneeResponse = exports.QueryInterimsByAssigneeRequest = exports.QueryJuryReviewsByJurorResponse = exports.QueryJuryReviewsByJurorRequest = exports.QueryInvitationsByInviterResponse = exports.QueryInvitationsByInviterRequest = exports.QueryMembersByTrustLevelResponse = exports.QueryMembersByTrustLevelRequest = exports.QueryAllInterimResponse = exports.QueryAllInterimRequest = exports.QueryGetInterimResponse = exports.QueryGetInterimRequest = exports.QueryAllJuryReviewResponse = exports.QueryAllJuryReviewRequest = exports.QueryGetJuryReviewResponse = exports.QueryGetJuryReviewRequest = exports.QueryAllChallengeResponse = exports.QueryAllChallengeRequest = exports.QueryGetChallengeResponse = exports.QueryGetChallengeRequest = exports.QueryAllStakeResponse = exports.QueryAllStakeRequest = exports.QueryGetStakeResponse = exports.QueryGetStakeRequest = exports.QueryAllInitiativeResponse = exports.QueryAllInitiativeRequest = exports.QueryGetInitiativeResponse = exports.QueryGetInitiativeRequest = exports.QueryAllProjectResponse = exports.QueryAllProjectRequest = exports.QueryGetProjectResponse = exports.QueryGetProjectRequest = exports.QueryAllInvitationResponse = exports.QueryAllInvitationRequest = exports.QueryGetInvitationResponse = exports.QueryGetInvitationRequest = exports.QueryAllMemberResponse = exports.QueryAllMemberRequest = exports.QueryGetMemberResponse = exports.QueryGetMemberRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
|
|
4
4
|
exports.QueryGetTagRequest = exports.QueryTreasuryStatusResponse = exports.QueryTreasuryStatusRequest = exports.QueryEffectiveApyResponse = exports.QueryEffectiveApyRequest = exports.QueryMintBurnRatioResponse = exports.QueryMintBurnRatioRequest = exports.QueryDreamSupplyStatsResponse = exports.QueryDreamSupplyStatsRequest = exports.QueryContentByInitiativeResponse = exports.ContentInitiativeLinkEntry = exports.QueryContentByInitiativeRequest = exports.QueryContentChallengesByTargetResponse = exports.QueryContentChallengesByTargetRequest = exports.QueryAllContentChallengeResponse = exports.QueryAllContentChallengeRequest = exports.QueryGetContentChallengeResponse = exports.QueryGetContentChallengeRequest = exports.QueryAuthorBondResponse = exports.QueryAuthorBondRequest = exports.QueryContentConvictionResponse = exports.QueryContentConvictionRequest = exports.QueryGetProjectStakeInfoResponse = exports.QueryGetProjectStakeInfoRequest = exports.QueryListTagStakePoolsResponse = exports.QueryListTagStakePoolsRequest = exports.QueryGetTagStakePoolResponse = exports.QueryGetTagStakePoolRequest = exports.QueryGetMemberStakePoolResponse = exports.QueryGetMemberStakePoolRequest = exports.QueryPendingStakeRewardsResponse = exports.QueryPendingStakeRewardsRequest = exports.QueryReputationResponse = exports.QueryReputationRequest = exports.QueryChallengesByInitiativeResponse = exports.QueryChallengesByInitiativeRequest = exports.QueryInitiativeConvictionResponse = exports.QueryInitiativeConvictionRequest = exports.QueryStakesByTargetResponse = exports.QueryStakesByTargetRequest = exports.QueryStakesByStakerResponse = exports.QueryStakesByStakerRequest = exports.QueryAvailableInitiativesResponse = exports.QueryAvailableInitiativesRequest = exports.QueryProjectsByCreatorResponse = exports.QueryProjectsByCreatorRequest = exports.QueryInitiativesByCreatorResponse = exports.QueryInitiativesByCreatorRequest = exports.QueryInitiativesByAssigneeResponse = exports.QueryInitiativesByAssigneeRequest = void 0;
|
|
5
5
|
exports.QueryAllJuryParticipationRequest = exports.QueryGetJuryParticipationResponse = exports.QueryGetJuryParticipationRequest = exports.QueryAllGovActionAppealResponse = exports.QueryAllGovActionAppealRequest = exports.QueryGetGovActionAppealResponse = exports.QueryGetGovActionAppealRequest = exports.QueryAllMemberWarningResponse = exports.QueryAllMemberWarningRequest = exports.QueryGetMemberWarningResponse = exports.QueryGetMemberWarningRequest = exports.QueryAllMemberReportResponse = exports.QueryAllMemberReportRequest = exports.QueryGetMemberReportResponse = exports.QueryGetMemberReportRequest = exports.QueryBondedRoleConfigResponse = exports.QueryBondedRoleConfigRequest = exports.QueryBondedRolesByTypeResponse = exports.QueryBondedRolesByTypeRequest = exports.QueryBondedRoleResponse = exports.QueryBondedRoleRequest = exports.QueryTagBudgetAwardsResponse = exports.QueryTagBudgetAwardsRequest = exports.QueryTagBudgetsResponse = exports.QueryTagBudgetsRequest = exports.QueryTagBudgetByTagResponse = exports.QueryTagBudgetByTagRequest = exports.QueryAllTagBudgetAwardResponse = exports.QueryAllTagBudgetAwardRequest = exports.QueryGetTagBudgetAwardResponse = exports.QueryGetTagBudgetAwardRequest = exports.QueryAllTagBudgetResponse = exports.QueryAllTagBudgetRequest = exports.QueryGetTagBudgetResponse = exports.QueryGetTagBudgetRequest = exports.QueryTagReportsResponse = exports.QueryTagReportsRequest = exports.QueryAllTagReportResponse = exports.QueryAllTagReportRequest = exports.QueryGetTagReportResponse = exports.QueryGetTagReportRequest = exports.QueryTagExistsResponse = exports.QueryTagExistsRequest = exports.QueryAllReservedTagResponse = exports.QueryAllReservedTagRequest = exports.QueryGetReservedTagResponse = exports.QueryGetReservedTagRequest = exports.QueryAllTagResponse = exports.QueryAllTagRequest = exports.QueryGetTagResponse = void 0;
|
|
6
|
-
exports.QueryPendingMigrationByTargetResponse = exports.QueryPendingMigrationByTargetRequest = exports.QueryRecoveryCommitmentsResponse = exports.QueryRecoveryCommitmentsRequest = exports.QueryPendingMigrationResponse = exports.QueryPendingMigrationRequest = exports.QueryMemberMigrationsResponse = exports.QueryMemberMigrationsRequest = exports.QueryMemberMigrationResponse = exports.QueryMemberMigrationRequest = exports.QueryAliasesResponse = exports.QueryAliasesRequest = exports.QueryCanonicalResponse = exports.QueryCanonicalRequest = exports.QueryTrustTreeResponse = exports.TrustTreeLeaf = exports.QueryTrustTreeRequest = exports.InitiativeBountyReclaimStatus = exports.QueryInitiativeBountyResponse = exports.QueryInitiativeBountyRequest = exports.EscalatedReview = exports.QueryEscalatedReviewsResponse = exports.QueryEscalatedReviewsRequest = exports.ReviewBountyReclaimStatus = exports.QueryReviewBountyResponse = exports.QueryReviewBountyRequest = exports.InitiativeReviewRound = exports.QueryInitiativeReviewsResponse = exports.QueryInitiativeReviewsRequest = exports.QueryRoleRewardPoolsResponse = exports.RoleRewardPoolStatus = exports.QueryRoleRewardPoolsRequest = exports.QueryRoleActivityResponse = exports.QueryRoleActivityRequest = exports.QueryAuthorBondsByTypeResponse = exports.QueryAuthorBondsByTypeRequest = exports.QueryRequiredInvitationStakeResponse = exports.QueryRequiredInvitationStakeRequest = exports.QueryMemberStandingResponse = exports.QueryMemberStandingRequest = exports.QueryMemberWarningsResponse = exports.QueryMemberWarningsRequest = exports.QueryMemberReportsResponse = exports.QueryMemberReportsRequest = exports.QueryAllJuryParticipationResponse = void 0;
|
|
6
|
+
exports.QueryRecoveryCommitsBySubmitterResponse = exports.QueryRecoveryCommitsBySubmitterRequest = exports.QueryRecoveryCommitResponse = exports.QueryRecoveryCommitRequest = exports.QueryPendingMigrationByTargetResponse = exports.QueryPendingMigrationByTargetRequest = exports.QueryRecoveryCommitmentsResponse = exports.QueryRecoveryCommitmentsRequest = exports.QueryPendingMigrationResponse = exports.QueryPendingMigrationRequest = exports.QueryMemberMigrationsResponse = exports.QueryMemberMigrationsRequest = exports.QueryMemberMigrationResponse = exports.QueryMemberMigrationRequest = exports.QueryAliasesResponse = exports.QueryAliasesRequest = exports.QueryCanonicalResponse = exports.QueryCanonicalRequest = exports.QueryTrustTreeResponse = exports.TrustTreeLeaf = exports.QueryTrustTreeRequest = exports.InitiativeBountyReclaimStatus = exports.QueryInitiativeBountyResponse = exports.QueryInitiativeBountyRequest = exports.EscalatedReview = exports.QueryEscalatedReviewsResponse = exports.QueryEscalatedReviewsRequest = exports.ReviewBountyReclaimStatus = exports.QueryReviewBountyResponse = exports.QueryReviewBountyRequest = exports.InitiativeReviewRound = exports.QueryInitiativeReviewsResponse = exports.QueryInitiativeReviewsRequest = exports.QueryRoleRewardPoolsResponse = exports.RoleRewardPoolStatus = exports.QueryRoleRewardPoolsRequest = exports.QueryRoleActivityResponse = exports.QueryRoleActivityRequest = exports.QueryAuthorBondsByTypeResponse = exports.QueryAuthorBondsByTypeRequest = exports.QueryRequiredInvitationStakeResponse = exports.QueryRequiredInvitationStakeRequest = exports.QueryMemberStandingResponse = exports.QueryMemberStandingRequest = exports.QueryMemberWarningsResponse = exports.QueryMemberWarningsRequest = exports.QueryMemberReportsResponse = exports.QueryMemberReportsRequest = exports.QueryAllJuryParticipationResponse = void 0;
|
|
7
7
|
//@ts-nocheck
|
|
8
8
|
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
9
9
|
const bonded_role_1 = require("./bonded_role");
|
|
@@ -15540,3 +15540,306 @@ exports.QueryPendingMigrationByTargetResponse = {
|
|
|
15540
15540
|
};
|
|
15541
15541
|
}
|
|
15542
15542
|
};
|
|
15543
|
+
function createBaseQueryRecoveryCommitRequest() {
|
|
15544
|
+
return {
|
|
15545
|
+
sealedHex: ""
|
|
15546
|
+
};
|
|
15547
|
+
}
|
|
15548
|
+
/**
|
|
15549
|
+
* QueryRecoveryCommitRequest defines the QueryRecoveryCommitRequest message.
|
|
15550
|
+
* @name QueryRecoveryCommitRequest
|
|
15551
|
+
* @package sparkdream.rep.v1
|
|
15552
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitRequest
|
|
15553
|
+
*/
|
|
15554
|
+
exports.QueryRecoveryCommitRequest = {
|
|
15555
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitRequest",
|
|
15556
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
15557
|
+
if (message.sealedHex !== "") {
|
|
15558
|
+
writer.uint32(10).string(message.sealedHex);
|
|
15559
|
+
}
|
|
15560
|
+
return writer;
|
|
15561
|
+
},
|
|
15562
|
+
decode(input, length) {
|
|
15563
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
15564
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
15565
|
+
const message = createBaseQueryRecoveryCommitRequest();
|
|
15566
|
+
while (reader.pos < end) {
|
|
15567
|
+
const tag = reader.uint32();
|
|
15568
|
+
switch (tag >>> 3) {
|
|
15569
|
+
case 1:
|
|
15570
|
+
message.sealedHex = reader.string();
|
|
15571
|
+
break;
|
|
15572
|
+
default:
|
|
15573
|
+
reader.skipType(tag & 7);
|
|
15574
|
+
break;
|
|
15575
|
+
}
|
|
15576
|
+
}
|
|
15577
|
+
return message;
|
|
15578
|
+
},
|
|
15579
|
+
fromPartial(object) {
|
|
15580
|
+
const message = createBaseQueryRecoveryCommitRequest();
|
|
15581
|
+
message.sealedHex = object.sealedHex ?? "";
|
|
15582
|
+
return message;
|
|
15583
|
+
},
|
|
15584
|
+
fromAmino(object) {
|
|
15585
|
+
const message = createBaseQueryRecoveryCommitRequest();
|
|
15586
|
+
if (object.sealed_hex !== undefined && object.sealed_hex !== null) {
|
|
15587
|
+
message.sealedHex = object.sealed_hex;
|
|
15588
|
+
}
|
|
15589
|
+
return message;
|
|
15590
|
+
},
|
|
15591
|
+
toAmino(message) {
|
|
15592
|
+
const obj = {};
|
|
15593
|
+
obj.sealed_hex = message.sealedHex === "" ? undefined : message.sealedHex;
|
|
15594
|
+
return obj;
|
|
15595
|
+
},
|
|
15596
|
+
fromAminoMsg(object) {
|
|
15597
|
+
return exports.QueryRecoveryCommitRequest.fromAmino(object.value);
|
|
15598
|
+
},
|
|
15599
|
+
fromProtoMsg(message) {
|
|
15600
|
+
return exports.QueryRecoveryCommitRequest.decode(message.value);
|
|
15601
|
+
},
|
|
15602
|
+
toProto(message) {
|
|
15603
|
+
return exports.QueryRecoveryCommitRequest.encode(message).finish();
|
|
15604
|
+
},
|
|
15605
|
+
toProtoMsg(message) {
|
|
15606
|
+
return {
|
|
15607
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitRequest",
|
|
15608
|
+
value: exports.QueryRecoveryCommitRequest.encode(message).finish()
|
|
15609
|
+
};
|
|
15610
|
+
}
|
|
15611
|
+
};
|
|
15612
|
+
function createBaseQueryRecoveryCommitResponse() {
|
|
15613
|
+
return {
|
|
15614
|
+
commit: migration_1.RecoveryCommit.fromPartial({})
|
|
15615
|
+
};
|
|
15616
|
+
}
|
|
15617
|
+
/**
|
|
15618
|
+
* QueryRecoveryCommitResponse defines the QueryRecoveryCommitResponse message.
|
|
15619
|
+
* @name QueryRecoveryCommitResponse
|
|
15620
|
+
* @package sparkdream.rep.v1
|
|
15621
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitResponse
|
|
15622
|
+
*/
|
|
15623
|
+
exports.QueryRecoveryCommitResponse = {
|
|
15624
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitResponse",
|
|
15625
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
15626
|
+
if (message.commit !== undefined) {
|
|
15627
|
+
migration_1.RecoveryCommit.encode(message.commit, writer.uint32(10).fork()).ldelim();
|
|
15628
|
+
}
|
|
15629
|
+
return writer;
|
|
15630
|
+
},
|
|
15631
|
+
decode(input, length) {
|
|
15632
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
15633
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
15634
|
+
const message = createBaseQueryRecoveryCommitResponse();
|
|
15635
|
+
while (reader.pos < end) {
|
|
15636
|
+
const tag = reader.uint32();
|
|
15637
|
+
switch (tag >>> 3) {
|
|
15638
|
+
case 1:
|
|
15639
|
+
message.commit = migration_1.RecoveryCommit.decode(reader, reader.uint32());
|
|
15640
|
+
break;
|
|
15641
|
+
default:
|
|
15642
|
+
reader.skipType(tag & 7);
|
|
15643
|
+
break;
|
|
15644
|
+
}
|
|
15645
|
+
}
|
|
15646
|
+
return message;
|
|
15647
|
+
},
|
|
15648
|
+
fromPartial(object) {
|
|
15649
|
+
const message = createBaseQueryRecoveryCommitResponse();
|
|
15650
|
+
message.commit = object.commit !== undefined && object.commit !== null ? migration_1.RecoveryCommit.fromPartial(object.commit) : undefined;
|
|
15651
|
+
return message;
|
|
15652
|
+
},
|
|
15653
|
+
fromAmino(object) {
|
|
15654
|
+
const message = createBaseQueryRecoveryCommitResponse();
|
|
15655
|
+
if (object.commit !== undefined && object.commit !== null) {
|
|
15656
|
+
message.commit = migration_1.RecoveryCommit.fromAmino(object.commit);
|
|
15657
|
+
}
|
|
15658
|
+
return message;
|
|
15659
|
+
},
|
|
15660
|
+
toAmino(message) {
|
|
15661
|
+
const obj = {};
|
|
15662
|
+
obj.commit = message.commit ? migration_1.RecoveryCommit.toAmino(message.commit) : undefined;
|
|
15663
|
+
return obj;
|
|
15664
|
+
},
|
|
15665
|
+
fromAminoMsg(object) {
|
|
15666
|
+
return exports.QueryRecoveryCommitResponse.fromAmino(object.value);
|
|
15667
|
+
},
|
|
15668
|
+
fromProtoMsg(message) {
|
|
15669
|
+
return exports.QueryRecoveryCommitResponse.decode(message.value);
|
|
15670
|
+
},
|
|
15671
|
+
toProto(message) {
|
|
15672
|
+
return exports.QueryRecoveryCommitResponse.encode(message).finish();
|
|
15673
|
+
},
|
|
15674
|
+
toProtoMsg(message) {
|
|
15675
|
+
return {
|
|
15676
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitResponse",
|
|
15677
|
+
value: exports.QueryRecoveryCommitResponse.encode(message).finish()
|
|
15678
|
+
};
|
|
15679
|
+
}
|
|
15680
|
+
};
|
|
15681
|
+
function createBaseQueryRecoveryCommitsBySubmitterRequest() {
|
|
15682
|
+
return {
|
|
15683
|
+
submitter: "",
|
|
15684
|
+
pagination: undefined
|
|
15685
|
+
};
|
|
15686
|
+
}
|
|
15687
|
+
/**
|
|
15688
|
+
* QueryRecoveryCommitsBySubmitterRequest defines the QueryRecoveryCommitsBySubmitterRequest message.
|
|
15689
|
+
* @name QueryRecoveryCommitsBySubmitterRequest
|
|
15690
|
+
* @package sparkdream.rep.v1
|
|
15691
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest
|
|
15692
|
+
*/
|
|
15693
|
+
exports.QueryRecoveryCommitsBySubmitterRequest = {
|
|
15694
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest",
|
|
15695
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
15696
|
+
if (message.submitter !== "") {
|
|
15697
|
+
writer.uint32(10).string(message.submitter);
|
|
15698
|
+
}
|
|
15699
|
+
if (message.pagination !== undefined) {
|
|
15700
|
+
pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
15701
|
+
}
|
|
15702
|
+
return writer;
|
|
15703
|
+
},
|
|
15704
|
+
decode(input, length) {
|
|
15705
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
15706
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
15707
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterRequest();
|
|
15708
|
+
while (reader.pos < end) {
|
|
15709
|
+
const tag = reader.uint32();
|
|
15710
|
+
switch (tag >>> 3) {
|
|
15711
|
+
case 1:
|
|
15712
|
+
message.submitter = reader.string();
|
|
15713
|
+
break;
|
|
15714
|
+
case 2:
|
|
15715
|
+
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
15716
|
+
break;
|
|
15717
|
+
default:
|
|
15718
|
+
reader.skipType(tag & 7);
|
|
15719
|
+
break;
|
|
15720
|
+
}
|
|
15721
|
+
}
|
|
15722
|
+
return message;
|
|
15723
|
+
},
|
|
15724
|
+
fromPartial(object) {
|
|
15725
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterRequest();
|
|
15726
|
+
message.submitter = object.submitter ?? "";
|
|
15727
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
|
|
15728
|
+
return message;
|
|
15729
|
+
},
|
|
15730
|
+
fromAmino(object) {
|
|
15731
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterRequest();
|
|
15732
|
+
if (object.submitter !== undefined && object.submitter !== null) {
|
|
15733
|
+
message.submitter = object.submitter;
|
|
15734
|
+
}
|
|
15735
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
15736
|
+
message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
|
|
15737
|
+
}
|
|
15738
|
+
return message;
|
|
15739
|
+
},
|
|
15740
|
+
toAmino(message) {
|
|
15741
|
+
const obj = {};
|
|
15742
|
+
obj.submitter = message.submitter === "" ? undefined : message.submitter;
|
|
15743
|
+
obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
|
|
15744
|
+
return obj;
|
|
15745
|
+
},
|
|
15746
|
+
fromAminoMsg(object) {
|
|
15747
|
+
return exports.QueryRecoveryCommitsBySubmitterRequest.fromAmino(object.value);
|
|
15748
|
+
},
|
|
15749
|
+
fromProtoMsg(message) {
|
|
15750
|
+
return exports.QueryRecoveryCommitsBySubmitterRequest.decode(message.value);
|
|
15751
|
+
},
|
|
15752
|
+
toProto(message) {
|
|
15753
|
+
return exports.QueryRecoveryCommitsBySubmitterRequest.encode(message).finish();
|
|
15754
|
+
},
|
|
15755
|
+
toProtoMsg(message) {
|
|
15756
|
+
return {
|
|
15757
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterRequest",
|
|
15758
|
+
value: exports.QueryRecoveryCommitsBySubmitterRequest.encode(message).finish()
|
|
15759
|
+
};
|
|
15760
|
+
}
|
|
15761
|
+
};
|
|
15762
|
+
function createBaseQueryRecoveryCommitsBySubmitterResponse() {
|
|
15763
|
+
return {
|
|
15764
|
+
commits: [],
|
|
15765
|
+
pagination: undefined
|
|
15766
|
+
};
|
|
15767
|
+
}
|
|
15768
|
+
/**
|
|
15769
|
+
* QueryRecoveryCommitsBySubmitterResponse defines the QueryRecoveryCommitsBySubmitterResponse message.
|
|
15770
|
+
* @name QueryRecoveryCommitsBySubmitterResponse
|
|
15771
|
+
* @package sparkdream.rep.v1
|
|
15772
|
+
* @see proto type: sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse
|
|
15773
|
+
*/
|
|
15774
|
+
exports.QueryRecoveryCommitsBySubmitterResponse = {
|
|
15775
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse",
|
|
15776
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
15777
|
+
for (const v of message.commits) {
|
|
15778
|
+
migration_1.RecoveryCommit.encode(v, writer.uint32(10).fork()).ldelim();
|
|
15779
|
+
}
|
|
15780
|
+
if (message.pagination !== undefined) {
|
|
15781
|
+
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
15782
|
+
}
|
|
15783
|
+
return writer;
|
|
15784
|
+
},
|
|
15785
|
+
decode(input, length) {
|
|
15786
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
15787
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
15788
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterResponse();
|
|
15789
|
+
while (reader.pos < end) {
|
|
15790
|
+
const tag = reader.uint32();
|
|
15791
|
+
switch (tag >>> 3) {
|
|
15792
|
+
case 1:
|
|
15793
|
+
message.commits.push(migration_1.RecoveryCommit.decode(reader, reader.uint32()));
|
|
15794
|
+
break;
|
|
15795
|
+
case 2:
|
|
15796
|
+
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
15797
|
+
break;
|
|
15798
|
+
default:
|
|
15799
|
+
reader.skipType(tag & 7);
|
|
15800
|
+
break;
|
|
15801
|
+
}
|
|
15802
|
+
}
|
|
15803
|
+
return message;
|
|
15804
|
+
},
|
|
15805
|
+
fromPartial(object) {
|
|
15806
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterResponse();
|
|
15807
|
+
message.commits = object.commits?.map(e => migration_1.RecoveryCommit.fromPartial(e)) || [];
|
|
15808
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
|
|
15809
|
+
return message;
|
|
15810
|
+
},
|
|
15811
|
+
fromAmino(object) {
|
|
15812
|
+
const message = createBaseQueryRecoveryCommitsBySubmitterResponse();
|
|
15813
|
+
message.commits = object.commits?.map(e => migration_1.RecoveryCommit.fromAmino(e)) || [];
|
|
15814
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
15815
|
+
message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
|
|
15816
|
+
}
|
|
15817
|
+
return message;
|
|
15818
|
+
},
|
|
15819
|
+
toAmino(message) {
|
|
15820
|
+
const obj = {};
|
|
15821
|
+
if (message.commits) {
|
|
15822
|
+
obj.commits = message.commits.map(e => e ? migration_1.RecoveryCommit.toAmino(e) : undefined);
|
|
15823
|
+
}
|
|
15824
|
+
else {
|
|
15825
|
+
obj.commits = message.commits;
|
|
15826
|
+
}
|
|
15827
|
+
obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
|
|
15828
|
+
return obj;
|
|
15829
|
+
},
|
|
15830
|
+
fromAminoMsg(object) {
|
|
15831
|
+
return exports.QueryRecoveryCommitsBySubmitterResponse.fromAmino(object.value);
|
|
15832
|
+
},
|
|
15833
|
+
fromProtoMsg(message) {
|
|
15834
|
+
return exports.QueryRecoveryCommitsBySubmitterResponse.decode(message.value);
|
|
15835
|
+
},
|
|
15836
|
+
toProto(message) {
|
|
15837
|
+
return exports.QueryRecoveryCommitsBySubmitterResponse.encode(message).finish();
|
|
15838
|
+
},
|
|
15839
|
+
toProtoMsg(message) {
|
|
15840
|
+
return {
|
|
15841
|
+
typeUrl: "/sparkdream.rep.v1.QueryRecoveryCommitsBySubmitterResponse",
|
|
15842
|
+
value: exports.QueryRecoveryCommitsBySubmitterResponse.encode(message).finish()
|
|
15843
|
+
};
|
|
15844
|
+
}
|
|
15845
|
+
};
|