Skip to content

Commit 0d1cba7

Browse files
committed
chore: regenerate protobufs
1 parent 7fdbcef commit 0d1cba7

File tree

149 files changed

+9419
-536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+9419
-536
lines changed
Lines changed: 351 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,351 @@
1+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
2+
// @generated from file cosmos/accounts/interfaces/account_abstraction/v1/interface.proto (package cosmos.accounts.interfaces.account_abstraction.v1, syntax proto3)
3+
/* eslint-disable */
4+
// @ts-nocheck
5+
6+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7+
import { Any, Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8+
import { UserOperation } from "../../../v1/account_abstraction_pb.js";
9+
10+
/**
11+
* MsgAuthenticate is a message that an x/account account abstraction implementer
12+
* must handle to authenticate a state transition.
13+
*
14+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgAuthenticate
15+
*/
16+
export class MsgAuthenticate extends Message<MsgAuthenticate> {
17+
/**
18+
* user_operation is the operation that the user is trying to perform.
19+
* it also contains authentication information.
20+
*
21+
* @generated from field: cosmos.accounts.v1.UserOperation user_operation = 1;
22+
*/
23+
userOperation?: UserOperation;
24+
25+
/**
26+
* chain_id defines the network identifier.
27+
*
28+
* @generated from field: string chain_id = 2;
29+
*/
30+
chainId = "";
31+
32+
/**
33+
* account_number is the account number of the user_operation.
34+
*
35+
* @generated from field: uint64 account_number = 3;
36+
*/
37+
accountNumber = protoInt64.zero;
38+
39+
constructor(data?: PartialMessage<MsgAuthenticate>) {
40+
super();
41+
proto3.util.initPartial(data, this);
42+
}
43+
44+
static readonly runtime: typeof proto3 = proto3;
45+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgAuthenticate";
46+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
47+
{ no: 1, name: "user_operation", kind: "message", T: UserOperation },
48+
{ no: 2, name: "chain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49+
{ no: 3, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
50+
]);
51+
52+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgAuthenticate {
53+
return new MsgAuthenticate().fromBinary(bytes, options);
54+
}
55+
56+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgAuthenticate {
57+
return new MsgAuthenticate().fromJson(jsonValue, options);
58+
}
59+
60+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgAuthenticate {
61+
return new MsgAuthenticate().fromJsonString(jsonString, options);
62+
}
63+
64+
static equals(a: MsgAuthenticate | PlainMessage<MsgAuthenticate> | undefined, b: MsgAuthenticate | PlainMessage<MsgAuthenticate> | undefined): boolean {
65+
return proto3.util.equals(MsgAuthenticate, a, b);
66+
}
67+
}
68+
69+
/**
70+
* MsgAuthenticateResponse is the response to MsgAuthenticate.
71+
* The authentication either fails or succeeds, this is why
72+
* there are no auxiliary fields to the response.
73+
*
74+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgAuthenticateResponse
75+
*/
76+
export class MsgAuthenticateResponse extends Message<MsgAuthenticateResponse> {
77+
constructor(data?: PartialMessage<MsgAuthenticateResponse>) {
78+
super();
79+
proto3.util.initPartial(data, this);
80+
}
81+
82+
static readonly runtime: typeof proto3 = proto3;
83+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgAuthenticateResponse";
84+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
85+
]);
86+
87+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgAuthenticateResponse {
88+
return new MsgAuthenticateResponse().fromBinary(bytes, options);
89+
}
90+
91+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgAuthenticateResponse {
92+
return new MsgAuthenticateResponse().fromJson(jsonValue, options);
93+
}
94+
95+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgAuthenticateResponse {
96+
return new MsgAuthenticateResponse().fromJsonString(jsonString, options);
97+
}
98+
99+
static equals(a: MsgAuthenticateResponse | PlainMessage<MsgAuthenticateResponse> | undefined, b: MsgAuthenticateResponse | PlainMessage<MsgAuthenticateResponse> | undefined): boolean {
100+
return proto3.util.equals(MsgAuthenticateResponse, a, b);
101+
}
102+
}
103+
104+
/**
105+
* MsgPayBundler is a message that an x/account account abstraction implementer
106+
* can optionally implement in case it wants to further refine control over
107+
* the bundler payment messages.
108+
* The account must ensure the caller of this message is the x/accounts module itself.
109+
*
110+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgPayBundler
111+
*/
112+
export class MsgPayBundler extends Message<MsgPayBundler> {
113+
/**
114+
* bundler_payment_messages are the messages that the operation sender will execute.
115+
* The account can modify the messages as it sees fit.
116+
*
117+
* @generated from field: repeated google.protobuf.Any bundler_payment_messages = 1;
118+
*/
119+
bundlerPaymentMessages: Any[] = [];
120+
121+
constructor(data?: PartialMessage<MsgPayBundler>) {
122+
super();
123+
proto3.util.initPartial(data, this);
124+
}
125+
126+
static readonly runtime: typeof proto3 = proto3;
127+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgPayBundler";
128+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
129+
{ no: 1, name: "bundler_payment_messages", kind: "message", T: Any, repeated: true },
130+
]);
131+
132+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgPayBundler {
133+
return new MsgPayBundler().fromBinary(bytes, options);
134+
}
135+
136+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgPayBundler {
137+
return new MsgPayBundler().fromJson(jsonValue, options);
138+
}
139+
140+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgPayBundler {
141+
return new MsgPayBundler().fromJsonString(jsonString, options);
142+
}
143+
144+
static equals(a: MsgPayBundler | PlainMessage<MsgPayBundler> | undefined, b: MsgPayBundler | PlainMessage<MsgPayBundler> | undefined): boolean {
145+
return proto3.util.equals(MsgPayBundler, a, b);
146+
}
147+
}
148+
149+
/**
150+
* MsgPayBundlerResponse is the response to MsgPayBundler.
151+
*
152+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgPayBundlerResponse
153+
*/
154+
export class MsgPayBundlerResponse extends Message<MsgPayBundlerResponse> {
155+
/**
156+
* bundler_payment_messages_response are the messages that the bundler will pay for.
157+
*
158+
* @generated from field: repeated google.protobuf.Any bundler_payment_messages_response = 1;
159+
*/
160+
bundlerPaymentMessagesResponse: Any[] = [];
161+
162+
constructor(data?: PartialMessage<MsgPayBundlerResponse>) {
163+
super();
164+
proto3.util.initPartial(data, this);
165+
}
166+
167+
static readonly runtime: typeof proto3 = proto3;
168+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgPayBundlerResponse";
169+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
170+
{ no: 1, name: "bundler_payment_messages_response", kind: "message", T: Any, repeated: true },
171+
]);
172+
173+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgPayBundlerResponse {
174+
return new MsgPayBundlerResponse().fromBinary(bytes, options);
175+
}
176+
177+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgPayBundlerResponse {
178+
return new MsgPayBundlerResponse().fromJson(jsonValue, options);
179+
}
180+
181+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgPayBundlerResponse {
182+
return new MsgPayBundlerResponse().fromJsonString(jsonString, options);
183+
}
184+
185+
static equals(a: MsgPayBundlerResponse | PlainMessage<MsgPayBundlerResponse> | undefined, b: MsgPayBundlerResponse | PlainMessage<MsgPayBundlerResponse> | undefined): boolean {
186+
return proto3.util.equals(MsgPayBundlerResponse, a, b);
187+
}
188+
}
189+
190+
/**
191+
* MsgExecute is a message that an x/account account abstraction implementer
192+
* can optionally implement in case it wants to further refine control over
193+
* the execution messages. It can be used to extend the execution flow, possibly
194+
* block certain messages, or modify them.
195+
* The account must ensure the caller of this message is the x/accounts module itself.
196+
*
197+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgExecute
198+
*/
199+
export class MsgExecute extends Message<MsgExecute> {
200+
/**
201+
* execution_messages are the messages that the operation sender will execute.
202+
* The account can modify the messages as it sees fit.
203+
*
204+
* @generated from field: repeated google.protobuf.Any execution_messages = 1;
205+
*/
206+
executionMessages: Any[] = [];
207+
208+
constructor(data?: PartialMessage<MsgExecute>) {
209+
super();
210+
proto3.util.initPartial(data, this);
211+
}
212+
213+
static readonly runtime: typeof proto3 = proto3;
214+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgExecute";
215+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
216+
{ no: 1, name: "execution_messages", kind: "message", T: Any, repeated: true },
217+
]);
218+
219+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgExecute {
220+
return new MsgExecute().fromBinary(bytes, options);
221+
}
222+
223+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgExecute {
224+
return new MsgExecute().fromJson(jsonValue, options);
225+
}
226+
227+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgExecute {
228+
return new MsgExecute().fromJsonString(jsonString, options);
229+
}
230+
231+
static equals(a: MsgExecute | PlainMessage<MsgExecute> | undefined, b: MsgExecute | PlainMessage<MsgExecute> | undefined): boolean {
232+
return proto3.util.equals(MsgExecute, a, b);
233+
}
234+
}
235+
236+
/**
237+
* MsgExecuteResponse is the response to MsgExecute.
238+
*
239+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.MsgExecuteResponse
240+
*/
241+
export class MsgExecuteResponse extends Message<MsgExecuteResponse> {
242+
/**
243+
* execution_messages_response are the messages that the operation sender will execute.
244+
*
245+
* @generated from field: repeated google.protobuf.Any execution_messages_response = 1;
246+
*/
247+
executionMessagesResponse: Any[] = [];
248+
249+
constructor(data?: PartialMessage<MsgExecuteResponse>) {
250+
super();
251+
proto3.util.initPartial(data, this);
252+
}
253+
254+
static readonly runtime: typeof proto3 = proto3;
255+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.MsgExecuteResponse";
256+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
257+
{ no: 1, name: "execution_messages_response", kind: "message", T: Any, repeated: true },
258+
]);
259+
260+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgExecuteResponse {
261+
return new MsgExecuteResponse().fromBinary(bytes, options);
262+
}
263+
264+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgExecuteResponse {
265+
return new MsgExecuteResponse().fromJson(jsonValue, options);
266+
}
267+
268+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgExecuteResponse {
269+
return new MsgExecuteResponse().fromJsonString(jsonString, options);
270+
}
271+
272+
static equals(a: MsgExecuteResponse | PlainMessage<MsgExecuteResponse> | undefined, b: MsgExecuteResponse | PlainMessage<MsgExecuteResponse> | undefined): boolean {
273+
return proto3.util.equals(MsgExecuteResponse, a, b);
274+
}
275+
}
276+
277+
/**
278+
* QueryAuthenticationMethods is a query that an x/account account abstraction implementer
279+
* must handle to return the authentication methods that the account supports.
280+
*
281+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.QueryAuthenticationMethods
282+
*/
283+
export class QueryAuthenticationMethods extends Message<QueryAuthenticationMethods> {
284+
constructor(data?: PartialMessage<QueryAuthenticationMethods>) {
285+
super();
286+
proto3.util.initPartial(data, this);
287+
}
288+
289+
static readonly runtime: typeof proto3 = proto3;
290+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.QueryAuthenticationMethods";
291+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
292+
]);
293+
294+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryAuthenticationMethods {
295+
return new QueryAuthenticationMethods().fromBinary(bytes, options);
296+
}
297+
298+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryAuthenticationMethods {
299+
return new QueryAuthenticationMethods().fromJson(jsonValue, options);
300+
}
301+
302+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryAuthenticationMethods {
303+
return new QueryAuthenticationMethods().fromJsonString(jsonString, options);
304+
}
305+
306+
static equals(a: QueryAuthenticationMethods | PlainMessage<QueryAuthenticationMethods> | undefined, b: QueryAuthenticationMethods | PlainMessage<QueryAuthenticationMethods> | undefined): boolean {
307+
return proto3.util.equals(QueryAuthenticationMethods, a, b);
308+
}
309+
}
310+
311+
/**
312+
* QueryAuthenticationMethodsResponse is the response to QueryAuthenticationMethods.
313+
*
314+
* @generated from message cosmos.accounts.interfaces.account_abstraction.v1.QueryAuthenticationMethodsResponse
315+
*/
316+
export class QueryAuthenticationMethodsResponse extends Message<QueryAuthenticationMethodsResponse> {
317+
/**
318+
* authentication_methods are the authentication methods that the account supports.
319+
*
320+
* @generated from field: repeated string authentication_methods = 1;
321+
*/
322+
authenticationMethods: string[] = [];
323+
324+
constructor(data?: PartialMessage<QueryAuthenticationMethodsResponse>) {
325+
super();
326+
proto3.util.initPartial(data, this);
327+
}
328+
329+
static readonly runtime: typeof proto3 = proto3;
330+
static readonly typeName = "cosmos.accounts.interfaces.account_abstraction.v1.QueryAuthenticationMethodsResponse";
331+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
332+
{ no: 1, name: "authentication_methods", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
333+
]);
334+
335+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryAuthenticationMethodsResponse {
336+
return new QueryAuthenticationMethodsResponse().fromBinary(bytes, options);
337+
}
338+
339+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryAuthenticationMethodsResponse {
340+
return new QueryAuthenticationMethodsResponse().fromJson(jsonValue, options);
341+
}
342+
343+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryAuthenticationMethodsResponse {
344+
return new QueryAuthenticationMethodsResponse().fromJsonString(jsonString, options);
345+
}
346+
347+
static equals(a: QueryAuthenticationMethodsResponse | PlainMessage<QueryAuthenticationMethodsResponse> | undefined, b: QueryAuthenticationMethodsResponse | PlainMessage<QueryAuthenticationMethodsResponse> | undefined): boolean {
348+
return proto3.util.equals(QueryAuthenticationMethodsResponse, a, b);
349+
}
350+
}
351+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
2+
// @generated from file cosmos/accounts/module/v1/module.proto (package cosmos.accounts.module.v1, syntax proto3)
3+
/* eslint-disable */
4+
// @ts-nocheck
5+
6+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7+
import { Message, proto3 } from "@bufbuild/protobuf";
8+
9+
/**
10+
* Module is the config object of the accounts module.
11+
*
12+
* @generated from message cosmos.accounts.module.v1.Module
13+
*/
14+
export class Module extends Message<Module> {
15+
constructor(data?: PartialMessage<Module>) {
16+
super();
17+
proto3.util.initPartial(data, this);
18+
}
19+
20+
static readonly runtime: typeof proto3 = proto3;
21+
static readonly typeName = "cosmos.accounts.module.v1.Module";
22+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
23+
]);
24+
25+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Module {
26+
return new Module().fromBinary(bytes, options);
27+
}
28+
29+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Module {
30+
return new Module().fromJson(jsonValue, options);
31+
}
32+
33+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Module {
34+
return new Module().fromJsonString(jsonString, options);
35+
}
36+
37+
static equals(a: Module | PlainMessage<Module> | undefined, b: Module | PlainMessage<Module> | undefined): boolean {
38+
return proto3.util.equals(Module, a, b);
39+
}
40+
}
41+

0 commit comments

Comments
 (0)