-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathProposalCompiled.d.ts
More file actions
263 lines (223 loc) · 9.26 KB
/
ProposalCompiled.d.ts
File metadata and controls
263 lines (223 loc) · 9.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
import * as $protobuf from 'protobufjs';
import Long = require('long');
/** Namespace cosmos. */
export namespace cosmos {
/** Namespace group. */
namespace group {
/** Namespace v1. */
namespace v1 {
/** Properties of a MsgSubmitProposal. */
interface IMsgSubmitProposal {
/** MsgSubmitProposal groupPolicyAddress */
groupPolicyAddress?: string | null;
/** MsgSubmitProposal proposers */
proposers?: string[] | null;
/** MsgSubmitProposal metadata */
metadata?: string | null;
/** MsgSubmitProposal messages */
messages?: google.protobuf.IAny[] | null;
/** MsgSubmitProposal exec */
exec?: cosmos.group.v1.Exec | null;
/** MsgSubmitProposal title */
title?: string | null;
/** MsgSubmitProposal summary */
summary?: string | null;
}
/** Represents a MsgSubmitProposal. */
class MsgSubmitProposal implements IMsgSubmitProposal {
/**
* Constructs a new MsgSubmitProposal.
* @param [properties] Properties to set
*/
constructor(properties?: cosmos.group.v1.IMsgSubmitProposal);
/** MsgSubmitProposal groupPolicyAddress. */
public groupPolicyAddress: string;
/** MsgSubmitProposal proposers. */
public proposers: string[];
/** MsgSubmitProposal metadata. */
public metadata: string;
/** MsgSubmitProposal messages. */
public messages: google.protobuf.IAny[];
/** MsgSubmitProposal exec. */
public exec: cosmos.group.v1.Exec;
/** MsgSubmitProposal title. */
public title: string;
/** MsgSubmitProposal summary. */
public summary: string;
/**
* Creates a new MsgSubmitProposal instance using the specified properties.
* @param [properties] Properties to set
* @returns MsgSubmitProposal instance
*/
public static create(properties?: cosmos.group.v1.IMsgSubmitProposal): cosmos.group.v1.MsgSubmitProposal;
/**
* Encodes the specified MsgSubmitProposal message. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposal.verify|verify} messages.
* @param message MsgSubmitProposal message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: cosmos.group.v1.IMsgSubmitProposal, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MsgSubmitProposal message, length delimited. Does not implicitly {@link cosmos.group.v1.MsgSubmitProposal.verify|verify} messages.
* @param message MsgSubmitProposal message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(
message: cosmos.group.v1.IMsgSubmitProposal,
writer?: $protobuf.Writer
): $protobuf.Writer;
/**
* Decodes a MsgSubmitProposal message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MsgSubmitProposal
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): cosmos.group.v1.MsgSubmitProposal;
/**
* Decodes a MsgSubmitProposal message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MsgSubmitProposal
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): cosmos.group.v1.MsgSubmitProposal;
/**
* Verifies a MsgSubmitProposal message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): string | null;
/**
* Creates a MsgSubmitProposal message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MsgSubmitProposal
*/
public static fromObject(object: { [k: string]: any }): cosmos.group.v1.MsgSubmitProposal;
/**
* Creates a plain object from a MsgSubmitProposal message. Also converts values to other types if specified.
* @param message MsgSubmitProposal
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(
message: cosmos.group.v1.MsgSubmitProposal,
options?: $protobuf.IConversionOptions
): { [k: string]: any };
/**
* Converts this MsgSubmitProposal to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for MsgSubmitProposal
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Exec enum. */
enum Exec {
EXEC_UNSPECIFIED = 0,
EXEC_TRY = 1,
}
}
}
}
/** Namespace google. */
export namespace google {
/** Namespace protobuf. */
namespace protobuf {
/** Properties of an Any. */
interface IAny {
/** Any type_url */
type_url?: string | null;
/** Any value */
value?: Uint8Array | null;
}
/** Represents an Any. */
class Any implements IAny {
/**
* Constructs a new Any.
* @param [properties] Properties to set
*/
constructor(properties?: google.protobuf.IAny);
/** Any type_url. */
public type_url: string;
/** Any value. */
public value: Uint8Array;
/**
* Creates a new Any instance using the specified properties.
* @param [properties] Properties to set
* @returns Any instance
*/
public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
/**
* Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
* @param message Any message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
* @param message Any message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an Any message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Any
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): google.protobuf.Any;
/**
* Decodes an Any message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Any
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): google.protobuf.Any;
/**
* Verifies an Any message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): string | null;
/**
* Creates an Any message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Any
*/
public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
/**
* Creates a plain object from an Any message. Also converts values to other types if specified.
* @param message Any
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(
message: google.protobuf.Any,
options?: $protobuf.IConversionOptions
): { [k: string]: any };
/**
* Converts this Any to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for Any
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
}
}