@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burnt-labs/xion-types",
3
- "version": "25.0.2",
3
+ "version": "25.1.0",
4
4
  "author": "burnt-labs <devops@burnt.com>",
5
5
  "description": "xion-types",
6
6
  "main": "index.js",
@@ -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 _291 from "./v1/tx.amino";
9
- import * as _292 from "./v1/tx.registry";
10
- import * as _293 from "./v1/query.lcd";
11
- import * as _294 from "./v1/query.rpc.Query";
12
- import * as _295 from "./v1/tx.rpc.msg";
13
- import * as _481 from "./lcd";
14
- import * as _482 from "./rpc.query";
15
- import * as _483 from "./rpc.tx";
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
- ..._481,
32
- ..._482,
33
- ..._483
31
+ ..._474,
32
+ ..._475,
33
+ ..._476
34
34
  };
35
35
  }
@@ -1,5 +1,5 @@
1
1
  //@ts-nocheck
2
- import * as _6 from "./amino";
2
+ import * as _0 from "./amino";
3
3
  export const amino = {
4
- ..._6
4
+ ..._0
5
5
  };
@@ -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 | AbstractAccount | Any)[] | Any[];
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 | AbstractAccountProtoMsg | AnyProtoMsg)[];
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 | AbstractAccountSDKType | AnySDKType)[];
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 | AbstractAccount | Any | undefined;
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 | AbstractAccountProtoMsg | AnyProtoMsg | undefined;
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 | AbstractAccountSDKType | AnySDKType | undefined;
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): AbstractAccount | BaseAccount | Any => {
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",