@burnt-labs/xion-types 16.0.0 → 18.0.0

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.
Files changed (100) hide show
  1. package/package.json +7 -20
  2. package/README.md +0 -111
  3. package/types/.gitkeep +0 -0
  4. package/types/generated/amino/amino.ts +0 -9
  5. package/types/generated/cosmos/app/v1alpha1/config.ts +0 -336
  6. package/types/generated/cosmos/app/v1alpha1/query.ts +0 -265
  7. package/types/generated/cosmos/auth/v1beta1/auth.ts +0 -520
  8. package/types/generated/cosmos/auth/v1beta1/query.ts +0 -1852
  9. package/types/generated/cosmos/authz/v1beta1/authz.ts +0 -404
  10. package/types/generated/cosmos/authz/v1beta1/query.ts +0 -774
  11. package/types/generated/cosmos/autocli/v1/options.ts +0 -1016
  12. package/types/generated/cosmos/autocli/v1/query.ts +0 -379
  13. package/types/generated/cosmos/bank/v1beta1/bank.ts +0 -752
  14. package/types/generated/cosmos/bank/v1beta1/query.ts +0 -2789
  15. package/types/generated/cosmos/base/abci/v1beta1/abci.ts +0 -1447
  16. package/types/generated/cosmos/base/node/v1beta1/query.ts +0 -587
  17. package/types/generated/cosmos/base/query/v1beta1/pagination.ts +0 -317
  18. package/types/generated/cosmos/base/tendermint/v1beta1/query.ts +0 -2228
  19. package/types/generated/cosmos/base/tendermint/v1beta1/types.ts +0 -522
  20. package/types/generated/cosmos/base/v1beta1/coin.ts +0 -326
  21. package/types/generated/cosmos/circuit/v1/query.ts +0 -606
  22. package/types/generated/cosmos/circuit/v1/types.ts +0 -353
  23. package/types/generated/cosmos/consensus/v1/query.ts +0 -271
  24. package/types/generated/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -212
  25. package/types/generated/cosmos/distribution/v1beta1/distribution.ts +0 -1143
  26. package/types/generated/cosmos/distribution/v1beta1/query.ts +0 -2005
  27. package/types/generated/cosmos/evidence/v1beta1/query.ts +0 -526
  28. package/types/generated/cosmos/feegrant/v1beta1/feegrant.ts +0 -502
  29. package/types/generated/cosmos/feegrant/v1beta1/query.ts +0 -725
  30. package/types/generated/cosmos/gov/v1/gov.ts +0 -1656
  31. package/types/generated/cosmos/gov/v1/query.ts +0 -1847
  32. package/types/generated/cosmos/gov/v1beta1/gov.ts +0 -1239
  33. package/types/generated/cosmos/gov/v1beta1/query.ts +0 -1658
  34. package/types/generated/cosmos/group/v1/query.ts +0 -2840
  35. package/types/generated/cosmos/group/v1/types.ts +0 -1803
  36. package/types/generated/cosmos/ics23/v1/proofs.ts +0 -1685
  37. package/types/generated/cosmos/mint/v1beta1/mint.ts +0 -273
  38. package/types/generated/cosmos/mint/v1beta1/query.ts +0 -589
  39. package/types/generated/cosmos/msg/v1/msg.ts +0 -9
  40. package/types/generated/cosmos/nft/v1beta1/nft.ts +0 -333
  41. package/types/generated/cosmos/nft/v1beta1/query.ts +0 -1362
  42. package/types/generated/cosmos/orm/query/v1alpha1/query.ts +0 -1016
  43. package/types/generated/cosmos/params/v1beta1/params.ts +0 -227
  44. package/types/generated/cosmos/params/v1beta1/query.ts +0 -545
  45. package/types/generated/cosmos/query/v1/query.ts +0 -9
  46. package/types/generated/cosmos/slashing/v1beta1/query.ts +0 -626
  47. package/types/generated/cosmos/slashing/v1beta1/slashing.ts +0 -409
  48. package/types/generated/cosmos/staking/v1beta1/query.ts +0 -2912
  49. package/types/generated/cosmos/staking/v1beta1/staking.ts +0 -2515
  50. package/types/generated/cosmos/tx/signing/v1beta1/signing.ts +0 -608
  51. package/types/generated/cosmos/tx/v1beta1/service.ts +0 -2111
  52. package/types/generated/cosmos/tx/v1beta1/tx.ts +0 -1613
  53. package/types/generated/cosmos/upgrade/v1beta1/query.ts +0 -1007
  54. package/types/generated/cosmos/upgrade/v1beta1/upgrade.ts +0 -507
  55. package/types/generated/cosmos_proto/cosmos.ts +0 -299
  56. package/types/generated/cosmwasm/wasm/v1/query.ts +0 -2984
  57. package/types/generated/cosmwasm/wasm/v1/types.ts +0 -962
  58. package/types/generated/gogoproto/gogo.ts +0 -9
  59. package/types/generated/google/api/annotations.ts +0 -9
  60. package/types/generated/google/api/http.ts +0 -757
  61. package/types/generated/google/protobuf/any.ts +0 -253
  62. package/types/generated/google/protobuf/descriptor.ts +0 -4958
  63. package/types/generated/google/protobuf/duration.ts +0 -186
  64. package/types/generated/google/protobuf/timestamp.ts +0 -215
  65. package/types/generated/ibc/applications/fee/v1/fee.ts +0 -391
  66. package/types/generated/ibc/applications/fee/v1/genesis.ts +0 -553
  67. package/types/generated/ibc/applications/fee/v1/query.ts +0 -2056
  68. package/types/generated/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -100
  69. package/types/generated/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -447
  70. package/types/generated/ibc/applications/interchain_accounts/host/v1/host.ts +0 -235
  71. package/types/generated/ibc/applications/interchain_accounts/host/v1/query.ts +0 -265
  72. package/types/generated/ibc/applications/transfer/v1/query.ts +0 -1135
  73. package/types/generated/ibc/applications/transfer/v1/transfer.ts +0 -213
  74. package/types/generated/ibc/core/channel/v1/channel.ts +0 -1329
  75. package/types/generated/ibc/core/channel/v1/query.ts +0 -4214
  76. package/types/generated/ibc/core/channel/v1/upgrade.ts +0 -330
  77. package/types/generated/ibc/core/client/v1/client.ts +0 -726
  78. package/types/generated/ibc/core/client/v1/query.ts +0 -2208
  79. package/types/generated/ibc/core/commitment/v1/commitment.ts +0 -329
  80. package/types/generated/ibc/core/connection/v1/connection.ts +0 -813
  81. package/types/generated/ibc/core/connection/v1/query.ts +0 -1442
  82. package/types/generated/ibc/lightclients/wasm/v1/query.ts +0 -484
  83. package/types/generated/tendermint/abci/types.ts +0 -6429
  84. package/types/generated/tendermint/crypto/keys.ts +0 -137
  85. package/types/generated/tendermint/crypto/proof.ts +0 -506
  86. package/types/generated/tendermint/p2p/types.ts +0 -514
  87. package/types/generated/tendermint/types/block.ts +0 -151
  88. package/types/generated/tendermint/types/evidence.ts +0 -493
  89. package/types/generated/tendermint/types/params.ts +0 -687
  90. package/types/generated/tendermint/types/types.ts +0 -2069
  91. package/types/generated/tendermint/types/validator.ts +0 -409
  92. package/types/generated/tendermint/version/types.ts +0 -202
  93. package/types/generated/xion/globalfee/v1/genesis.ts +0 -219
  94. package/types/generated/xion/globalfee/v1/query.ts +0 -269
  95. package/types/generated/xion/jwk/v1/audience.ts +0 -188
  96. package/types/generated/xion/jwk/v1/params.ts +0 -118
  97. package/types/generated/xion/jwk/v1/query.ts +0 -1061
  98. package/types/generated/xion/mint/v1/mint.ts +0 -273
  99. package/types/generated/xion/mint/v1/query.ts +0 -589
  100. package/types/generated/xion/v1/query.ts +0 -878
