@iconlake/client 0.6.0 → 1.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/dist/index.iife.js +4 -4
- package/dist/index.js +4 -4
- package/dist/index.mjs +5228 -5144
- package/dist/index.umd.js +4 -4
- package/package.json +2 -2
- package/types/amino.d.ts +32 -0
- package/types/client.d.ts +2 -0
- package/types/cosmos.authz.v1beta1/module.d.ts +10 -10
- package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
- package/types/cosmos.distribution.v1beta1/module.d.ts +26 -26
- package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
- package/types/cosmos.gov.v1/module.d.ts +21 -21
- package/types/cosmos.gov.v1beta1/module.d.ts +15 -15
- package/types/cosmos.group.v1/module.d.ts +78 -78
- package/types/cosmos.staking.v1beta1/module.d.ts +33 -33
- package/types/cosmos.vesting.v1beta1/module.d.ts +10 -10
- package/types/iconlake.drop/module.d.ts +10 -10
- package/types/iconlake.drop/types/iconlake/drop/tx.d.ts +17 -0
- package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +20 -3
- package/types/index.d.ts +200 -200
- package/types/iconlake.iconlake/index.d.ts +0 -5
- package/types/iconlake.iconlake/module.d.ts +0 -44
- package/types/iconlake.iconlake/registry.d.ts +0 -3
- package/types/iconlake.iconlake/rest.d.ts +0 -196
- package/types/iconlake.iconlake/types/amino/amino.d.ts +0 -1
- package/types/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.d.ts +0 -108
- package/types/iconlake.iconlake/types/cosmos/base/v1beta1/coin.d.ts +0 -89
- package/types/iconlake.iconlake/types/cosmos_proto/cosmos.d.ts +0 -98
- package/types/iconlake.iconlake/types/gogoproto/gogo.d.ts +0 -1
- package/types/iconlake.iconlake/types/google/api/annotations.d.ts +0 -1
- package/types/iconlake.iconlake/types/google/api/http.d.ts +0 -1634
- package/types/iconlake.iconlake/types/google/protobuf/descriptor.d.ts +0 -50957
- package/types/iconlake.iconlake/types/iconlake/iconlake/account.d.ts +0 -30
- package/types/iconlake.iconlake/types/iconlake/iconlake/genesis.d.ts +0 -48
- package/types/iconlake.iconlake/types/iconlake/iconlake/params.d.ts +0 -23
- package/types/iconlake.iconlake/types/iconlake/iconlake/query.d.ts +0 -170
- package/types/iconlake.iconlake/types/iconlake/iconlake/tx.d.ts +0 -66
- package/types/iconlake.iconlake/types.d.ts +0 -3
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { StdFee } from "@cosmjs/launchpad";
|
|
2
|
-
import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
3
|
-
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
|
-
import { IgniteClient } from "../client";
|
|
5
|
-
import { Api } from "./rest";
|
|
6
|
-
import { MsgMintDrop } from "./types/iconlake/iconlake/tx";
|
|
7
|
-
export { MsgMintDrop };
|
|
8
|
-
type sendMsgMintDropParams = {
|
|
9
|
-
value: MsgMintDrop;
|
|
10
|
-
fee?: StdFee;
|
|
11
|
-
memo?: string;
|
|
12
|
-
};
|
|
13
|
-
type msgMintDropParams = {
|
|
14
|
-
value: MsgMintDrop;
|
|
15
|
-
};
|
|
16
|
-
export declare const registry: Registry;
|
|
17
|
-
interface TxClientOptions {
|
|
18
|
-
addr: string;
|
|
19
|
-
prefix: string;
|
|
20
|
-
signer?: OfflineSigner;
|
|
21
|
-
}
|
|
22
|
-
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
23
|
-
sendMsgMintDrop({ value, fee, memo }: sendMsgMintDropParams): Promise<DeliverTxResponse>;
|
|
24
|
-
msgMintDrop({ value }: msgMintDropParams): EncodeObject;
|
|
25
|
-
};
|
|
26
|
-
interface QueryClientOptions {
|
|
27
|
-
addr: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const queryClient: ({ addr: addr }?: QueryClientOptions) => Api<unknown>;
|
|
30
|
-
declare class SDKModule {
|
|
31
|
-
query: ReturnType<typeof queryClient>;
|
|
32
|
-
tx: ReturnType<typeof txClient>;
|
|
33
|
-
structure: Record<string, unknown>;
|
|
34
|
-
registry: Array<[string, GeneratedType]>;
|
|
35
|
-
constructor(client: IgniteClient);
|
|
36
|
-
updateTX(client: IgniteClient): void;
|
|
37
|
-
}
|
|
38
|
-
declare const Module: (test: IgniteClient) => {
|
|
39
|
-
module: {
|
|
40
|
-
IconlakeIconlake: SDKModule;
|
|
41
|
-
};
|
|
42
|
-
registry: [string, GeneratedType][];
|
|
43
|
-
};
|
|
44
|
-
export default Module;
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
export interface IconlakeAccount {
|
|
2
|
-
address?: string;
|
|
3
|
-
/** @format uint64 */
|
|
4
|
-
lastMintDropTime?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IconlakeMsgMintDropResponse {
|
|
7
|
-
lastMintDropTime?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Params defines the parameters for the module.
|
|
11
|
-
*/
|
|
12
|
-
export type IconlakeParams = object;
|
|
13
|
-
export interface IconlakeQueryAllAccountResponse {
|
|
14
|
-
account?: IconlakeAccount[];
|
|
15
|
-
/**
|
|
16
|
-
* PageResponse is to be embedded in gRPC response messages where the
|
|
17
|
-
* corresponding request message has used PageRequest.
|
|
18
|
-
*
|
|
19
|
-
* message SomeResponse {
|
|
20
|
-
* repeated Bar results = 1;
|
|
21
|
-
* PageResponse page = 2;
|
|
22
|
-
* }
|
|
23
|
-
*/
|
|
24
|
-
pagination?: V1Beta1PageResponse;
|
|
25
|
-
}
|
|
26
|
-
export interface IconlakeQueryGetAccountResponse {
|
|
27
|
-
account?: IconlakeAccount;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* QueryParamsResponse is response type for the Query/Params RPC method.
|
|
31
|
-
*/
|
|
32
|
-
export interface IconlakeQueryParamsResponse {
|
|
33
|
-
/** params holds all the parameters of this module. */
|
|
34
|
-
params?: IconlakeParams;
|
|
35
|
-
}
|
|
36
|
-
export interface ProtobufAny {
|
|
37
|
-
"@type"?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface RpcStatus {
|
|
40
|
-
/** @format int32 */
|
|
41
|
-
code?: number;
|
|
42
|
-
message?: string;
|
|
43
|
-
details?: ProtobufAny[];
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Coin defines a token with a denomination and an amount.
|
|
47
|
-
|
|
48
|
-
NOTE: The amount field is an Int which implements the custom method
|
|
49
|
-
signatures required by gogoproto.
|
|
50
|
-
*/
|
|
51
|
-
export interface V1Beta1Coin {
|
|
52
|
-
denom?: string;
|
|
53
|
-
amount?: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* message SomeRequest {
|
|
57
|
-
Foo some_parameter = 1;
|
|
58
|
-
PageRequest pagination = 2;
|
|
59
|
-
}
|
|
60
|
-
*/
|
|
61
|
-
export interface V1Beta1PageRequest {
|
|
62
|
-
/**
|
|
63
|
-
* key is a value returned in PageResponse.next_key to begin
|
|
64
|
-
* querying the next page most efficiently. Only one of offset or key
|
|
65
|
-
* should be set.
|
|
66
|
-
* @format byte
|
|
67
|
-
*/
|
|
68
|
-
key?: string;
|
|
69
|
-
/**
|
|
70
|
-
* offset is a numeric offset that can be used when key is unavailable.
|
|
71
|
-
* It is less efficient than using key. Only one of offset or key should
|
|
72
|
-
* be set.
|
|
73
|
-
* @format uint64
|
|
74
|
-
*/
|
|
75
|
-
offset?: string;
|
|
76
|
-
/**
|
|
77
|
-
* limit is the total number of results to be returned in the result page.
|
|
78
|
-
* If left empty it will default to a value to be set by each app.
|
|
79
|
-
* @format uint64
|
|
80
|
-
*/
|
|
81
|
-
limit?: string;
|
|
82
|
-
/**
|
|
83
|
-
* count_total is set to true to indicate that the result set should include
|
|
84
|
-
* a count of the total number of items available for pagination in UIs.
|
|
85
|
-
* count_total is only respected when offset is used. It is ignored when key
|
|
86
|
-
* is set.
|
|
87
|
-
*/
|
|
88
|
-
count_total?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* reverse is set to true if results are to be returned in the descending order.
|
|
91
|
-
*
|
|
92
|
-
* Since: cosmos-sdk 0.43
|
|
93
|
-
*/
|
|
94
|
-
reverse?: boolean;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* PageResponse is to be embedded in gRPC response messages where the
|
|
98
|
-
corresponding request message has used PageRequest.
|
|
99
|
-
|
|
100
|
-
message SomeResponse {
|
|
101
|
-
repeated Bar results = 1;
|
|
102
|
-
PageResponse page = 2;
|
|
103
|
-
}
|
|
104
|
-
*/
|
|
105
|
-
export interface V1Beta1PageResponse {
|
|
106
|
-
/**
|
|
107
|
-
* next_key is the key to be passed to PageRequest.key to
|
|
108
|
-
* query the next page most efficiently. It will be empty if
|
|
109
|
-
* there are no more results.
|
|
110
|
-
* @format byte
|
|
111
|
-
*/
|
|
112
|
-
next_key?: string;
|
|
113
|
-
/**
|
|
114
|
-
* total is total number of results available if PageRequest.count_total
|
|
115
|
-
* was set, its value is undefined otherwise
|
|
116
|
-
* @format uint64
|
|
117
|
-
*/
|
|
118
|
-
total?: string;
|
|
119
|
-
}
|
|
120
|
-
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
121
|
-
export type QueryParamsType = Record<string | number, any>;
|
|
122
|
-
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
123
|
-
/** set parameter to `true` for call `securityWorker` for this request */
|
|
124
|
-
secure?: boolean;
|
|
125
|
-
/** request path */
|
|
126
|
-
path: string;
|
|
127
|
-
/** content type of request body */
|
|
128
|
-
type?: ContentType;
|
|
129
|
-
/** query params */
|
|
130
|
-
query?: QueryParamsType;
|
|
131
|
-
/** format of response (i.e. response.json() -> format: "json") */
|
|
132
|
-
format?: ResponseType;
|
|
133
|
-
/** request body */
|
|
134
|
-
body?: unknown;
|
|
135
|
-
}
|
|
136
|
-
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
137
|
-
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
138
|
-
securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
139
|
-
secure?: boolean;
|
|
140
|
-
format?: ResponseType;
|
|
141
|
-
}
|
|
142
|
-
export declare enum ContentType {
|
|
143
|
-
Json = "application/json",
|
|
144
|
-
FormData = "multipart/form-data",
|
|
145
|
-
UrlEncoded = "application/x-www-form-urlencoded"
|
|
146
|
-
}
|
|
147
|
-
export declare class HttpClient<SecurityDataType = unknown> {
|
|
148
|
-
instance: AxiosInstance;
|
|
149
|
-
private securityData;
|
|
150
|
-
private securityWorker?;
|
|
151
|
-
private secure?;
|
|
152
|
-
private format?;
|
|
153
|
-
constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
|
|
154
|
-
setSecurityData: (data: SecurityDataType | null) => void;
|
|
155
|
-
private mergeRequestParams;
|
|
156
|
-
private createFormData;
|
|
157
|
-
request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<AxiosResponse<T>>;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* @title iconlake/iconlake/account.proto
|
|
161
|
-
* @version version not set
|
|
162
|
-
*/
|
|
163
|
-
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
164
|
-
/**
|
|
165
|
-
* No description
|
|
166
|
-
*
|
|
167
|
-
* @tags Query
|
|
168
|
-
* @name QueryAccountAll
|
|
169
|
-
* @request GET:/iconlake/iconlake/account
|
|
170
|
-
*/
|
|
171
|
-
queryAccountAll: (query?: {
|
|
172
|
-
"pagination.key"?: string;
|
|
173
|
-
"pagination.offset"?: string;
|
|
174
|
-
"pagination.limit"?: string;
|
|
175
|
-
"pagination.count_total"?: boolean;
|
|
176
|
-
"pagination.reverse"?: boolean;
|
|
177
|
-
}, params?: RequestParams) => Promise<AxiosResponse<IconlakeQueryAllAccountResponse>>;
|
|
178
|
-
/**
|
|
179
|
-
* No description
|
|
180
|
-
*
|
|
181
|
-
* @tags Query
|
|
182
|
-
* @name QueryAccount
|
|
183
|
-
* @summary Queries a list of Account items.
|
|
184
|
-
* @request GET:/iconlake/iconlake/account/{address}
|
|
185
|
-
*/
|
|
186
|
-
queryAccount: (address: string, params?: RequestParams) => Promise<AxiosResponse<IconlakeQueryGetAccountResponse>>;
|
|
187
|
-
/**
|
|
188
|
-
* No description
|
|
189
|
-
*
|
|
190
|
-
* @tags Query
|
|
191
|
-
* @name QueryParams
|
|
192
|
-
* @summary Parameters queries the parameters of the module.
|
|
193
|
-
* @request GET:/iconlake/iconlake/params
|
|
194
|
-
*/
|
|
195
|
-
queryParams: (params?: RequestParams) => Promise<AxiosResponse<IconlakeQueryParamsResponse>>;
|
|
196
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "amino";
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "cosmos.base.query.v1beta1";
|
|
3
|
-
/**
|
|
4
|
-
* PageRequest is to be embedded in gRPC request messages for efficient
|
|
5
|
-
* pagination. Ex:
|
|
6
|
-
*
|
|
7
|
-
* message SomeRequest {
|
|
8
|
-
* Foo some_parameter = 1;
|
|
9
|
-
* PageRequest pagination = 2;
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface PageRequest {
|
|
13
|
-
/**
|
|
14
|
-
* key is a value returned in PageResponse.next_key to begin
|
|
15
|
-
* querying the next page most efficiently. Only one of offset or key
|
|
16
|
-
* should be set.
|
|
17
|
-
*/
|
|
18
|
-
key: Uint8Array;
|
|
19
|
-
/**
|
|
20
|
-
* offset is a numeric offset that can be used when key is unavailable.
|
|
21
|
-
* It is less efficient than using key. Only one of offset or key should
|
|
22
|
-
* be set.
|
|
23
|
-
*/
|
|
24
|
-
offset: number;
|
|
25
|
-
/**
|
|
26
|
-
* limit is the total number of results to be returned in the result page.
|
|
27
|
-
* If left empty it will default to a value to be set by each app.
|
|
28
|
-
*/
|
|
29
|
-
limit: number;
|
|
30
|
-
/**
|
|
31
|
-
* count_total is set to true to indicate that the result set should include
|
|
32
|
-
* a count of the total number of items available for pagination in UIs.
|
|
33
|
-
* count_total is only respected when offset is used. It is ignored when key
|
|
34
|
-
* is set.
|
|
35
|
-
*/
|
|
36
|
-
countTotal: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* reverse is set to true if results are to be returned in the descending order.
|
|
39
|
-
*
|
|
40
|
-
* Since: cosmos-sdk 0.43
|
|
41
|
-
*/
|
|
42
|
-
reverse: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* PageResponse is to be embedded in gRPC response messages where the
|
|
46
|
-
* corresponding request message has used PageRequest.
|
|
47
|
-
*
|
|
48
|
-
* message SomeResponse {
|
|
49
|
-
* repeated Bar results = 1;
|
|
50
|
-
* PageResponse page = 2;
|
|
51
|
-
* }
|
|
52
|
-
*/
|
|
53
|
-
export interface PageResponse {
|
|
54
|
-
/**
|
|
55
|
-
* next_key is the key to be passed to PageRequest.key to
|
|
56
|
-
* query the next page most efficiently. It will be empty if
|
|
57
|
-
* there are no more results.
|
|
58
|
-
*/
|
|
59
|
-
nextKey: Uint8Array;
|
|
60
|
-
/**
|
|
61
|
-
* total is total number of results available if PageRequest.count_total
|
|
62
|
-
* was set, its value is undefined otherwise
|
|
63
|
-
*/
|
|
64
|
-
total: number;
|
|
65
|
-
}
|
|
66
|
-
export declare const PageRequest: {
|
|
67
|
-
encode(message: PageRequest, writer?: _m0.Writer): _m0.Writer;
|
|
68
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest;
|
|
69
|
-
fromJSON(object: any): PageRequest;
|
|
70
|
-
toJSON(message: PageRequest): unknown;
|
|
71
|
-
fromPartial<I extends {
|
|
72
|
-
key?: Uint8Array;
|
|
73
|
-
offset?: number;
|
|
74
|
-
limit?: number;
|
|
75
|
-
countTotal?: boolean;
|
|
76
|
-
reverse?: boolean;
|
|
77
|
-
} & {
|
|
78
|
-
key?: Uint8Array;
|
|
79
|
-
offset?: number;
|
|
80
|
-
limit?: number;
|
|
81
|
-
countTotal?: boolean;
|
|
82
|
-
reverse?: boolean;
|
|
83
|
-
} & { [K in Exclude<keyof I, keyof PageRequest>]: never; }>(object: I): PageRequest;
|
|
84
|
-
};
|
|
85
|
-
export declare const PageResponse: {
|
|
86
|
-
encode(message: PageResponse, writer?: _m0.Writer): _m0.Writer;
|
|
87
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse;
|
|
88
|
-
fromJSON(object: any): PageResponse;
|
|
89
|
-
toJSON(message: PageResponse): unknown;
|
|
90
|
-
fromPartial<I extends {
|
|
91
|
-
nextKey?: Uint8Array;
|
|
92
|
-
total?: number;
|
|
93
|
-
} & {
|
|
94
|
-
nextKey?: Uint8Array;
|
|
95
|
-
total?: number;
|
|
96
|
-
} & { [K in Exclude<keyof I, keyof PageResponse>]: never; }>(object: I): PageResponse;
|
|
97
|
-
};
|
|
98
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
99
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
100
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
101
|
-
} : Partial<T>;
|
|
102
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
103
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
104
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
105
|
-
} & {
|
|
106
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
107
|
-
};
|
|
108
|
-
export {};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "cosmos.base.v1beta1";
|
|
3
|
-
/**
|
|
4
|
-
* Coin defines a token with a denomination and an amount.
|
|
5
|
-
*
|
|
6
|
-
* NOTE: The amount field is an Int which implements the custom method
|
|
7
|
-
* signatures required by gogoproto.
|
|
8
|
-
*/
|
|
9
|
-
export interface Coin {
|
|
10
|
-
denom: string;
|
|
11
|
-
amount: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* DecCoin defines a token with a denomination and a decimal amount.
|
|
15
|
-
*
|
|
16
|
-
* NOTE: The amount field is an Dec which implements the custom method
|
|
17
|
-
* signatures required by gogoproto.
|
|
18
|
-
*/
|
|
19
|
-
export interface DecCoin {
|
|
20
|
-
denom: string;
|
|
21
|
-
amount: string;
|
|
22
|
-
}
|
|
23
|
-
/** IntProto defines a Protobuf wrapper around an Int object. */
|
|
24
|
-
export interface IntProto {
|
|
25
|
-
int: string;
|
|
26
|
-
}
|
|
27
|
-
/** DecProto defines a Protobuf wrapper around a Dec object. */
|
|
28
|
-
export interface DecProto {
|
|
29
|
-
dec: string;
|
|
30
|
-
}
|
|
31
|
-
export declare const Coin: {
|
|
32
|
-
encode(message: Coin, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Coin;
|
|
34
|
-
fromJSON(object: any): Coin;
|
|
35
|
-
toJSON(message: Coin): unknown;
|
|
36
|
-
fromPartial<I extends {
|
|
37
|
-
denom?: string;
|
|
38
|
-
amount?: string;
|
|
39
|
-
} & {
|
|
40
|
-
denom?: string;
|
|
41
|
-
amount?: string;
|
|
42
|
-
} & { [K in Exclude<keyof I, keyof Coin>]: never; }>(object: I): Coin;
|
|
43
|
-
};
|
|
44
|
-
export declare const DecCoin: {
|
|
45
|
-
encode(message: DecCoin, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin;
|
|
47
|
-
fromJSON(object: any): DecCoin;
|
|
48
|
-
toJSON(message: DecCoin): unknown;
|
|
49
|
-
fromPartial<I extends {
|
|
50
|
-
denom?: string;
|
|
51
|
-
amount?: string;
|
|
52
|
-
} & {
|
|
53
|
-
denom?: string;
|
|
54
|
-
amount?: string;
|
|
55
|
-
} & { [K in Exclude<keyof I, keyof DecCoin>]: never; }>(object: I): DecCoin;
|
|
56
|
-
};
|
|
57
|
-
export declare const IntProto: {
|
|
58
|
-
encode(message: IntProto, writer?: _m0.Writer): _m0.Writer;
|
|
59
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): IntProto;
|
|
60
|
-
fromJSON(object: any): IntProto;
|
|
61
|
-
toJSON(message: IntProto): unknown;
|
|
62
|
-
fromPartial<I extends {
|
|
63
|
-
int?: string;
|
|
64
|
-
} & {
|
|
65
|
-
int?: string;
|
|
66
|
-
} & { [K in Exclude<keyof I, "int">]: never; }>(object: I): IntProto;
|
|
67
|
-
};
|
|
68
|
-
export declare const DecProto: {
|
|
69
|
-
encode(message: DecProto, writer?: _m0.Writer): _m0.Writer;
|
|
70
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DecProto;
|
|
71
|
-
fromJSON(object: any): DecProto;
|
|
72
|
-
toJSON(message: DecProto): unknown;
|
|
73
|
-
fromPartial<I extends {
|
|
74
|
-
dec?: string;
|
|
75
|
-
} & {
|
|
76
|
-
dec?: string;
|
|
77
|
-
} & { [K in Exclude<keyof I, "dec">]: never; }>(object: I): DecProto;
|
|
78
|
-
};
|
|
79
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
80
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
81
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
82
|
-
} : Partial<T>;
|
|
83
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
84
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
85
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
86
|
-
} & {
|
|
87
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
88
|
-
};
|
|
89
|
-
export {};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "cosmos_proto";
|
|
3
|
-
export declare enum ScalarType {
|
|
4
|
-
SCALAR_TYPE_UNSPECIFIED = 0,
|
|
5
|
-
SCALAR_TYPE_STRING = 1,
|
|
6
|
-
SCALAR_TYPE_BYTES = 2,
|
|
7
|
-
UNRECOGNIZED = -1
|
|
8
|
-
}
|
|
9
|
-
export declare function scalarTypeFromJSON(object: any): ScalarType;
|
|
10
|
-
export declare function scalarTypeToJSON(object: ScalarType): string;
|
|
11
|
-
/**
|
|
12
|
-
* InterfaceDescriptor describes an interface type to be used with
|
|
13
|
-
* accepts_interface and implements_interface and declared by declare_interface.
|
|
14
|
-
*/
|
|
15
|
-
export interface InterfaceDescriptor {
|
|
16
|
-
/**
|
|
17
|
-
* name is the name of the interface. It should be a short-name (without
|
|
18
|
-
* a period) such that the fully qualified name of the interface will be
|
|
19
|
-
* package.name, ex. for the package a.b and interface named C, the
|
|
20
|
-
* fully-qualified name will be a.b.C.
|
|
21
|
-
*/
|
|
22
|
-
name: string;
|
|
23
|
-
/**
|
|
24
|
-
* description is a human-readable description of the interface and its
|
|
25
|
-
* purpose.
|
|
26
|
-
*/
|
|
27
|
-
description: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* ScalarDescriptor describes an scalar type to be used with
|
|
31
|
-
* the scalar field option and declared by declare_scalar.
|
|
32
|
-
* Scalars extend simple protobuf built-in types with additional
|
|
33
|
-
* syntax and semantics, for instance to represent big integers.
|
|
34
|
-
* Scalars should ideally define an encoding such that there is only one
|
|
35
|
-
* valid syntactical representation for a given semantic meaning,
|
|
36
|
-
* i.e. the encoding should be deterministic.
|
|
37
|
-
*/
|
|
38
|
-
export interface ScalarDescriptor {
|
|
39
|
-
/**
|
|
40
|
-
* name is the name of the scalar. It should be a short-name (without
|
|
41
|
-
* a period) such that the fully qualified name of the scalar will be
|
|
42
|
-
* package.name, ex. for the package a.b and scalar named C, the
|
|
43
|
-
* fully-qualified name will be a.b.C.
|
|
44
|
-
*/
|
|
45
|
-
name: string;
|
|
46
|
-
/**
|
|
47
|
-
* description is a human-readable description of the scalar and its
|
|
48
|
-
* encoding format. For instance a big integer or decimal scalar should
|
|
49
|
-
* specify precisely the expected encoding format.
|
|
50
|
-
*/
|
|
51
|
-
description: string;
|
|
52
|
-
/**
|
|
53
|
-
* field_type is the type of field with which this scalar can be used.
|
|
54
|
-
* Scalars can be used with one and only one type of field so that
|
|
55
|
-
* encoding standards and simple and clear. Currently only string and
|
|
56
|
-
* bytes fields are supported for scalars.
|
|
57
|
-
*/
|
|
58
|
-
fieldType: ScalarType[];
|
|
59
|
-
}
|
|
60
|
-
export declare const InterfaceDescriptor: {
|
|
61
|
-
encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer;
|
|
62
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor;
|
|
63
|
-
fromJSON(object: any): InterfaceDescriptor;
|
|
64
|
-
toJSON(message: InterfaceDescriptor): unknown;
|
|
65
|
-
fromPartial<I extends {
|
|
66
|
-
name?: string;
|
|
67
|
-
description?: string;
|
|
68
|
-
} & {
|
|
69
|
-
name?: string;
|
|
70
|
-
description?: string;
|
|
71
|
-
} & { [K in Exclude<keyof I, keyof InterfaceDescriptor>]: never; }>(object: I): InterfaceDescriptor;
|
|
72
|
-
};
|
|
73
|
-
export declare const ScalarDescriptor: {
|
|
74
|
-
encode(message: ScalarDescriptor, writer?: _m0.Writer): _m0.Writer;
|
|
75
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor;
|
|
76
|
-
fromJSON(object: any): ScalarDescriptor;
|
|
77
|
-
toJSON(message: ScalarDescriptor): unknown;
|
|
78
|
-
fromPartial<I extends {
|
|
79
|
-
name?: string;
|
|
80
|
-
description?: string;
|
|
81
|
-
fieldType?: ScalarType[];
|
|
82
|
-
} & {
|
|
83
|
-
name?: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
fieldType?: ScalarType[] & ScalarType[] & { [K in Exclude<keyof I["fieldType"], keyof ScalarType[]>]: never; };
|
|
86
|
-
} & { [K_1 in Exclude<keyof I, keyof ScalarDescriptor>]: never; }>(object: I): ScalarDescriptor;
|
|
87
|
-
};
|
|
88
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
89
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
90
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
91
|
-
} : Partial<T>;
|
|
92
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
93
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
94
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
95
|
-
} & {
|
|
96
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
97
|
-
};
|
|
98
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "gogoproto";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "google.api";
|