@verana-labs/verana-types 0.10.1-dev.11 → 0.10.1-dev.13
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/dist/amino-converter/co.d.ts +3 -0
- package/dist/amino-converter/co.js +164 -0
- package/dist/amino-converter/cs.js +2 -2
- package/dist/amino-converter/ec.d.ts +4 -0
- package/dist/amino-converter/ec.js +63 -0
- package/dist/amino-converter/{tr.d.ts → gf.d.ts} +0 -3
- package/dist/amino-converter/gf.js +48 -0
- package/dist/amino-converter/group.d.ts +3 -0
- package/dist/amino-converter/group.js +91 -0
- package/dist/amino-converter/pp.d.ts +12 -0
- package/dist/amino-converter/{perm.js → pp.js} +56 -56
- package/dist/codec/google/protobuf/any.d.ts +143 -0
- package/dist/codec/google/protobuf/any.js +139 -0
- package/dist/codec/verana/co/module/v1/module.d.ts +29 -0
- package/dist/codec/verana/co/module/v1/module.js +98 -0
- package/dist/codec/verana/co/v1/genesis.d.ts +28 -0
- package/dist/codec/verana/co/v1/genesis.js +121 -0
- package/dist/codec/verana/co/v1/params.d.ts +29 -0
- package/dist/codec/verana/co/v1/params.js +81 -0
- package/dist/codec/verana/co/v1/query.d.ts +111 -0
- package/dist/codec/verana/co/v1/query.js +484 -0
- package/dist/codec/verana/co/v1/tx.d.ts +172 -0
- package/dist/codec/verana/co/v1/tx.js +639 -0
- package/dist/codec/verana/co/v1/types.d.ts +60 -0
- package/dist/codec/verana/co/v1/types.js +384 -0
- package/dist/codec/verana/cs/v1/query.d.ts +2 -2
- package/dist/codec/verana/cs/v1/query.js +21 -21
- package/dist/codec/verana/cs/v1/tx.d.ts +1 -1
- package/dist/codec/verana/cs/v1/tx.js +22 -22
- package/dist/codec/verana/cs/v1/types.d.ts +6 -2
- package/dist/codec/verana/cs/v1/types.js +30 -30
- package/dist/codec/verana/{tr → ec}/module/module.d.ts +1 -1
- package/dist/codec/verana/{tr → ec}/module/module.js +2 -2
- package/dist/codec/verana/{tr → ec}/v1/genesis.d.ts +10 -12
- package/dist/codec/verana/{tr → ec}/v1/genesis.js +16 -56
- package/dist/codec/verana/{tr → ec}/v1/params.d.ts +1 -1
- package/dist/codec/verana/{tr → ec}/v1/params.js +2 -2
- package/dist/codec/verana/ec/v1/query.d.ts +109 -0
- package/dist/codec/verana/{tr → ec}/v1/query.js +69 -71
- package/dist/codec/verana/ec/v1/tx.d.ts +152 -0
- package/dist/codec/verana/{tr → ec}/v1/tx.js +85 -403
- package/dist/codec/verana/ec/v1/types.d.ts +67 -0
- package/dist/codec/verana/ec/v1/types.js +422 -0
- package/dist/codec/verana/gf/module/v1/module.d.ts +29 -0
- package/dist/codec/verana/gf/module/v1/module.js +98 -0
- package/dist/codec/verana/gf/v1/genesis.d.ts +29 -0
- package/dist/codec/verana/gf/v1/genesis.js +137 -0
- package/dist/codec/verana/gf/v1/params.d.ts +28 -0
- package/dist/codec/verana/gf/v1/params.js +81 -0
- package/dist/codec/verana/gf/v1/query.d.ts +108 -0
- package/dist/codec/verana/gf/v1/query.js +462 -0
- package/dist/codec/verana/gf/v1/tx.d.ts +142 -0
- package/dist/codec/verana/gf/v1/tx.js +486 -0
- package/dist/codec/verana/{tr → gf}/v1/types.d.ts +18 -48
- package/dist/codec/verana/gf/v1/types.js +477 -0
- package/dist/codec/verana/{perm → pp}/module/module.d.ts +1 -1
- package/dist/codec/verana/{perm → pp}/module/module.js +2 -2
- package/dist/codec/verana/{perm → pp}/v1/genesis.d.ts +9 -9
- package/dist/codec/verana/{perm → pp}/v1/genesis.js +26 -26
- package/dist/codec/verana/{perm → pp}/v1/params.d.ts +1 -1
- package/dist/codec/verana/{perm → pp}/v1/params.js +2 -2
- package/dist/codec/verana/pp/v1/query.d.ts +208 -0
- package/dist/codec/verana/{perm → pp}/v1/query.js +148 -148
- package/dist/codec/verana/pp/v1/tx.d.ts +437 -0
- package/dist/codec/verana/{perm → pp}/v1/tx.js +255 -249
- package/dist/codec/verana/pp/v1/types.d.ts +140 -0
- package/dist/codec/verana/{perm → pp}/v1/types.js +278 -262
- package/dist/helpers/aminoConverters.d.ts +6 -4
- package/dist/helpers/aminoConverters.js +6 -4
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/signing.d.ts +36 -32
- package/dist/signing.js +85 -68
- package/package.json +1 -1
- package/dist/amino-converter/perm.d.ts +0 -12
- package/dist/amino-converter/tr.js +0 -107
- package/dist/codec/verana/perm/v1/query.d.ts +0 -208
- package/dist/codec/verana/perm/v1/tx.d.ts +0 -441
- package/dist/codec/verana/perm/v1/types.d.ts +0 -134
- package/dist/codec/verana/tr/v1/query.d.ts +0 -117
- package/dist/codec/verana/tr/v1/tx.d.ts +0 -255
- package/dist/codec/verana/tr/v1/types.js +0 -809
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Duration } from "../../../google/protobuf/duration";
|
|
4
|
+
import { Params } from "./params";
|
|
5
|
+
import { OptionalUInt64, ParticipantRole } from "./types";
|
|
6
|
+
export declare const protobufPackage = "verana.pp.v1";
|
|
7
|
+
/** MsgUpdateParams is the Msg/UpdateParams request type. */
|
|
8
|
+
export interface MsgUpdateParams {
|
|
9
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
10
|
+
authority: string;
|
|
11
|
+
/**
|
|
12
|
+
* params defines the module parameters to update.
|
|
13
|
+
*
|
|
14
|
+
* NOTE: All parameters must be supplied.
|
|
15
|
+
*/
|
|
16
|
+
params: Params | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
20
|
+
* MsgUpdateParams message.
|
|
21
|
+
*/
|
|
22
|
+
export interface MsgUpdateParamsResponse {
|
|
23
|
+
}
|
|
24
|
+
/** MsgStartParticipantOP represents a message to start a participant onboarding process */
|
|
25
|
+
export interface MsgStartParticipantOP {
|
|
26
|
+
/** corporation is the group account on whose behalf this message is executed */
|
|
27
|
+
corporation: string;
|
|
28
|
+
/** operator is the account authorized by the corporation to run this Msg */
|
|
29
|
+
operator: string;
|
|
30
|
+
role: ParticipantRole;
|
|
31
|
+
validatorParticipantId: number;
|
|
32
|
+
/** mandatory: MUST conform to DID Syntax */
|
|
33
|
+
did: string;
|
|
34
|
+
validationFees: OptionalUInt64 | undefined;
|
|
35
|
+
issuanceFees: OptionalUInt64 | undefined;
|
|
36
|
+
verificationFees: OptionalUInt64 | undefined;
|
|
37
|
+
/** vs_operator: the account of the Verifiable Service (optional) */
|
|
38
|
+
vsOperator: string;
|
|
39
|
+
vsOperatorAuthzEnabled: boolean;
|
|
40
|
+
vsOperatorAuthzSpendLimit: Coin[];
|
|
41
|
+
vsOperatorAuthzWithFeegrant: boolean;
|
|
42
|
+
vsOperatorAuthzFeeSpendLimit: Coin[];
|
|
43
|
+
vsOperatorAuthzSpendPeriod: Duration | undefined;
|
|
44
|
+
}
|
|
45
|
+
/** MsgStartParticipantOPResponse defines the Msg/StartParticipantOP response type */
|
|
46
|
+
export interface MsgStartParticipantOPResponse {
|
|
47
|
+
participantId: number;
|
|
48
|
+
}
|
|
49
|
+
/** MsgRenewParticipantOP represents a message to renew a participant onboarding process */
|
|
50
|
+
export interface MsgRenewParticipantOP {
|
|
51
|
+
/** [MOD-PP-MSG-2-1] Spec v4 parameters: corporation, operator, id. */
|
|
52
|
+
corporation: string;
|
|
53
|
+
operator: string;
|
|
54
|
+
/** ID of the participant to renew */
|
|
55
|
+
id: number;
|
|
56
|
+
}
|
|
57
|
+
/** MsgRenewParticipantOPResponse defines the Msg/RenewParticipantOP response type */
|
|
58
|
+
export interface MsgRenewParticipantOPResponse {
|
|
59
|
+
}
|
|
60
|
+
/** MsgSetParticipantOPToValidated represents a message to set a participant onboarding process to validated state */
|
|
61
|
+
export interface MsgSetParticipantOPToValidated {
|
|
62
|
+
/** corporation is the group account on whose behalf this message is executed */
|
|
63
|
+
corporation: string;
|
|
64
|
+
/** operator is the account authorized by the corporation to run this Msg */
|
|
65
|
+
operator: string;
|
|
66
|
+
id: number;
|
|
67
|
+
effectiveUntil: Date | undefined;
|
|
68
|
+
validationFees: number;
|
|
69
|
+
issuanceFees: number;
|
|
70
|
+
verificationFees: number;
|
|
71
|
+
opSummaryDigest: string;
|
|
72
|
+
/**
|
|
73
|
+
* Fee discount fields (scaled: 0 = 0.0, 10000 = 1.0, range 0-10000)
|
|
74
|
+
* Default to 0 (no discount), maximum 10000 (100% discount)
|
|
75
|
+
*/
|
|
76
|
+
issuanceFeeDiscount: number;
|
|
77
|
+
/** Verification fee discount (mandatory, default 0) */
|
|
78
|
+
verificationFeeDiscount: number;
|
|
79
|
+
}
|
|
80
|
+
/** MsgSetParticipantOPToValidatedResponse defines the Msg/SetParticipantOPToValidated response type */
|
|
81
|
+
export interface MsgSetParticipantOPToValidatedResponse {
|
|
82
|
+
}
|
|
83
|
+
export interface MsgCancelParticipantOPLastRequest {
|
|
84
|
+
/** corporation is the group account on whose behalf this message is executed */
|
|
85
|
+
corporation: string;
|
|
86
|
+
/** operator is the account authorized by the corporation to run this Msg */
|
|
87
|
+
operator: string;
|
|
88
|
+
/** Participant ID */
|
|
89
|
+
id: number;
|
|
90
|
+
}
|
|
91
|
+
export interface MsgCancelParticipantOPLastRequestResponse {
|
|
92
|
+
}
|
|
93
|
+
export interface MsgCreateRootParticipant {
|
|
94
|
+
/**
|
|
95
|
+
* [MOD-PP-MSG-7-1] Spec v4 parameters.
|
|
96
|
+
* participant.role is hardcoded to ECOSYSTEM by the handler per [MOD-PP-MSG-7-3];
|
|
97
|
+
* vs_operator is not set on root participants.
|
|
98
|
+
*/
|
|
99
|
+
corporation: string;
|
|
100
|
+
operator: string;
|
|
101
|
+
schemaId: number;
|
|
102
|
+
did: string;
|
|
103
|
+
effectiveFrom: Date | undefined;
|
|
104
|
+
effectiveUntil: Date | undefined;
|
|
105
|
+
validationFees: number;
|
|
106
|
+
issuanceFees: number;
|
|
107
|
+
verificationFees: number;
|
|
108
|
+
}
|
|
109
|
+
export interface MsgCreateRootParticipantResponse {
|
|
110
|
+
/** ID of the created participant */
|
|
111
|
+
id: number;
|
|
112
|
+
}
|
|
113
|
+
export interface MsgSetParticipantEffectiveUntil {
|
|
114
|
+
corporation: string;
|
|
115
|
+
operator: string;
|
|
116
|
+
/** Participant ID */
|
|
117
|
+
id: number;
|
|
118
|
+
effectiveUntil: Date | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface MsgSetParticipantEffectiveUntilResponse {
|
|
121
|
+
}
|
|
122
|
+
export interface MsgRevokeParticipant {
|
|
123
|
+
corporation: string;
|
|
124
|
+
operator: string;
|
|
125
|
+
/** Participant ID */
|
|
126
|
+
id: number;
|
|
127
|
+
}
|
|
128
|
+
export interface MsgRevokeParticipantResponse {
|
|
129
|
+
}
|
|
130
|
+
export interface MsgCreateOrUpdateParticipantSession {
|
|
131
|
+
/** corporation is the group account on whose behalf this message is executed */
|
|
132
|
+
corporation: string;
|
|
133
|
+
/** operator is the account authorized by the corporation to run this Msg (vs_operator) */
|
|
134
|
+
operator: string;
|
|
135
|
+
/** UUID (mandatory) */
|
|
136
|
+
id: string;
|
|
137
|
+
/** optional: issuer participant id */
|
|
138
|
+
issuerParticipantId: number;
|
|
139
|
+
/** optional: verifier participant id */
|
|
140
|
+
verifierParticipantId: number;
|
|
141
|
+
/** mandatory: agent credential issuer participant id */
|
|
142
|
+
agentParticipantId: number;
|
|
143
|
+
/** mandatory: wallet credential issuer participant id */
|
|
144
|
+
walletAgentParticipantId: number;
|
|
145
|
+
/** optional: digest derived from an issued or verified credential */
|
|
146
|
+
digest: string;
|
|
147
|
+
}
|
|
148
|
+
export interface MsgCreateOrUpdateParticipantSessionResponse {
|
|
149
|
+
id: string;
|
|
150
|
+
}
|
|
151
|
+
export interface MsgSlashParticipantTrustDeposit {
|
|
152
|
+
/** corporation is the group account on whose behalf this message is executed */
|
|
153
|
+
corporation: string;
|
|
154
|
+
/** operator is the account authorized by the corporation to run this Msg */
|
|
155
|
+
operator: string;
|
|
156
|
+
id: number;
|
|
157
|
+
amount: number;
|
|
158
|
+
/** [MOD-PP-MSG-12-1] reason for the slash (mandatory per spec v4) */
|
|
159
|
+
reason: string;
|
|
160
|
+
}
|
|
161
|
+
export interface MsgSlashParticipantTrustDepositResponse {
|
|
162
|
+
}
|
|
163
|
+
export interface MsgRepayParticipantSlashedTrustDeposit {
|
|
164
|
+
corporation: string;
|
|
165
|
+
operator: string;
|
|
166
|
+
id: number;
|
|
167
|
+
amount: number;
|
|
168
|
+
}
|
|
169
|
+
export interface MsgRepayParticipantSlashedTrustDepositResponse {
|
|
170
|
+
}
|
|
171
|
+
export interface MsgSelfCreateParticipant {
|
|
172
|
+
corporation: string;
|
|
173
|
+
operator: string;
|
|
174
|
+
role: ParticipantRole;
|
|
175
|
+
validatorParticipantId: number;
|
|
176
|
+
did: string;
|
|
177
|
+
effectiveFrom: Date | undefined;
|
|
178
|
+
effectiveUntil: Date | undefined;
|
|
179
|
+
verificationFees: number;
|
|
180
|
+
validationFees: number;
|
|
181
|
+
/** vs_operator: the account of the Verifiable Service (optional) */
|
|
182
|
+
vsOperator: string;
|
|
183
|
+
vsOperatorAuthzEnabled: boolean;
|
|
184
|
+
vsOperatorAuthzSpendLimit: Coin[];
|
|
185
|
+
vsOperatorAuthzWithFeegrant: boolean;
|
|
186
|
+
vsOperatorAuthzFeeSpendLimit: Coin[];
|
|
187
|
+
vsOperatorAuthzSpendPeriod: Duration | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface MsgSelfCreateParticipantResponse {
|
|
190
|
+
id: number;
|
|
191
|
+
}
|
|
192
|
+
export declare const MsgUpdateParams: {
|
|
193
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
194
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
|
|
195
|
+
fromJSON(object: any): MsgUpdateParams;
|
|
196
|
+
toJSON(message: MsgUpdateParams): unknown;
|
|
197
|
+
create<I extends Exact<DeepPartial<MsgUpdateParams>, I>>(base?: I): MsgUpdateParams;
|
|
198
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParams>, I>>(object: I): MsgUpdateParams;
|
|
199
|
+
};
|
|
200
|
+
export declare const MsgUpdateParamsResponse: {
|
|
201
|
+
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
202
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
|
|
203
|
+
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
204
|
+
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
205
|
+
create<I extends Exact<DeepPartial<MsgUpdateParamsResponse>, I>>(base?: I): MsgUpdateParamsResponse;
|
|
206
|
+
fromPartial<I extends Exact<DeepPartial<MsgUpdateParamsResponse>, I>>(_: I): MsgUpdateParamsResponse;
|
|
207
|
+
};
|
|
208
|
+
export declare const MsgStartParticipantOP: {
|
|
209
|
+
encode(message: MsgStartParticipantOP, writer?: _m0.Writer): _m0.Writer;
|
|
210
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStartParticipantOP;
|
|
211
|
+
fromJSON(object: any): MsgStartParticipantOP;
|
|
212
|
+
toJSON(message: MsgStartParticipantOP): unknown;
|
|
213
|
+
create<I extends Exact<DeepPartial<MsgStartParticipantOP>, I>>(base?: I): MsgStartParticipantOP;
|
|
214
|
+
fromPartial<I extends Exact<DeepPartial<MsgStartParticipantOP>, I>>(object: I): MsgStartParticipantOP;
|
|
215
|
+
};
|
|
216
|
+
export declare const MsgStartParticipantOPResponse: {
|
|
217
|
+
encode(message: MsgStartParticipantOPResponse, writer?: _m0.Writer): _m0.Writer;
|
|
218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgStartParticipantOPResponse;
|
|
219
|
+
fromJSON(object: any): MsgStartParticipantOPResponse;
|
|
220
|
+
toJSON(message: MsgStartParticipantOPResponse): unknown;
|
|
221
|
+
create<I extends Exact<DeepPartial<MsgStartParticipantOPResponse>, I>>(base?: I): MsgStartParticipantOPResponse;
|
|
222
|
+
fromPartial<I extends Exact<DeepPartial<MsgStartParticipantOPResponse>, I>>(object: I): MsgStartParticipantOPResponse;
|
|
223
|
+
};
|
|
224
|
+
export declare const MsgRenewParticipantOP: {
|
|
225
|
+
encode(message: MsgRenewParticipantOP, writer?: _m0.Writer): _m0.Writer;
|
|
226
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRenewParticipantOP;
|
|
227
|
+
fromJSON(object: any): MsgRenewParticipantOP;
|
|
228
|
+
toJSON(message: MsgRenewParticipantOP): unknown;
|
|
229
|
+
create<I extends Exact<DeepPartial<MsgRenewParticipantOP>, I>>(base?: I): MsgRenewParticipantOP;
|
|
230
|
+
fromPartial<I extends Exact<DeepPartial<MsgRenewParticipantOP>, I>>(object: I): MsgRenewParticipantOP;
|
|
231
|
+
};
|
|
232
|
+
export declare const MsgRenewParticipantOPResponse: {
|
|
233
|
+
encode(_: MsgRenewParticipantOPResponse, writer?: _m0.Writer): _m0.Writer;
|
|
234
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRenewParticipantOPResponse;
|
|
235
|
+
fromJSON(_: any): MsgRenewParticipantOPResponse;
|
|
236
|
+
toJSON(_: MsgRenewParticipantOPResponse): unknown;
|
|
237
|
+
create<I extends Exact<DeepPartial<MsgRenewParticipantOPResponse>, I>>(base?: I): MsgRenewParticipantOPResponse;
|
|
238
|
+
fromPartial<I extends Exact<DeepPartial<MsgRenewParticipantOPResponse>, I>>(_: I): MsgRenewParticipantOPResponse;
|
|
239
|
+
};
|
|
240
|
+
export declare const MsgSetParticipantOPToValidated: {
|
|
241
|
+
encode(message: MsgSetParticipantOPToValidated, writer?: _m0.Writer): _m0.Writer;
|
|
242
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetParticipantOPToValidated;
|
|
243
|
+
fromJSON(object: any): MsgSetParticipantOPToValidated;
|
|
244
|
+
toJSON(message: MsgSetParticipantOPToValidated): unknown;
|
|
245
|
+
create<I extends Exact<DeepPartial<MsgSetParticipantOPToValidated>, I>>(base?: I): MsgSetParticipantOPToValidated;
|
|
246
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetParticipantOPToValidated>, I>>(object: I): MsgSetParticipantOPToValidated;
|
|
247
|
+
};
|
|
248
|
+
export declare const MsgSetParticipantOPToValidatedResponse: {
|
|
249
|
+
encode(_: MsgSetParticipantOPToValidatedResponse, writer?: _m0.Writer): _m0.Writer;
|
|
250
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetParticipantOPToValidatedResponse;
|
|
251
|
+
fromJSON(_: any): MsgSetParticipantOPToValidatedResponse;
|
|
252
|
+
toJSON(_: MsgSetParticipantOPToValidatedResponse): unknown;
|
|
253
|
+
create<I extends Exact<DeepPartial<MsgSetParticipantOPToValidatedResponse>, I>>(base?: I): MsgSetParticipantOPToValidatedResponse;
|
|
254
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetParticipantOPToValidatedResponse>, I>>(_: I): MsgSetParticipantOPToValidatedResponse;
|
|
255
|
+
};
|
|
256
|
+
export declare const MsgCancelParticipantOPLastRequest: {
|
|
257
|
+
encode(message: MsgCancelParticipantOPLastRequest, writer?: _m0.Writer): _m0.Writer;
|
|
258
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelParticipantOPLastRequest;
|
|
259
|
+
fromJSON(object: any): MsgCancelParticipantOPLastRequest;
|
|
260
|
+
toJSON(message: MsgCancelParticipantOPLastRequest): unknown;
|
|
261
|
+
create<I extends Exact<DeepPartial<MsgCancelParticipantOPLastRequest>, I>>(base?: I): MsgCancelParticipantOPLastRequest;
|
|
262
|
+
fromPartial<I extends Exact<DeepPartial<MsgCancelParticipantOPLastRequest>, I>>(object: I): MsgCancelParticipantOPLastRequest;
|
|
263
|
+
};
|
|
264
|
+
export declare const MsgCancelParticipantOPLastRequestResponse: {
|
|
265
|
+
encode(_: MsgCancelParticipantOPLastRequestResponse, writer?: _m0.Writer): _m0.Writer;
|
|
266
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelParticipantOPLastRequestResponse;
|
|
267
|
+
fromJSON(_: any): MsgCancelParticipantOPLastRequestResponse;
|
|
268
|
+
toJSON(_: MsgCancelParticipantOPLastRequestResponse): unknown;
|
|
269
|
+
create<I extends Exact<DeepPartial<MsgCancelParticipantOPLastRequestResponse>, I>>(base?: I): MsgCancelParticipantOPLastRequestResponse;
|
|
270
|
+
fromPartial<I extends Exact<DeepPartial<MsgCancelParticipantOPLastRequestResponse>, I>>(_: I): MsgCancelParticipantOPLastRequestResponse;
|
|
271
|
+
};
|
|
272
|
+
export declare const MsgCreateRootParticipant: {
|
|
273
|
+
encode(message: MsgCreateRootParticipant, writer?: _m0.Writer): _m0.Writer;
|
|
274
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateRootParticipant;
|
|
275
|
+
fromJSON(object: any): MsgCreateRootParticipant;
|
|
276
|
+
toJSON(message: MsgCreateRootParticipant): unknown;
|
|
277
|
+
create<I extends Exact<DeepPartial<MsgCreateRootParticipant>, I>>(base?: I): MsgCreateRootParticipant;
|
|
278
|
+
fromPartial<I extends Exact<DeepPartial<MsgCreateRootParticipant>, I>>(object: I): MsgCreateRootParticipant;
|
|
279
|
+
};
|
|
280
|
+
export declare const MsgCreateRootParticipantResponse: {
|
|
281
|
+
encode(message: MsgCreateRootParticipantResponse, writer?: _m0.Writer): _m0.Writer;
|
|
282
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateRootParticipantResponse;
|
|
283
|
+
fromJSON(object: any): MsgCreateRootParticipantResponse;
|
|
284
|
+
toJSON(message: MsgCreateRootParticipantResponse): unknown;
|
|
285
|
+
create<I extends Exact<DeepPartial<MsgCreateRootParticipantResponse>, I>>(base?: I): MsgCreateRootParticipantResponse;
|
|
286
|
+
fromPartial<I extends Exact<DeepPartial<MsgCreateRootParticipantResponse>, I>>(object: I): MsgCreateRootParticipantResponse;
|
|
287
|
+
};
|
|
288
|
+
export declare const MsgSetParticipantEffectiveUntil: {
|
|
289
|
+
encode(message: MsgSetParticipantEffectiveUntil, writer?: _m0.Writer): _m0.Writer;
|
|
290
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetParticipantEffectiveUntil;
|
|
291
|
+
fromJSON(object: any): MsgSetParticipantEffectiveUntil;
|
|
292
|
+
toJSON(message: MsgSetParticipantEffectiveUntil): unknown;
|
|
293
|
+
create<I extends Exact<DeepPartial<MsgSetParticipantEffectiveUntil>, I>>(base?: I): MsgSetParticipantEffectiveUntil;
|
|
294
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetParticipantEffectiveUntil>, I>>(object: I): MsgSetParticipantEffectiveUntil;
|
|
295
|
+
};
|
|
296
|
+
export declare const MsgSetParticipantEffectiveUntilResponse: {
|
|
297
|
+
encode(_: MsgSetParticipantEffectiveUntilResponse, writer?: _m0.Writer): _m0.Writer;
|
|
298
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetParticipantEffectiveUntilResponse;
|
|
299
|
+
fromJSON(_: any): MsgSetParticipantEffectiveUntilResponse;
|
|
300
|
+
toJSON(_: MsgSetParticipantEffectiveUntilResponse): unknown;
|
|
301
|
+
create<I extends Exact<DeepPartial<MsgSetParticipantEffectiveUntilResponse>, I>>(base?: I): MsgSetParticipantEffectiveUntilResponse;
|
|
302
|
+
fromPartial<I extends Exact<DeepPartial<MsgSetParticipantEffectiveUntilResponse>, I>>(_: I): MsgSetParticipantEffectiveUntilResponse;
|
|
303
|
+
};
|
|
304
|
+
export declare const MsgRevokeParticipant: {
|
|
305
|
+
encode(message: MsgRevokeParticipant, writer?: _m0.Writer): _m0.Writer;
|
|
306
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeParticipant;
|
|
307
|
+
fromJSON(object: any): MsgRevokeParticipant;
|
|
308
|
+
toJSON(message: MsgRevokeParticipant): unknown;
|
|
309
|
+
create<I extends Exact<DeepPartial<MsgRevokeParticipant>, I>>(base?: I): MsgRevokeParticipant;
|
|
310
|
+
fromPartial<I extends Exact<DeepPartial<MsgRevokeParticipant>, I>>(object: I): MsgRevokeParticipant;
|
|
311
|
+
};
|
|
312
|
+
export declare const MsgRevokeParticipantResponse: {
|
|
313
|
+
encode(_: MsgRevokeParticipantResponse, writer?: _m0.Writer): _m0.Writer;
|
|
314
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeParticipantResponse;
|
|
315
|
+
fromJSON(_: any): MsgRevokeParticipantResponse;
|
|
316
|
+
toJSON(_: MsgRevokeParticipantResponse): unknown;
|
|
317
|
+
create<I extends Exact<DeepPartial<MsgRevokeParticipantResponse>, I>>(base?: I): MsgRevokeParticipantResponse;
|
|
318
|
+
fromPartial<I extends Exact<DeepPartial<MsgRevokeParticipantResponse>, I>>(_: I): MsgRevokeParticipantResponse;
|
|
319
|
+
};
|
|
320
|
+
export declare const MsgCreateOrUpdateParticipantSession: {
|
|
321
|
+
encode(message: MsgCreateOrUpdateParticipantSession, writer?: _m0.Writer): _m0.Writer;
|
|
322
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateOrUpdateParticipantSession;
|
|
323
|
+
fromJSON(object: any): MsgCreateOrUpdateParticipantSession;
|
|
324
|
+
toJSON(message: MsgCreateOrUpdateParticipantSession): unknown;
|
|
325
|
+
create<I extends Exact<DeepPartial<MsgCreateOrUpdateParticipantSession>, I>>(base?: I): MsgCreateOrUpdateParticipantSession;
|
|
326
|
+
fromPartial<I extends Exact<DeepPartial<MsgCreateOrUpdateParticipantSession>, I>>(object: I): MsgCreateOrUpdateParticipantSession;
|
|
327
|
+
};
|
|
328
|
+
export declare const MsgCreateOrUpdateParticipantSessionResponse: {
|
|
329
|
+
encode(message: MsgCreateOrUpdateParticipantSessionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
330
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateOrUpdateParticipantSessionResponse;
|
|
331
|
+
fromJSON(object: any): MsgCreateOrUpdateParticipantSessionResponse;
|
|
332
|
+
toJSON(message: MsgCreateOrUpdateParticipantSessionResponse): unknown;
|
|
333
|
+
create<I extends Exact<DeepPartial<MsgCreateOrUpdateParticipantSessionResponse>, I>>(base?: I): MsgCreateOrUpdateParticipantSessionResponse;
|
|
334
|
+
fromPartial<I extends Exact<DeepPartial<MsgCreateOrUpdateParticipantSessionResponse>, I>>(object: I): MsgCreateOrUpdateParticipantSessionResponse;
|
|
335
|
+
};
|
|
336
|
+
export declare const MsgSlashParticipantTrustDeposit: {
|
|
337
|
+
encode(message: MsgSlashParticipantTrustDeposit, writer?: _m0.Writer): _m0.Writer;
|
|
338
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSlashParticipantTrustDeposit;
|
|
339
|
+
fromJSON(object: any): MsgSlashParticipantTrustDeposit;
|
|
340
|
+
toJSON(message: MsgSlashParticipantTrustDeposit): unknown;
|
|
341
|
+
create<I extends Exact<DeepPartial<MsgSlashParticipantTrustDeposit>, I>>(base?: I): MsgSlashParticipantTrustDeposit;
|
|
342
|
+
fromPartial<I extends Exact<DeepPartial<MsgSlashParticipantTrustDeposit>, I>>(object: I): MsgSlashParticipantTrustDeposit;
|
|
343
|
+
};
|
|
344
|
+
export declare const MsgSlashParticipantTrustDepositResponse: {
|
|
345
|
+
encode(_: MsgSlashParticipantTrustDepositResponse, writer?: _m0.Writer): _m0.Writer;
|
|
346
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSlashParticipantTrustDepositResponse;
|
|
347
|
+
fromJSON(_: any): MsgSlashParticipantTrustDepositResponse;
|
|
348
|
+
toJSON(_: MsgSlashParticipantTrustDepositResponse): unknown;
|
|
349
|
+
create<I extends Exact<DeepPartial<MsgSlashParticipantTrustDepositResponse>, I>>(base?: I): MsgSlashParticipantTrustDepositResponse;
|
|
350
|
+
fromPartial<I extends Exact<DeepPartial<MsgSlashParticipantTrustDepositResponse>, I>>(_: I): MsgSlashParticipantTrustDepositResponse;
|
|
351
|
+
};
|
|
352
|
+
export declare const MsgRepayParticipantSlashedTrustDeposit: {
|
|
353
|
+
encode(message: MsgRepayParticipantSlashedTrustDeposit, writer?: _m0.Writer): _m0.Writer;
|
|
354
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRepayParticipantSlashedTrustDeposit;
|
|
355
|
+
fromJSON(object: any): MsgRepayParticipantSlashedTrustDeposit;
|
|
356
|
+
toJSON(message: MsgRepayParticipantSlashedTrustDeposit): unknown;
|
|
357
|
+
create<I extends Exact<DeepPartial<MsgRepayParticipantSlashedTrustDeposit>, I>>(base?: I): MsgRepayParticipantSlashedTrustDeposit;
|
|
358
|
+
fromPartial<I extends Exact<DeepPartial<MsgRepayParticipantSlashedTrustDeposit>, I>>(object: I): MsgRepayParticipantSlashedTrustDeposit;
|
|
359
|
+
};
|
|
360
|
+
export declare const MsgRepayParticipantSlashedTrustDepositResponse: {
|
|
361
|
+
encode(_: MsgRepayParticipantSlashedTrustDepositResponse, writer?: _m0.Writer): _m0.Writer;
|
|
362
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRepayParticipantSlashedTrustDepositResponse;
|
|
363
|
+
fromJSON(_: any): MsgRepayParticipantSlashedTrustDepositResponse;
|
|
364
|
+
toJSON(_: MsgRepayParticipantSlashedTrustDepositResponse): unknown;
|
|
365
|
+
create<I extends Exact<DeepPartial<MsgRepayParticipantSlashedTrustDepositResponse>, I>>(base?: I): MsgRepayParticipantSlashedTrustDepositResponse;
|
|
366
|
+
fromPartial<I extends Exact<DeepPartial<MsgRepayParticipantSlashedTrustDepositResponse>, I>>(_: I): MsgRepayParticipantSlashedTrustDepositResponse;
|
|
367
|
+
};
|
|
368
|
+
export declare const MsgSelfCreateParticipant: {
|
|
369
|
+
encode(message: MsgSelfCreateParticipant, writer?: _m0.Writer): _m0.Writer;
|
|
370
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSelfCreateParticipant;
|
|
371
|
+
fromJSON(object: any): MsgSelfCreateParticipant;
|
|
372
|
+
toJSON(message: MsgSelfCreateParticipant): unknown;
|
|
373
|
+
create<I extends Exact<DeepPartial<MsgSelfCreateParticipant>, I>>(base?: I): MsgSelfCreateParticipant;
|
|
374
|
+
fromPartial<I extends Exact<DeepPartial<MsgSelfCreateParticipant>, I>>(object: I): MsgSelfCreateParticipant;
|
|
375
|
+
};
|
|
376
|
+
export declare const MsgSelfCreateParticipantResponse: {
|
|
377
|
+
encode(message: MsgSelfCreateParticipantResponse, writer?: _m0.Writer): _m0.Writer;
|
|
378
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSelfCreateParticipantResponse;
|
|
379
|
+
fromJSON(object: any): MsgSelfCreateParticipantResponse;
|
|
380
|
+
toJSON(message: MsgSelfCreateParticipantResponse): unknown;
|
|
381
|
+
create<I extends Exact<DeepPartial<MsgSelfCreateParticipantResponse>, I>>(base?: I): MsgSelfCreateParticipantResponse;
|
|
382
|
+
fromPartial<I extends Exact<DeepPartial<MsgSelfCreateParticipantResponse>, I>>(object: I): MsgSelfCreateParticipantResponse;
|
|
383
|
+
};
|
|
384
|
+
/** Msg defines the Msg service. */
|
|
385
|
+
export interface Msg {
|
|
386
|
+
/**
|
|
387
|
+
* UpdateParams defines a (governance) operation for updating the module
|
|
388
|
+
* parameters. The authority defaults to the x/gov module account.
|
|
389
|
+
*/
|
|
390
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
391
|
+
StartParticipantOP(request: MsgStartParticipantOP): Promise<MsgStartParticipantOPResponse>;
|
|
392
|
+
RenewParticipantOP(request: MsgRenewParticipantOP): Promise<MsgRenewParticipantOPResponse>;
|
|
393
|
+
SetParticipantOPToValidated(request: MsgSetParticipantOPToValidated): Promise<MsgSetParticipantOPToValidatedResponse>;
|
|
394
|
+
CancelParticipantOPLastRequest(request: MsgCancelParticipantOPLastRequest): Promise<MsgCancelParticipantOPLastRequestResponse>;
|
|
395
|
+
CreateRootParticipant(request: MsgCreateRootParticipant): Promise<MsgCreateRootParticipantResponse>;
|
|
396
|
+
SetParticipantEffectiveUntil(request: MsgSetParticipantEffectiveUntil): Promise<MsgSetParticipantEffectiveUntilResponse>;
|
|
397
|
+
RevokeParticipant(request: MsgRevokeParticipant): Promise<MsgRevokeParticipantResponse>;
|
|
398
|
+
CreateOrUpdateParticipantSession(request: MsgCreateOrUpdateParticipantSession): Promise<MsgCreateOrUpdateParticipantSessionResponse>;
|
|
399
|
+
SlashParticipantTrustDeposit(request: MsgSlashParticipantTrustDeposit): Promise<MsgSlashParticipantTrustDepositResponse>;
|
|
400
|
+
RepayParticipantSlashedTrustDeposit(request: MsgRepayParticipantSlashedTrustDeposit): Promise<MsgRepayParticipantSlashedTrustDepositResponse>;
|
|
401
|
+
/** [MOD-PP-MSG-14] Self Create Participant (OPEN mode) */
|
|
402
|
+
SelfCreateParticipant(request: MsgSelfCreateParticipant): Promise<MsgSelfCreateParticipantResponse>;
|
|
403
|
+
}
|
|
404
|
+
export declare const MsgServiceName = "verana.pp.v1.Msg";
|
|
405
|
+
export declare class MsgClientImpl implements Msg {
|
|
406
|
+
private readonly rpc;
|
|
407
|
+
private readonly service;
|
|
408
|
+
constructor(rpc: Rpc, opts?: {
|
|
409
|
+
service?: string;
|
|
410
|
+
});
|
|
411
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
412
|
+
StartParticipantOP(request: MsgStartParticipantOP): Promise<MsgStartParticipantOPResponse>;
|
|
413
|
+
RenewParticipantOP(request: MsgRenewParticipantOP): Promise<MsgRenewParticipantOPResponse>;
|
|
414
|
+
SetParticipantOPToValidated(request: MsgSetParticipantOPToValidated): Promise<MsgSetParticipantOPToValidatedResponse>;
|
|
415
|
+
CancelParticipantOPLastRequest(request: MsgCancelParticipantOPLastRequest): Promise<MsgCancelParticipantOPLastRequestResponse>;
|
|
416
|
+
CreateRootParticipant(request: MsgCreateRootParticipant): Promise<MsgCreateRootParticipantResponse>;
|
|
417
|
+
SetParticipantEffectiveUntil(request: MsgSetParticipantEffectiveUntil): Promise<MsgSetParticipantEffectiveUntilResponse>;
|
|
418
|
+
RevokeParticipant(request: MsgRevokeParticipant): Promise<MsgRevokeParticipantResponse>;
|
|
419
|
+
CreateOrUpdateParticipantSession(request: MsgCreateOrUpdateParticipantSession): Promise<MsgCreateOrUpdateParticipantSessionResponse>;
|
|
420
|
+
SlashParticipantTrustDeposit(request: MsgSlashParticipantTrustDeposit): Promise<MsgSlashParticipantTrustDepositResponse>;
|
|
421
|
+
RepayParticipantSlashedTrustDeposit(request: MsgRepayParticipantSlashedTrustDeposit): Promise<MsgRepayParticipantSlashedTrustDepositResponse>;
|
|
422
|
+
SelfCreateParticipant(request: MsgSelfCreateParticipant): Promise<MsgSelfCreateParticipantResponse>;
|
|
423
|
+
}
|
|
424
|
+
interface Rpc {
|
|
425
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
426
|
+
}
|
|
427
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
428
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
429
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
430
|
+
} : Partial<T>;
|
|
431
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
432
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
433
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
434
|
+
} & {
|
|
435
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
436
|
+
};
|
|
437
|
+
export {};
|