@@ -1,253 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v1.181.2
4
- // protoc unknown
5
- // source: google/protobuf/any.proto
6
-
7
- /* eslint-disable */
8
- import Long from "long";
9
- import _m0 from "protobufjs/minimal";
10
-
11
- export const protobufPackage = "google.protobuf";
12
-
13
- /**
14
- * `Any` contains an arbitrary serialized protocol buffer message along with a
15
- * URL that describes the type of the serialized message.
16
- *
17
- * Protobuf library provides support to pack/unpack Any values in the form
18
- * of utility functions or additional generated methods of the Any type.
19
- *
20
- * Example 1: Pack and unpack a message in C++.
21
- *
22
- * Foo foo = ...;
23
- * Any any;
24
- * any.PackFrom(foo);
25
- * ...
26
- * if (any.UnpackTo(&foo)) {
27
- * ...
28
- * }
29
- *
30
- * Example 2: Pack and unpack a message in Java.
31
- *
32
- * Foo foo = ...;
33
- * Any any = Any.pack(foo);
34
- * ...
35
- * if (any.is(Foo.class)) {
36
- * foo = any.unpack(Foo.class);
37
- * }
38
- * // or ...
39
- * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
40
- * foo = any.unpack(Foo.getDefaultInstance());
41
- * }
42
- *
43
- * Example 3: Pack and unpack a message in Python.
44
- *
45
- * foo = Foo(...)
46
- * any = Any()
47
- * any.Pack(foo)
48
- * ...
49
- * if any.Is(Foo.DESCRIPTOR):
50
- * any.Unpack(foo)
51
- * ...
52
- *
53
- * Example 4: Pack and unpack a message in Go
54
- *
55
- * foo := &pb.Foo{...}
56
- * any, err := anypb.New(foo)
57
- * if err != nil {
58
- * ...
59
- * }
60
- * ...
61
- * foo := &pb.Foo{}
62
- * if err := any.UnmarshalTo(foo); err != nil {
63
- * ...
64
- * }
65
- *
66
- * The pack methods provided by protobuf library will by default use
67
- * 'type.googleapis.com/full.type.name' as the type URL and the unpack
68
- * methods only use the fully qualified type name after the last '/'
69
- * in the type URL, for example "foo.bar.com/x/y.z" will yield type
70
- * name "y.z".
71
- *
72
- * JSON
73
- *
74
- * The JSON representation of an `Any` value uses the regular
75
- * representation of the deserialized, embedded message, with an
76
- * additional field `@type` which contains the type URL. Example:
77
- *
78
- * package google.profile;
79
- * message Person {
80
- * string first_name = 1;
81
- * string last_name = 2;
82
- * }
83
- *
84
- * {
85
- * "@type": "type.googleapis.com/google.profile.Person",
86
- * "firstName": <string>,
87
- * "lastName": <string>
88
- * }
89
- *
90
- * If the embedded message type is well-known and has a custom JSON
91
- * representation, that representation will be embedded adding a field
92
- * `value` which holds the custom JSON in addition to the `@type`
93
- * field. Example (for message [google.protobuf.Duration][]):
94
- *
95
- * {
96
- * "@type": "type.googleapis.com/google.protobuf.Duration",
97
- * "value": "1.212s"
98
- * }
99
- */
100
- export interface Any {
101
- /**
102
- * A URL/resource name that uniquely identifies the type of the serialized
103
- * protocol buffer message. This string must contain at least
104
- * one "/" character. The last segment of the URL's path must represent
105
- * the fully qualified name of the type (as in
106
- * `path/google.protobuf.Duration`). The name should be in a canonical form
107
- * (e.g., leading "." is not accepted).
108
- *
109
- * In practice, teams usually precompile into the binary all types that they
110
- * expect it to use in the context of Any. However, for URLs which use the
111
- * scheme `http`, `https`, or no scheme, one can optionally set up a type
112
- * server that maps type URLs to message definitions as follows:
113
- *
114
- * * If no scheme is provided, `https` is assumed.
115
- * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
116
- * value in binary format, or produce an error.
117
- * * Applications are allowed to cache lookup results based on the
118
- * URL, or have them precompiled into a binary to avoid any
119
- * lookup. Therefore, binary compatibility needs to be preserved
120
- * on changes to types. (Use versioned type names to manage
121
- * breaking changes.)
122
- *
123
- * Note: this functionality is not currently available in the official
124
- * protobuf release, and it is not used for type URLs beginning with
125
- * type.googleapis.com.
126
- *
127
- * Schemes other than `http`, `https` (or the empty scheme) might be
128
- * used with implementation specific semantics.
129
- */
130
- typeUrl: string;
131
- /** Must be a valid serialized protocol buffer of the above specified type. */
132
- value: Uint8Array;
133
- }
134
-
135
- function createBaseAny(): Any {
136
- return { typeUrl: "", value: new Uint8Array(0) };
137
- }
138
-
139
- export const Any = {
140
- encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
141
- if (message.typeUrl !== "") {
142
- writer.uint32(10).string(message.typeUrl);
143
- }
144
- if (message.value.length !== 0) {
145
- writer.uint32(18).bytes(message.value);
146
- }
147
- return writer;
148
- },
149
-
150
- decode(input: _m0.Reader | Uint8Array, length?: number): Any {
151
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
152
- let end = length === undefined ? reader.len : reader.pos + length;
153
- const message = createBaseAny();
154
- while (reader.pos < end) {
155
- const tag = reader.uint32();
156
- switch (tag >>> 3) {
157
- case 1:
158
- if (tag !== 10) {
159
- break;
160
- }
161
-
162
- message.typeUrl = reader.string();
163
- continue;
164
- case 2:
165
- if (tag !== 18) {
166
- break;
167
- }
168
-
169
- message.value = reader.bytes();
170
- continue;
171
- }
172
- if ((tag & 7) === 4 || tag === 0) {
173
- break;
174
- }
175
- reader.skipType(tag & 7);
176
- }
177
- return message;
178
- },
179
-
180
- fromJSON(object: any): Any {
181
- return {
182
- typeUrl: isSet(object.typeUrl) ? globalThis.String(object.typeUrl) : "",
183
- value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),
184
- };
185
- },
186
-
187
- toJSON(message: Any): unknown {
188
- const obj: any = {};
189
- if (message.typeUrl !== "") {
190
- obj.typeUrl = message.typeUrl;
191
- }
192
- if (message.value.length !== 0) {
193
- obj.value = base64FromBytes(message.value);
194
- }
195
- return obj;
196
- },
197
-
198
- create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any {
199
- return Any.fromPartial(base ?? ({} as any));
200
- },
201
- fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {
202
- const message = createBaseAny();
203
- message.typeUrl = object.typeUrl ?? "";
204
- message.value = object.value ?? new Uint8Array(0);
205
- return message;
206
- },
207
- };
208
-
209
- function bytesFromBase64(b64: string): Uint8Array {
210
- if ((globalThis as any).Buffer) {
211
- return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
212
- } else {
213
- const bin = globalThis.atob(b64);
214
- const arr = new Uint8Array(bin.length);
215
- for (let i = 0; i < bin.length; ++i) {
216
- arr[i] = bin.charCodeAt(i);
217
- }
218
- return arr;
219
- }
220
- }
221
-
222
- function base64FromBytes(arr: Uint8Array): string {
223
- if ((globalThis as any).Buffer) {
224
- return globalThis.Buffer.from(arr).toString("base64");
225
- } else {
226
- const bin: string[] = [];
227
- arr.forEach((byte) => {
228
- bin.push(globalThis.String.fromCharCode(byte));
229
- });
230
- return globalThis.btoa(bin.join(""));
231
- }
232
- }
233
-
234
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
235
-
236
- export type DeepPartial<T> = T extends Builtin ? T
237
- : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
238
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
239
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
240
- : Partial<T>;
241
-
242
- type KeysOfUnion<T> = T extends T ? keyof T : never;
243
- export type Exact<P, I extends P> = P extends Builtin ? P
244
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
245
-
246
- if (_m0.util.Long !== Long) {
247
- _m0.util.Long = Long as any;
248
- _m0.configure();
249
- }
250
-
251
- function isSet(value: any): boolean {
252
- return value !== null && value !== undefined;
253
- }