@@ -147,6 +147,58 @@ export namespace cosmos {
147147 EXEC_UNSPECIFIED = 0 ,
148148 EXEC_TRY = 1 ,
149149 }
150+
151+ /** VoteOption enum. */
152+ enum VoteOption {
153+ VOTE_OPTION_UNSPECIFIED = 0 ,
154+ VOTE_OPTION_YES = 1 ,
155+ VOTE_OPTION_ABSTAIN = 2 ,
156+ VOTE_OPTION_NO = 3 ,
157+ VOTE_OPTION_NO_WITH_VETO = 4 ,
158+ }
159+
160+ /** Properties of a MsgVote. */
161+ interface IMsgVote {
162+ /** MsgVote proposalId */
163+ proposalId ?: number | Long | null ;
164+
165+ /** MsgVote voter */
166+ voter ?: string | null ;
167+
168+ /** MsgVote option */
169+ option ?: cosmos . group . v1 . VoteOption | null ;
170+
171+ /** MsgVote metadata */
172+ metadata ?: string | null ;
173+
174+ /** MsgVote exec */
175+ exec ?: cosmos . group . v1 . Exec | null ;
176+ }
177+
178+ /** Represents a MsgVote. */
179+ class MsgVote implements IMsgVote {
180+ constructor ( properties ?: cosmos . group . v1 . IMsgVote ) ;
181+
182+ public proposalId : number | Long ;
183+ public voter : string ;
184+ public option : cosmos . group . v1 . VoteOption ;
185+ public metadata : string ;
186+ public exec : cosmos . group . v1 . Exec ;
187+
188+ public static create ( properties ?: cosmos . group . v1 . IMsgVote ) : cosmos . group . v1 . MsgVote ;
189+ public static encode ( message : cosmos . group . v1 . IMsgVote , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
190+ public static encodeDelimited ( message : cosmos . group . v1 . IMsgVote , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
191+ public static decode ( reader : $protobuf . Reader | Uint8Array , length ?: number ) : cosmos . group . v1 . MsgVote ;
192+ public static decodeDelimited ( reader : $protobuf . Reader | Uint8Array ) : cosmos . group . v1 . MsgVote ;
193+ public static verify ( message : { [ k : string ] : any } ) : string | null ;
194+ public static fromObject ( object : { [ k : string ] : any } ) : cosmos . group . v1 . MsgVote ;
195+ public static toObject (
196+ message : cosmos . group . v1 . MsgVote ,
197+ options ?: $protobuf . IConversionOptions
198+ ) : { [ k : string ] : any } ;
199+ public toJSON ( ) : { [ k : string ] : any } ;
200+ public static getTypeUrl ( typeUrlPrefix ?: string ) : string ;
201+ }
150202 }
151203 }
152204}
0 commit comments