@burnt-labs/xion-types 25.0.2 → 25.1.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.
- package/package.json +1 -1
- package/types/abstractaccount/bundle.ts +15 -15
- package/types/amino/bundle.ts +2 -2
- package/types/cosmos/auth/v1beta1/query.ts +7 -20
- package/types/cosmos/bundle.ts +508 -508
- package/types/cosmos_proto/bundle.ts +2 -2
- package/types/cosmwasm/bundle.ts +29 -29
- package/types/gogoproto/bundle.ts +2 -2
- package/types/google/api/cloudquotas/v1/resources.ts +2 -2
- package/types/google/api/cloudquotas/v1beta/resources.ts +2 -2
- package/types/google/bundle.ts +69 -69
- package/types/google/protobuf/field_mask.ts +48 -54
- package/types/ibc/bundle.ts +182 -182
- package/types/index.ts +0 -2
- package/types/tendermint/bundle.ts +20 -20
- package/types/xion/bundle.ts +103 -103
package/package.json
CHANGED
|
@@ -5,14 +5,14 @@ import * as _2 from "./v1/genesis";
|
|
|
5
5
|
import * as _3 from "./v1/params";
|
|
6
6
|
import * as _4 from "./v1/query";
|
|
7
7
|
import * as _5 from "./v1/tx";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
8
|
+
import * as _288 from "./v1/tx.amino";
|
|
9
|
+
import * as _289 from "./v1/tx.registry";
|
|
10
|
+
import * as _290 from "./v1/query.lcd";
|
|
11
|
+
import * as _291 from "./v1/query.rpc.Query";
|
|
12
|
+
import * as _292 from "./v1/tx.rpc.msg";
|
|
13
|
+
import * as _474 from "./lcd";
|
|
14
|
+
import * as _475 from "./rpc.query";
|
|
15
|
+
import * as _476 from "./rpc.tx";
|
|
16
16
|
export namespace abstractaccount {
|
|
17
17
|
export const v1 = {
|
|
18
18
|
..._0,
|
|
@@ -21,15 +21,15 @@ export namespace abstractaccount {
|
|
|
21
21
|
..._3,
|
|
22
22
|
..._4,
|
|
23
23
|
..._5,
|
|
24
|
+
..._288,
|
|
25
|
+
..._289,
|
|
26
|
+
..._290,
|
|
24
27
|
..._291,
|
|
25
|
-
..._292
|
|
26
|
-
..._293,
|
|
27
|
-
..._294,
|
|
28
|
-
..._295
|
|
28
|
+
..._292
|
|
29
29
|
};
|
|
30
30
|
export const ClientFactory = {
|
|
31
|
-
...
|
|
32
|
-
...
|
|
33
|
-
...
|
|
31
|
+
..._474,
|
|
32
|
+
..._475,
|
|
33
|
+
..._476
|
|
34
34
|
};
|
|
35
35
|
}
|
package/types/amino/bundle.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
|
3
3
|
import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
|
|
4
4
|
import { Params, ParamsAmino, ParamsSDKType, BaseAccount, BaseAccountProtoMsg, BaseAccountAmino, BaseAccountSDKType, ModuleAccount, ModuleAccountProtoMsg, ModuleAccountSDKType } from "./auth";
|
|
5
|
-
import { AbstractAccount, AbstractAccountProtoMsg, AbstractAccountSDKType } from "../../../abstractaccount/v1/account";
|
|
6
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
6
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
8
7
|
/** QueryAccountsRequest is the request type for the Query/Accounts RPC method. */
|
|
@@ -37,7 +36,7 @@ export interface QueryAccountsRequestSDKType {
|
|
|
37
36
|
/** QueryAccountsResponse is the response type for the Query/Accounts RPC method. */
|
|
38
37
|
export interface QueryAccountsResponse {
|
|
39
38
|
/** accounts are the existing accounts */
|
|
40
|
-
accounts: (BaseAccount |
|
|
39
|
+
accounts: (BaseAccount | Any)[] | Any[];
|
|
41
40
|
/** pagination defines the pagination in the response. */
|
|
42
41
|
pagination?: PageResponse;
|
|
43
42
|
}
|
|
@@ -46,7 +45,7 @@ export interface QueryAccountsResponseProtoMsg {
|
|
|
46
45
|
value: Uint8Array;
|
|
47
46
|
}
|
|
48
47
|
export type QueryAccountsResponseEncoded = Omit<QueryAccountsResponse, "accounts"> & {
|
|
49
|
-
/** accounts are the existing accounts */accounts: (BaseAccountProtoMsg |
|
|
48
|
+
/** accounts are the existing accounts */accounts: (BaseAccountProtoMsg | AnyProtoMsg)[];
|
|
50
49
|
};
|
|
51
50
|
/**
|
|
52
51
|
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
|
|
@@ -70,7 +69,7 @@ export interface QueryAccountsResponseAminoMsg {
|
|
|
70
69
|
}
|
|
71
70
|
/** QueryAccountsResponse is the response type for the Query/Accounts RPC method. */
|
|
72
71
|
export interface QueryAccountsResponseSDKType {
|
|
73
|
-
accounts: (BaseAccountSDKType |
|
|
72
|
+
accounts: (BaseAccountSDKType | AnySDKType)[];
|
|
74
73
|
pagination?: PageResponseSDKType;
|
|
75
74
|
}
|
|
76
75
|
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
|
|
@@ -105,14 +104,14 @@ export interface QueryAccountRequestSDKType {
|
|
|
105
104
|
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
|
|
106
105
|
export interface QueryAccountResponse {
|
|
107
106
|
/** account defines the account of the corresponding address. */
|
|
108
|
-
account?: BaseAccount |
|
|
107
|
+
account?: BaseAccount | Any | undefined;
|
|
109
108
|
}
|
|
110
109
|
export interface QueryAccountResponseProtoMsg {
|
|
111
110
|
typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse";
|
|
112
111
|
value: Uint8Array;
|
|
113
112
|
}
|
|
114
113
|
export type QueryAccountResponseEncoded = Omit<QueryAccountResponse, "account"> & {
|
|
115
|
-
/** account defines the account of the corresponding address. */account?: BaseAccountProtoMsg |
|
|
114
|
+
/** account defines the account of the corresponding address. */account?: BaseAccountProtoMsg | AnyProtoMsg | undefined;
|
|
116
115
|
};
|
|
117
116
|
/**
|
|
118
117
|
* QueryAccountResponse is the response type for the Query/Account RPC method.
|
|
@@ -132,7 +131,7 @@ export interface QueryAccountResponseAminoMsg {
|
|
|
132
131
|
}
|
|
133
132
|
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
|
|
134
133
|
export interface QueryAccountResponseSDKType {
|
|
135
|
-
account?: BaseAccountSDKType |
|
|
134
|
+
account?: BaseAccountSDKType | AnySDKType | undefined;
|
|
136
135
|
}
|
|
137
136
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
138
137
|
export interface QueryParamsRequest {}
|
|
@@ -1927,12 +1926,10 @@ export const QueryAccountInfoResponse = {
|
|
|
1927
1926
|
};
|
|
1928
1927
|
}
|
|
1929
1928
|
};
|
|
1930
|
-
export const Cosmos_authv1beta1AccountI_InterfaceDecoder = (input: BinaryReader | Uint8Array):
|
|
1929
|
+
export const Cosmos_authv1beta1AccountI_InterfaceDecoder = (input: BinaryReader | Uint8Array): BaseAccount | Any => {
|
|
1931
1930
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1932
1931
|
const data = Any.decode(reader, reader.uint32());
|
|
1933
1932
|
switch (data.typeUrl) {
|
|
1934
|
-
case "/abstractaccount.v1.AbstractAccount":
|
|
1935
|
-
return AbstractAccount.decode(data.value);
|
|
1936
1933
|
case "/cosmos.auth.v1beta1.BaseAccount":
|
|
1937
1934
|
return BaseAccount.decode(data.value);
|
|
1938
1935
|
default:
|
|
@@ -1941,11 +1938,6 @@ export const Cosmos_authv1beta1AccountI_InterfaceDecoder = (input: BinaryReader
|
|
|
1941
1938
|
};
|
|
1942
1939
|
export const Cosmos_authv1beta1AccountI_FromAmino = (content: AnyAmino): Any => {
|
|
1943
1940
|
switch (content.type) {
|
|
1944
|
-
case "/abstractaccount.v1.AbstractAccount":
|
|
1945
|
-
return Any.fromPartial({
|
|
1946
|
-
typeUrl: "/abstractaccount.v1.AbstractAccount",
|
|
1947
|
-
value: AbstractAccount.encode(AbstractAccount.fromPartial(AbstractAccount.fromAmino(content.value))).finish()
|
|
1948
|
-
});
|
|
1949
1941
|
case "cosmos-sdk/BaseAccount":
|
|
1950
1942
|
return Any.fromPartial({
|
|
1951
1943
|
typeUrl: "/cosmos.auth.v1beta1.BaseAccount",
|
|
@@ -1957,11 +1949,6 @@ export const Cosmos_authv1beta1AccountI_FromAmino = (content: AnyAmino): Any =>
|
|
|
1957
1949
|
};
|
|
1958
1950
|
export const Cosmos_authv1beta1AccountI_ToAmino = (content: Any) => {
|
|
1959
1951
|
switch (content.typeUrl) {
|
|
1960
|
-
case "/abstractaccount.v1.AbstractAccount":
|
|
1961
|
-
return {
|
|
1962
|
-
type: "/abstractaccount.v1.AbstractAccount",
|
|
1963
|
-
value: AbstractAccount.toAmino(AbstractAccount.decode(content.value, undefined))
|
|
1964
|
-
};
|
|
1965
1952
|
case "/cosmos.auth.v1beta1.BaseAccount":
|
|
1966
1953
|
return {
|
|
1967
1954
|
type: "cosmos-sdk/BaseAccount",
|