coreum-js 2.16.2 → 2.17.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/main/client/index.js +16 -17
- package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
- package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/main/coreum/asset/ft/v1/event.js +744 -138
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
- package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/main/coreum/asset/ft/v1/params.js +37 -33
- package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/main/coreum/asset/ft/v1/query.js +697 -217
- package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/main/coreum/asset/ft/v1/token.js +273 -197
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
- package/dist/main/coreum/asset/index.d.ts +2 -3
- package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
- package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/main/coreum/asset/nft/v1/event.js +475 -147
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
- package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/main/coreum/asset/nft/v1/params.js +17 -20
- package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
- package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/main/coreum/asset/nft/v1/types.js +273 -45
- package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/main/coreum/customparams/v1/genesis.js +26 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/main/coreum/customparams/v1/params.js +23 -20
- package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/main/coreum/customparams/v1/query.js +35 -29
- package/dist/main/coreum/dex/index.d.ts +1 -0
- package/dist/main/coreum/dex/index.js +12 -0
- package/dist/main/coreum/dex/v1/event.d.ts +73 -0
- package/dist/main/coreum/dex/v1/event.js +470 -0
- package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/main/coreum/dex/v1/genesis.js +318 -0
- package/dist/main/coreum/dex/v1/order.d.ts +172 -0
- package/dist/main/coreum/dex/v1/order.js +1137 -0
- package/dist/main/coreum/dex/v1/params.d.ts +34 -0
- package/dist/main/coreum/dex/v1/params.js +139 -0
- package/dist/main/coreum/dex/v1/query.d.ts +133 -0
- package/dist/main/coreum/dex/v1/query.js +873 -0
- package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/main/coreum/dex/v1/tx.js +521 -0
- package/dist/main/coreum/extensions/dex.d.ts +12 -0
- package/dist/main/coreum/extensions/dex.js +32 -0
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
- package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/main/coreum/feemodel/v1/params.js +113 -66
- package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/main/coreum/feemodel/v1/query.js +196 -43
- package/dist/main/coreum/index.d.ts +46 -0
- package/dist/main/coreum/index.js +58 -1
- package/dist/main/coreum/nft/index.d.ts +1 -2
- package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/main/coreum/nft/v1beta1/event.js +103 -77
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
- package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/main/coreum/nft/v1beta1/query.js +259 -223
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
- package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/main/cosmos/extensions/distribution.js +9 -9
- package/dist/main/cosmos/extensions/gov.d.ts +13 -13
- package/dist/main/cosmos/extensions/gov.js +14 -8
- package/dist/main/cosmos/index.d.ts +8 -8
- package/dist/main/google/api/http.js +18 -21
- package/dist/main/google/protobuf/any.js +3 -4
- package/dist/main/google/protobuf/duration.js +3 -4
- package/dist/main/google/protobuf/timestamp.js +3 -4
- package/dist/main/services/cosmostation.js +1 -1
- package/dist/main/tendermint/abci/types.js +183 -223
- package/dist/main/tendermint/crypto/keys.js +3 -4
- package/dist/main/tendermint/crypto/proof.js +19 -24
- package/dist/main/tendermint/types/params.js +15 -20
- package/dist/main/tendermint/types/types.js +57 -68
- package/dist/main/tendermint/types/validator.js +10 -13
- package/dist/main/tendermint/version/types.js +6 -8
- package/dist/main/types/core.d.ts +2 -1
- package/dist/main/types/core.js +2 -0
- package/dist/main/wasm/v1/authz.d.ts +20 -471
- package/dist/main/wasm/v1/authz.js +129 -148
- package/dist/main/wasm/v1/genesis.d.ts +14 -1020
- package/dist/main/wasm/v1/genesis.js +169 -140
- package/dist/main/wasm/v1/ibc.d.ts +13 -62
- package/dist/main/wasm/v1/ibc.js +91 -76
- package/dist/main/wasm/v1/index.d.ts +1 -2
- package/dist/main/wasm/v1/pagination.js +9 -11
- package/dist/main/wasm/v1/proposal.d.ts +23 -720
- package/dist/main/wasm/v1/proposal.js +634 -465
- package/dist/main/wasm/v1/query.d.ts +35 -1201
- package/dist/main/wasm/v1/query.js +370 -363
- package/dist/main/wasm/v1/tx.d.ts +37 -788
- package/dist/main/wasm/v1/tx.js +621 -497
- package/dist/main/wasm/v1/types.d.ts +19 -297
- package/dist/main/wasm/v1/types.js +219 -190
- package/dist/module/client/index.js +4 -3
- package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
- package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/module/coreum/asset/ft/v1/event.js +721 -109
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
- package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/module/coreum/asset/ft/v1/params.js +35 -27
- package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/module/coreum/asset/ft/v1/query.js +672 -180
- package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/module/coreum/asset/ft/v1/token.js +236 -152
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
- package/dist/module/coreum/asset/index.d.ts +2 -3
- package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
- package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/module/coreum/asset/nft/v1/event.js +448 -112
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
- package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/module/coreum/asset/nft/v1/params.js +16 -16
- package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
- package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/module/coreum/asset/nft/v1/types.js +269 -39
- package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/module/coreum/customparams/v1/genesis.js +25 -18
- package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/module/coreum/customparams/v1/params.js +21 -14
- package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/module/coreum/customparams/v1/query.js +32 -23
- package/dist/module/coreum/dex/index.d.ts +1 -0
- package/dist/module/coreum/dex/index.js +9 -0
- package/dist/module/coreum/dex/v1/event.d.ts +73 -0
- package/dist/module/coreum/dex/v1/event.js +467 -0
- package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/module/coreum/dex/v1/genesis.js +315 -0
- package/dist/module/coreum/dex/v1/order.d.ts +172 -0
- package/dist/module/coreum/dex/v1/order.js +1128 -0
- package/dist/module/coreum/dex/v1/params.d.ts +34 -0
- package/dist/module/coreum/dex/v1/params.js +136 -0
- package/dist/module/coreum/dex/v1/query.d.ts +133 -0
- package/dist/module/coreum/dex/v1/query.js +871 -0
- package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/module/coreum/dex/v1/tx.js +519 -0
- package/dist/module/coreum/extensions/dex.d.ts +12 -0
- package/dist/module/coreum/extensions/dex.js +28 -0
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
- package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/module/coreum/feemodel/v1/params.js +105 -54
- package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/module/coreum/feemodel/v1/query.js +191 -35
- package/dist/module/coreum/index.d.ts +46 -0
- package/dist/module/coreum/index.js +57 -0
- package/dist/module/coreum/nft/index.d.ts +1 -2
- package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/module/coreum/nft/v1beta1/event.js +90 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
- package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/module/coreum/nft/v1beta1/query.js +231 -183
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
- package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/module/cosmos/extensions/gov.d.ts +13 -13
- package/dist/module/cosmos/index.d.ts +8 -8
- package/dist/module/services/cosmostation.js +1 -1
- package/dist/module/types/core.d.ts +2 -1
- package/dist/module/types/core.js +2 -0
- package/dist/module/wasm/v1/authz.d.ts +20 -471
- package/dist/module/wasm/v1/authz.js +111 -119
- package/dist/module/wasm/v1/genesis.d.ts +14 -1020
- package/dist/module/wasm/v1/genesis.js +161 -125
- package/dist/module/wasm/v1/ibc.d.ts +13 -62
- package/dist/module/wasm/v1/ibc.js +83 -62
- package/dist/module/wasm/v1/index.d.ts +1 -2
- package/dist/module/wasm/v1/proposal.d.ts +23 -720
- package/dist/module/wasm/v1/proposal.js +562 -377
- package/dist/module/wasm/v1/query.d.ts +35 -1201
- package/dist/module/wasm/v1/query.js +330 -301
- package/dist/module/wasm/v1/tx.d.ts +37 -788
- package/dist/module/wasm/v1/tx.js +551 -404
- package/dist/module/wasm/v1/types.d.ts +19 -297
- package/dist/module/wasm/v1/types.js +196 -156
- package/package.json +11 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
2
2
|
export declare const protobufPackage = "coreum.asset.ft.v1";
|
|
3
3
|
/** Feature defines possible features of fungible token. */
|
|
4
4
|
export declare enum Feature {
|
|
@@ -82,259 +82,19 @@ export interface TokenUpgradeStatuses {
|
|
|
82
82
|
}
|
|
83
83
|
/** DEXSettings defines the token settings of the dex. */
|
|
84
84
|
export interface DEXSettings {
|
|
85
|
-
/** unified_ref_amount is the approximate amount you need to
|
|
85
|
+
/** unified_ref_amount is the approximate amount you need to buy 1USD, used to define the price tick size */
|
|
86
86
|
unifiedRefAmount: string;
|
|
87
87
|
/** whitelisted_denoms is the list of denoms to trade with. */
|
|
88
88
|
whitelistedDenoms: string[];
|
|
89
89
|
}
|
|
90
|
-
export declare const Definition:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
denom?: string;
|
|
97
|
-
issuer?: string;
|
|
98
|
-
features?: Feature[];
|
|
99
|
-
burnRate?: string;
|
|
100
|
-
sendCommissionRate?: string;
|
|
101
|
-
version?: number;
|
|
102
|
-
uri?: string;
|
|
103
|
-
uriHash?: string;
|
|
104
|
-
extensionCwAddress?: string;
|
|
105
|
-
admin?: string;
|
|
106
|
-
} & {
|
|
107
|
-
denom?: string;
|
|
108
|
-
issuer?: string;
|
|
109
|
-
features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
|
|
110
|
-
burnRate?: string;
|
|
111
|
-
sendCommissionRate?: string;
|
|
112
|
-
version?: number;
|
|
113
|
-
uri?: string;
|
|
114
|
-
uriHash?: string;
|
|
115
|
-
extensionCwAddress?: string;
|
|
116
|
-
admin?: string;
|
|
117
|
-
} & { [K_1 in Exclude<keyof I, keyof Definition>]: never; }>(base?: I): Definition;
|
|
118
|
-
fromPartial<I_1 extends {
|
|
119
|
-
denom?: string;
|
|
120
|
-
issuer?: string;
|
|
121
|
-
features?: Feature[];
|
|
122
|
-
burnRate?: string;
|
|
123
|
-
sendCommissionRate?: string;
|
|
124
|
-
version?: number;
|
|
125
|
-
uri?: string;
|
|
126
|
-
uriHash?: string;
|
|
127
|
-
extensionCwAddress?: string;
|
|
128
|
-
admin?: string;
|
|
129
|
-
} & {
|
|
130
|
-
denom?: string;
|
|
131
|
-
issuer?: string;
|
|
132
|
-
features?: Feature[] & Feature[] & { [K_2 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
|
|
133
|
-
burnRate?: string;
|
|
134
|
-
sendCommissionRate?: string;
|
|
135
|
-
version?: number;
|
|
136
|
-
uri?: string;
|
|
137
|
-
uriHash?: string;
|
|
138
|
-
extensionCwAddress?: string;
|
|
139
|
-
admin?: string;
|
|
140
|
-
} & { [K_3 in Exclude<keyof I_1, keyof Definition>]: never; }>(object: I_1): Definition;
|
|
141
|
-
};
|
|
142
|
-
export declare const Token: {
|
|
143
|
-
encode(message: Token, writer?: _m0.Writer): _m0.Writer;
|
|
144
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Token;
|
|
145
|
-
fromJSON(object: any): Token;
|
|
146
|
-
toJSON(message: Token): unknown;
|
|
147
|
-
create<I extends {
|
|
148
|
-
denom?: string;
|
|
149
|
-
issuer?: string;
|
|
150
|
-
symbol?: string;
|
|
151
|
-
subunit?: string;
|
|
152
|
-
precision?: number;
|
|
153
|
-
description?: string;
|
|
154
|
-
globallyFrozen?: boolean;
|
|
155
|
-
features?: Feature[];
|
|
156
|
-
burnRate?: string;
|
|
157
|
-
sendCommissionRate?: string;
|
|
158
|
-
version?: number;
|
|
159
|
-
uri?: string;
|
|
160
|
-
uriHash?: string;
|
|
161
|
-
extensionCwAddress?: string;
|
|
162
|
-
admin?: string;
|
|
163
|
-
dexSettings?: {
|
|
164
|
-
unifiedRefAmount?: string;
|
|
165
|
-
whitelistedDenoms?: string[];
|
|
166
|
-
};
|
|
167
|
-
} & {
|
|
168
|
-
denom?: string;
|
|
169
|
-
issuer?: string;
|
|
170
|
-
symbol?: string;
|
|
171
|
-
subunit?: string;
|
|
172
|
-
precision?: number;
|
|
173
|
-
description?: string;
|
|
174
|
-
globallyFrozen?: boolean;
|
|
175
|
-
features?: Feature[] & Feature[] & { [K in Exclude<keyof I["features"], keyof Feature[]>]: never; };
|
|
176
|
-
burnRate?: string;
|
|
177
|
-
sendCommissionRate?: string;
|
|
178
|
-
version?: number;
|
|
179
|
-
uri?: string;
|
|
180
|
-
uriHash?: string;
|
|
181
|
-
extensionCwAddress?: string;
|
|
182
|
-
admin?: string;
|
|
183
|
-
dexSettings?: {
|
|
184
|
-
unifiedRefAmount?: string;
|
|
185
|
-
whitelistedDenoms?: string[];
|
|
186
|
-
} & {
|
|
187
|
-
unifiedRefAmount?: string;
|
|
188
|
-
whitelistedDenoms?: string[] & string[] & { [K_1 in Exclude<keyof I["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
|
|
189
|
-
} & { [K_2 in Exclude<keyof I["dexSettings"], keyof DEXSettings>]: never; };
|
|
190
|
-
} & { [K_3 in Exclude<keyof I, keyof Token>]: never; }>(base?: I): Token;
|
|
191
|
-
fromPartial<I_1 extends {
|
|
192
|
-
denom?: string;
|
|
193
|
-
issuer?: string;
|
|
194
|
-
symbol?: string;
|
|
195
|
-
subunit?: string;
|
|
196
|
-
precision?: number;
|
|
197
|
-
description?: string;
|
|
198
|
-
globallyFrozen?: boolean;
|
|
199
|
-
features?: Feature[];
|
|
200
|
-
burnRate?: string;
|
|
201
|
-
sendCommissionRate?: string;
|
|
202
|
-
version?: number;
|
|
203
|
-
uri?: string;
|
|
204
|
-
uriHash?: string;
|
|
205
|
-
extensionCwAddress?: string;
|
|
206
|
-
admin?: string;
|
|
207
|
-
dexSettings?: {
|
|
208
|
-
unifiedRefAmount?: string;
|
|
209
|
-
whitelistedDenoms?: string[];
|
|
210
|
-
};
|
|
211
|
-
} & {
|
|
212
|
-
denom?: string;
|
|
213
|
-
issuer?: string;
|
|
214
|
-
symbol?: string;
|
|
215
|
-
subunit?: string;
|
|
216
|
-
precision?: number;
|
|
217
|
-
description?: string;
|
|
218
|
-
globallyFrozen?: boolean;
|
|
219
|
-
features?: Feature[] & Feature[] & { [K_4 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
|
|
220
|
-
burnRate?: string;
|
|
221
|
-
sendCommissionRate?: string;
|
|
222
|
-
version?: number;
|
|
223
|
-
uri?: string;
|
|
224
|
-
uriHash?: string;
|
|
225
|
-
extensionCwAddress?: string;
|
|
226
|
-
admin?: string;
|
|
227
|
-
dexSettings?: {
|
|
228
|
-
unifiedRefAmount?: string;
|
|
229
|
-
whitelistedDenoms?: string[];
|
|
230
|
-
} & {
|
|
231
|
-
unifiedRefAmount?: string;
|
|
232
|
-
whitelistedDenoms?: string[] & string[] & { [K_5 in Exclude<keyof I_1["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
|
|
233
|
-
} & { [K_6 in Exclude<keyof I_1["dexSettings"], keyof DEXSettings>]: never; };
|
|
234
|
-
} & { [K_7 in Exclude<keyof I_1, keyof Token>]: never; }>(object: I_1): Token;
|
|
235
|
-
};
|
|
236
|
-
export declare const DelayedTokenUpgradeV1: {
|
|
237
|
-
encode(message: DelayedTokenUpgradeV1, writer?: _m0.Writer): _m0.Writer;
|
|
238
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DelayedTokenUpgradeV1;
|
|
239
|
-
fromJSON(object: any): DelayedTokenUpgradeV1;
|
|
240
|
-
toJSON(message: DelayedTokenUpgradeV1): unknown;
|
|
241
|
-
create<I extends {
|
|
242
|
-
denom?: string;
|
|
243
|
-
} & {
|
|
244
|
-
denom?: string;
|
|
245
|
-
} & { [K in Exclude<keyof I, "denom">]: never; }>(base?: I): DelayedTokenUpgradeV1;
|
|
246
|
-
fromPartial<I_1 extends {
|
|
247
|
-
denom?: string;
|
|
248
|
-
} & {
|
|
249
|
-
denom?: string;
|
|
250
|
-
} & { [K_1 in Exclude<keyof I_1, "denom">]: never; }>(object: I_1): DelayedTokenUpgradeV1;
|
|
251
|
-
};
|
|
252
|
-
export declare const TokenUpgradeV1Status: {
|
|
253
|
-
encode(message: TokenUpgradeV1Status, writer?: _m0.Writer): _m0.Writer;
|
|
254
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TokenUpgradeV1Status;
|
|
255
|
-
fromJSON(object: any): TokenUpgradeV1Status;
|
|
256
|
-
toJSON(message: TokenUpgradeV1Status): unknown;
|
|
257
|
-
create<I extends {
|
|
258
|
-
ibcEnabled?: boolean;
|
|
259
|
-
startTime?: Date | undefined;
|
|
260
|
-
endTime?: Date | undefined;
|
|
261
|
-
} & {
|
|
262
|
-
ibcEnabled?: boolean;
|
|
263
|
-
startTime?: Date | undefined;
|
|
264
|
-
endTime?: Date | undefined;
|
|
265
|
-
} & { [K in Exclude<keyof I, keyof TokenUpgradeV1Status>]: never; }>(base?: I): TokenUpgradeV1Status;
|
|
266
|
-
fromPartial<I_1 extends {
|
|
267
|
-
ibcEnabled?: boolean;
|
|
268
|
-
startTime?: Date | undefined;
|
|
269
|
-
endTime?: Date | undefined;
|
|
270
|
-
} & {
|
|
271
|
-
ibcEnabled?: boolean;
|
|
272
|
-
startTime?: Date | undefined;
|
|
273
|
-
endTime?: Date | undefined;
|
|
274
|
-
} & { [K_1 in Exclude<keyof I_1, keyof TokenUpgradeV1Status>]: never; }>(object: I_1): TokenUpgradeV1Status;
|
|
275
|
-
};
|
|
276
|
-
export declare const TokenUpgradeStatuses: {
|
|
277
|
-
encode(message: TokenUpgradeStatuses, writer?: _m0.Writer): _m0.Writer;
|
|
278
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TokenUpgradeStatuses;
|
|
279
|
-
fromJSON(object: any): TokenUpgradeStatuses;
|
|
280
|
-
toJSON(message: TokenUpgradeStatuses): unknown;
|
|
281
|
-
create<I extends {
|
|
282
|
-
v1?: {
|
|
283
|
-
ibcEnabled?: boolean;
|
|
284
|
-
startTime?: Date | undefined;
|
|
285
|
-
endTime?: Date | undefined;
|
|
286
|
-
};
|
|
287
|
-
} & {
|
|
288
|
-
v1?: {
|
|
289
|
-
ibcEnabled?: boolean;
|
|
290
|
-
startTime?: Date | undefined;
|
|
291
|
-
endTime?: Date | undefined;
|
|
292
|
-
} & {
|
|
293
|
-
ibcEnabled?: boolean;
|
|
294
|
-
startTime?: Date | undefined;
|
|
295
|
-
endTime?: Date | undefined;
|
|
296
|
-
} & { [K in Exclude<keyof I["v1"], keyof TokenUpgradeV1Status>]: never; };
|
|
297
|
-
} & { [K_1 in Exclude<keyof I, "v1">]: never; }>(base?: I): TokenUpgradeStatuses;
|
|
298
|
-
fromPartial<I_1 extends {
|
|
299
|
-
v1?: {
|
|
300
|
-
ibcEnabled?: boolean;
|
|
301
|
-
startTime?: Date | undefined;
|
|
302
|
-
endTime?: Date | undefined;
|
|
303
|
-
};
|
|
304
|
-
} & {
|
|
305
|
-
v1?: {
|
|
306
|
-
ibcEnabled?: boolean;
|
|
307
|
-
startTime?: Date | undefined;
|
|
308
|
-
endTime?: Date | undefined;
|
|
309
|
-
} & {
|
|
310
|
-
ibcEnabled?: boolean;
|
|
311
|
-
startTime?: Date | undefined;
|
|
312
|
-
endTime?: Date | undefined;
|
|
313
|
-
} & { [K_2 in Exclude<keyof I_1["v1"], keyof TokenUpgradeV1Status>]: never; };
|
|
314
|
-
} & { [K_3 in Exclude<keyof I_1, "v1">]: never; }>(object: I_1): TokenUpgradeStatuses;
|
|
315
|
-
};
|
|
316
|
-
export declare const DEXSettings: {
|
|
317
|
-
encode(message: DEXSettings, writer?: _m0.Writer): _m0.Writer;
|
|
318
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DEXSettings;
|
|
319
|
-
fromJSON(object: any): DEXSettings;
|
|
320
|
-
toJSON(message: DEXSettings): unknown;
|
|
321
|
-
create<I extends {
|
|
322
|
-
unifiedRefAmount?: string;
|
|
323
|
-
whitelistedDenoms?: string[];
|
|
324
|
-
} & {
|
|
325
|
-
unifiedRefAmount?: string;
|
|
326
|
-
whitelistedDenoms?: string[] & string[] & { [K in Exclude<keyof I["whitelistedDenoms"], keyof string[]>]: never; };
|
|
327
|
-
} & { [K_1 in Exclude<keyof I, keyof DEXSettings>]: never; }>(base?: I): DEXSettings;
|
|
328
|
-
fromPartial<I_1 extends {
|
|
329
|
-
unifiedRefAmount?: string;
|
|
330
|
-
whitelistedDenoms?: string[];
|
|
331
|
-
} & {
|
|
332
|
-
unifiedRefAmount?: string;
|
|
333
|
-
whitelistedDenoms?: string[] & string[] & { [K_2 in Exclude<keyof I_1["whitelistedDenoms"], keyof string[]>]: never; };
|
|
334
|
-
} & { [K_3 in Exclude<keyof I_1, keyof DEXSettings>]: never; }>(object: I_1): DEXSettings;
|
|
335
|
-
};
|
|
90
|
+
export declare const Definition: MessageFns<Definition>;
|
|
91
|
+
export declare const Token: MessageFns<Token>;
|
|
92
|
+
export declare const DelayedTokenUpgradeV1: MessageFns<DelayedTokenUpgradeV1>;
|
|
93
|
+
export declare const TokenUpgradeV1Status: MessageFns<TokenUpgradeV1Status>;
|
|
94
|
+
export declare const TokenUpgradeStatuses: MessageFns<TokenUpgradeStatuses>;
|
|
95
|
+
export declare const DEXSettings: MessageFns<DEXSettings>;
|
|
336
96
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
337
|
-
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 {} ? {
|
|
97
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
338
98
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
339
99
|
} : Partial<T>;
|
|
340
100
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -343,4 +103,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
343
103
|
} & {
|
|
344
104
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
345
105
|
};
|
|
106
|
+
export interface MessageFns<T> {
|
|
107
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
108
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
109
|
+
fromJSON(object: any): T;
|
|
110
|
+
toJSON(message: T): unknown;
|
|
111
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
112
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
113
|
+
}
|
|
346
114
|
export {};
|