@wormhole-foundation/sdk-cosmwasm 0.5.0-beta.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/README.md +31 -0
- package/dist/cjs/address.d.ts +29 -0
- package/dist/cjs/address.d.ts.map +1 -0
- package/dist/cjs/address.js +217 -0
- package/dist/cjs/address.js.map +1 -0
- package/dist/cjs/chain.d.ts +5 -0
- package/dist/cjs/chain.d.ts.map +1 -0
- package/dist/cjs/chain.js +8 -0
- package/dist/cjs/chain.js.map +1 -0
- package/dist/cjs/constants.d.ts +771 -0
- package/dist/cjs/constants.d.ts.map +1 -0
- package/dist/cjs/constants.js +180 -0
- package/dist/cjs/constants.js.map +1 -0
- package/dist/cjs/gateway.d.ts +17 -0
- package/dist/cjs/gateway.d.ts.map +1 -0
- package/dist/cjs/gateway.js +75 -0
- package/dist/cjs/gateway.js.map +1 -0
- package/dist/cjs/index.d.ts +9 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +25 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/platform.d.ts +33 -0
- package/dist/cjs/platform.d.ts.map +1 -0
- package/dist/cjs/platform.js +131 -0
- package/dist/cjs/platform.js.map +1 -0
- package/dist/cjs/signer.d.ts +31 -0
- package/dist/cjs/signer.d.ts.map +1 -0
- package/dist/cjs/signer.js +114 -0
- package/dist/cjs/signer.js.map +1 -0
- package/dist/cjs/testing/index.d.ts +2 -0
- package/dist/cjs/testing/index.d.ts.map +1 -0
- package/dist/cjs/testing/index.js +18 -0
- package/dist/cjs/testing/index.js.map +1 -0
- package/dist/cjs/testing/signer.d.ts +30 -0
- package/dist/cjs/testing/signer.d.ts.map +1 -0
- package/dist/cjs/testing/signer.js +113 -0
- package/dist/cjs/testing/signer.js.map +1 -0
- package/dist/cjs/types.d.ts +18 -0
- package/dist/cjs/types.d.ts.map +1 -0
- package/dist/cjs/types.js +20 -0
- package/dist/cjs/types.js.map +1 -0
- package/dist/cjs/unsignedTransaction.d.ts +20 -0
- package/dist/cjs/unsignedTransaction.d.ts.map +1 -0
- package/dist/cjs/unsignedTransaction.js +43 -0
- package/dist/cjs/unsignedTransaction.js.map +1 -0
- package/dist/esm/address.d.ts +29 -0
- package/dist/esm/address.d.ts.map +1 -0
- package/dist/esm/address.js +213 -0
- package/dist/esm/address.js.map +1 -0
- package/dist/esm/chain.d.ts +5 -0
- package/dist/esm/chain.d.ts.map +1 -0
- package/dist/esm/chain.js +4 -0
- package/dist/esm/chain.js.map +1 -0
- package/dist/esm/constants.d.ts +771 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +177 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/gateway.d.ts +17 -0
- package/dist/esm/gateway.d.ts.map +1 -0
- package/dist/esm/gateway.js +71 -0
- package/dist/esm/gateway.js.map +1 -0
- package/dist/esm/index.d.ts +9 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/platform.d.ts +33 -0
- package/dist/esm/platform.d.ts.map +1 -0
- package/dist/esm/platform.js +127 -0
- package/dist/esm/platform.js.map +1 -0
- package/dist/esm/signer.d.ts +31 -0
- package/dist/esm/signer.d.ts.map +1 -0
- package/dist/esm/signer.js +108 -0
- package/dist/esm/signer.js.map +1 -0
- package/dist/esm/testing/index.d.ts +2 -0
- package/dist/esm/testing/index.d.ts.map +1 -0
- package/dist/esm/testing/index.js +2 -0
- package/dist/esm/testing/index.js.map +1 -0
- package/dist/esm/testing/signer.d.ts +30 -0
- package/dist/esm/testing/signer.d.ts.map +1 -0
- package/dist/esm/testing/signer.js +107 -0
- package/dist/esm/testing/signer.js.map +1 -0
- package/dist/esm/types.d.ts +18 -0
- package/dist/esm/types.d.ts.map +1 -0
- package/dist/esm/types.js +16 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/unsignedTransaction.d.ts +20 -0
- package/dist/esm/unsignedTransaction.d.ts.map +1 -0
- package/dist/esm/unsignedTransaction.js +37 -0
- package/dist/esm/unsignedTransaction.js.map +1 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/tsconfig.esm.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
import { CosmwasmChains } from "./types";
|
|
2
|
+
export declare const DEFAULT_FEE = 1000000;
|
|
3
|
+
export declare const MSG_EXECUTE_CONTRACT_TYPE_URL = "/cosmwasm.wasm.v1.MsgExecuteContract";
|
|
4
|
+
export declare const IBC_MSG_TYPE = "/ibc.applications.transfer.v1.MsgTransfer";
|
|
5
|
+
export declare const IBC_TRANSFER_PORT = "transfer";
|
|
6
|
+
export declare const IBC_PACKET_SEND = "send_packet";
|
|
7
|
+
export declare const IBC_PACKET_RECEIVE = "recv_packet";
|
|
8
|
+
export declare const IBC_PACKET_DST = "packet_dst_channel";
|
|
9
|
+
export declare const IBC_PACKET_SRC = "packet_src_channel";
|
|
10
|
+
export declare const IBC_PACKET_SRC_PORT = "packet_src_port";
|
|
11
|
+
export declare const IBC_PACKET_DST_PORT = "packet_dst_port";
|
|
12
|
+
export declare const IBC_PACKET_SEQ = "packet_sequence";
|
|
13
|
+
export declare const IBC_PACKET_DATA = "packet_data";
|
|
14
|
+
export declare const IBC_PACKET_CONN = "packet_connection";
|
|
15
|
+
export declare const IBC_TIMEOUT_MILLIS: number;
|
|
16
|
+
export declare const chainToAddressPrefix: (<K1 extends "Cosmoshub" | "Evmos" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | "Dymension" | "Neutron" | "Stargaze" | "Celestia">(args_0: K1) => {
|
|
17
|
+
readonly Cosmoshub: "cosmos";
|
|
18
|
+
readonly Evmos: "evmos";
|
|
19
|
+
readonly Injective: "inj";
|
|
20
|
+
readonly Kujira: "kuji";
|
|
21
|
+
readonly Osmosis: "osmo";
|
|
22
|
+
readonly Sei: "sei";
|
|
23
|
+
readonly Terra: "terra";
|
|
24
|
+
readonly Terra2: "terra";
|
|
25
|
+
readonly Wormchain: "wormhole";
|
|
26
|
+
readonly Xpla: "xpla";
|
|
27
|
+
readonly Celestia: "celestia";
|
|
28
|
+
readonly Stargaze: "stars";
|
|
29
|
+
readonly Dymension: "dym";
|
|
30
|
+
readonly Neutron: "neutron";
|
|
31
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
32
|
+
get: (args_0: string) => "cosmos" | "evmos" | "inj" | "kuji" | "osmo" | "sei" | "terra" | "wormhole" | "xpla" | "celestia" | "stars" | "dym" | "neutron" | undefined;
|
|
33
|
+
has: (args_0: string) => boolean;
|
|
34
|
+
};
|
|
35
|
+
export declare const addressPrefixToChain: (<K1 extends "cosmos" | "evmos" | "inj" | "kuji" | "osmo" | "sei" | "terra" | "wormhole" | "xpla" | "celestia" | "stars" | "dym" | "neutron">(args_0: K1) => {
|
|
36
|
+
cosmos: ["Cosmoshub"];
|
|
37
|
+
evmos: ["Evmos"];
|
|
38
|
+
inj: ["Injective"];
|
|
39
|
+
kuji: ["Kujira"];
|
|
40
|
+
osmo: ["Osmosis"];
|
|
41
|
+
sei: ["Sei"];
|
|
42
|
+
terra: ["Terra", "Terra2"];
|
|
43
|
+
wormhole: ["Wormchain"];
|
|
44
|
+
xpla: ["Xpla"];
|
|
45
|
+
celestia: ["Celestia"];
|
|
46
|
+
stars: ["Stargaze"];
|
|
47
|
+
dym: ["Dymension"];
|
|
48
|
+
neutron: ["Neutron"];
|
|
49
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1]) & {
|
|
50
|
+
get: (args_0: string) => ["Cosmoshub"] | ["Evmos"] | ["Injective"] | ["Kujira"] | ["Osmosis"] | ["Sei"] | ["Terra", "Terra2"] | ["Wormchain"] | ["Xpla"] | ["Celestia"] | ["Stargaze"] | ["Dymension"] | ["Neutron"] | undefined;
|
|
51
|
+
has: (args_0: string) => boolean;
|
|
52
|
+
};
|
|
53
|
+
export declare const chainToNativeDenoms: (<K1 extends "Mainnet" | "Testnet" | "Devnet", K2 extends keyof {
|
|
54
|
+
readonly Mainnet: {
|
|
55
|
+
readonly Cosmoshub: "uatom";
|
|
56
|
+
readonly Evmos: "aevmos";
|
|
57
|
+
readonly Injective: "inj";
|
|
58
|
+
readonly Kujira: "kuji";
|
|
59
|
+
readonly Osmosis: "uosmo";
|
|
60
|
+
readonly Sei: "usei";
|
|
61
|
+
readonly Terra: "luna";
|
|
62
|
+
readonly Terra2: "uluna";
|
|
63
|
+
readonly Wormchain: "uworm";
|
|
64
|
+
readonly Xpla: "uxpla";
|
|
65
|
+
readonly Celestia: "utia";
|
|
66
|
+
readonly Dymension: "adym";
|
|
67
|
+
readonly Stargaze: "ustars";
|
|
68
|
+
readonly Neutron: "untrn";
|
|
69
|
+
};
|
|
70
|
+
readonly Testnet: {
|
|
71
|
+
readonly Cosmoshub: "uatom";
|
|
72
|
+
readonly Evmos: "atevmos";
|
|
73
|
+
readonly Injective: "inj";
|
|
74
|
+
readonly Kujira: "kuji";
|
|
75
|
+
readonly Osmosis: "uosmo";
|
|
76
|
+
readonly Sei: "usei";
|
|
77
|
+
readonly Terra: "luna";
|
|
78
|
+
readonly Terra2: "uluna";
|
|
79
|
+
readonly Wormchain: "uworm";
|
|
80
|
+
readonly Xpla: "uxpla";
|
|
81
|
+
};
|
|
82
|
+
readonly Devnet: {
|
|
83
|
+
readonly Cosmoshub: "uatom";
|
|
84
|
+
readonly Evmos: "atevmos";
|
|
85
|
+
readonly Injective: "inj";
|
|
86
|
+
readonly Kujira: "kuji";
|
|
87
|
+
readonly Osmosis: "uosmo";
|
|
88
|
+
readonly Sei: "usei";
|
|
89
|
+
readonly Terra: "luna";
|
|
90
|
+
readonly Terra2: "uluna";
|
|
91
|
+
readonly Wormchain: "uworm";
|
|
92
|
+
readonly Xpla: "uxpla";
|
|
93
|
+
};
|
|
94
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
95
|
+
readonly Mainnet: {
|
|
96
|
+
readonly Cosmoshub: "uatom";
|
|
97
|
+
readonly Evmos: "aevmos";
|
|
98
|
+
readonly Injective: "inj";
|
|
99
|
+
readonly Kujira: "kuji";
|
|
100
|
+
readonly Osmosis: "uosmo";
|
|
101
|
+
readonly Sei: "usei";
|
|
102
|
+
readonly Terra: "luna";
|
|
103
|
+
readonly Terra2: "uluna";
|
|
104
|
+
readonly Wormchain: "uworm";
|
|
105
|
+
readonly Xpla: "uxpla";
|
|
106
|
+
readonly Celestia: "utia";
|
|
107
|
+
readonly Dymension: "adym";
|
|
108
|
+
readonly Stargaze: "ustars";
|
|
109
|
+
readonly Neutron: "untrn";
|
|
110
|
+
};
|
|
111
|
+
readonly Testnet: {
|
|
112
|
+
readonly Cosmoshub: "uatom";
|
|
113
|
+
readonly Evmos: "atevmos";
|
|
114
|
+
readonly Injective: "inj";
|
|
115
|
+
readonly Kujira: "kuji";
|
|
116
|
+
readonly Osmosis: "uosmo";
|
|
117
|
+
readonly Sei: "usei";
|
|
118
|
+
readonly Terra: "luna";
|
|
119
|
+
readonly Terra2: "uluna";
|
|
120
|
+
readonly Wormchain: "uworm";
|
|
121
|
+
readonly Xpla: "uxpla";
|
|
122
|
+
};
|
|
123
|
+
readonly Devnet: {
|
|
124
|
+
readonly Cosmoshub: "uatom";
|
|
125
|
+
readonly Evmos: "atevmos";
|
|
126
|
+
readonly Injective: "inj";
|
|
127
|
+
readonly Kujira: "kuji";
|
|
128
|
+
readonly Osmosis: "uosmo";
|
|
129
|
+
readonly Sei: "usei";
|
|
130
|
+
readonly Terra: "luna";
|
|
131
|
+
readonly Terra2: "uluna";
|
|
132
|
+
readonly Wormchain: "uworm";
|
|
133
|
+
readonly Xpla: "uxpla";
|
|
134
|
+
};
|
|
135
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
136
|
+
readonly Mainnet: {
|
|
137
|
+
readonly Cosmoshub: "uatom";
|
|
138
|
+
readonly Evmos: "aevmos";
|
|
139
|
+
readonly Injective: "inj";
|
|
140
|
+
readonly Kujira: "kuji";
|
|
141
|
+
readonly Osmosis: "uosmo";
|
|
142
|
+
readonly Sei: "usei";
|
|
143
|
+
readonly Terra: "luna";
|
|
144
|
+
readonly Terra2: "uluna";
|
|
145
|
+
readonly Wormchain: "uworm";
|
|
146
|
+
readonly Xpla: "uxpla";
|
|
147
|
+
readonly Celestia: "utia";
|
|
148
|
+
readonly Dymension: "adym";
|
|
149
|
+
readonly Stargaze: "ustars";
|
|
150
|
+
readonly Neutron: "untrn";
|
|
151
|
+
};
|
|
152
|
+
readonly Testnet: {
|
|
153
|
+
readonly Cosmoshub: "uatom";
|
|
154
|
+
readonly Evmos: "atevmos";
|
|
155
|
+
readonly Injective: "inj";
|
|
156
|
+
readonly Kujira: "kuji";
|
|
157
|
+
readonly Osmosis: "uosmo";
|
|
158
|
+
readonly Sei: "usei";
|
|
159
|
+
readonly Terra: "luna";
|
|
160
|
+
readonly Terra2: "uluna";
|
|
161
|
+
readonly Wormchain: "uworm";
|
|
162
|
+
readonly Xpla: "uxpla";
|
|
163
|
+
};
|
|
164
|
+
readonly Devnet: {
|
|
165
|
+
readonly Cosmoshub: "uatom";
|
|
166
|
+
readonly Evmos: "atevmos";
|
|
167
|
+
readonly Injective: "inj";
|
|
168
|
+
readonly Kujira: "kuji";
|
|
169
|
+
readonly Osmosis: "uosmo";
|
|
170
|
+
readonly Sei: "usei";
|
|
171
|
+
readonly Terra: "luna";
|
|
172
|
+
readonly Terra2: "uluna";
|
|
173
|
+
readonly Wormchain: "uworm";
|
|
174
|
+
readonly Xpla: "uxpla";
|
|
175
|
+
};
|
|
176
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
177
|
+
readonly Mainnet: {
|
|
178
|
+
readonly Cosmoshub: "uatom";
|
|
179
|
+
readonly Evmos: "aevmos";
|
|
180
|
+
readonly Injective: "inj";
|
|
181
|
+
readonly Kujira: "kuji";
|
|
182
|
+
readonly Osmosis: "uosmo";
|
|
183
|
+
readonly Sei: "usei";
|
|
184
|
+
readonly Terra: "luna";
|
|
185
|
+
readonly Terra2: "uluna";
|
|
186
|
+
readonly Wormchain: "uworm";
|
|
187
|
+
readonly Xpla: "uxpla";
|
|
188
|
+
readonly Celestia: "utia";
|
|
189
|
+
readonly Dymension: "adym";
|
|
190
|
+
readonly Stargaze: "ustars";
|
|
191
|
+
readonly Neutron: "untrn";
|
|
192
|
+
};
|
|
193
|
+
readonly Testnet: {
|
|
194
|
+
readonly Cosmoshub: "uatom";
|
|
195
|
+
readonly Evmos: "atevmos";
|
|
196
|
+
readonly Injective: "inj";
|
|
197
|
+
readonly Kujira: "kuji";
|
|
198
|
+
readonly Osmosis: "uosmo";
|
|
199
|
+
readonly Sei: "usei";
|
|
200
|
+
readonly Terra: "luna";
|
|
201
|
+
readonly Terra2: "uluna";
|
|
202
|
+
readonly Wormchain: "uworm";
|
|
203
|
+
readonly Xpla: "uxpla";
|
|
204
|
+
};
|
|
205
|
+
readonly Devnet: {
|
|
206
|
+
readonly Cosmoshub: "uatom";
|
|
207
|
+
readonly Evmos: "atevmos";
|
|
208
|
+
readonly Injective: "inj";
|
|
209
|
+
readonly Kujira: "kuji";
|
|
210
|
+
readonly Osmosis: "uosmo";
|
|
211
|
+
readonly Sei: "usei";
|
|
212
|
+
readonly Terra: "luna";
|
|
213
|
+
readonly Terra2: "uluna";
|
|
214
|
+
readonly Wormchain: "uworm";
|
|
215
|
+
readonly Xpla: "uxpla";
|
|
216
|
+
};
|
|
217
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
218
|
+
[key: string]: unknown;
|
|
219
|
+
[key: number]: unknown;
|
|
220
|
+
[key: symbol]: unknown;
|
|
221
|
+
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
222
|
+
get: (args_0: string, args_1: string) => "inj" | "kuji" | "uatom" | "aevmos" | "uosmo" | "usei" | "luna" | "uluna" | "uworm" | "uxpla" | "atevmos" | undefined;
|
|
223
|
+
has: (args_0: string, args_1: string) => boolean;
|
|
224
|
+
};
|
|
225
|
+
export declare const nativeDenomToChain: (<K1 extends "Mainnet" | "Testnet" | "Devnet", K2 extends keyof {
|
|
226
|
+
Mainnet: {
|
|
227
|
+
uatom: "Cosmoshub";
|
|
228
|
+
aevmos: "Evmos";
|
|
229
|
+
inj: "Injective";
|
|
230
|
+
kuji: "Kujira";
|
|
231
|
+
uosmo: "Osmosis";
|
|
232
|
+
usei: "Sei";
|
|
233
|
+
luna: "Terra";
|
|
234
|
+
uluna: "Terra2";
|
|
235
|
+
uworm: "Wormchain";
|
|
236
|
+
uxpla: "Xpla";
|
|
237
|
+
utia: "Celestia";
|
|
238
|
+
adym: "Dymension";
|
|
239
|
+
ustars: "Stargaze";
|
|
240
|
+
untrn: "Neutron";
|
|
241
|
+
};
|
|
242
|
+
Testnet: {
|
|
243
|
+
uatom: "Cosmoshub";
|
|
244
|
+
atevmos: "Evmos";
|
|
245
|
+
inj: "Injective";
|
|
246
|
+
kuji: "Kujira";
|
|
247
|
+
uosmo: "Osmosis";
|
|
248
|
+
usei: "Sei";
|
|
249
|
+
luna: "Terra";
|
|
250
|
+
uluna: "Terra2";
|
|
251
|
+
uworm: "Wormchain";
|
|
252
|
+
uxpla: "Xpla";
|
|
253
|
+
};
|
|
254
|
+
Devnet: {
|
|
255
|
+
uatom: "Cosmoshub";
|
|
256
|
+
atevmos: "Evmos";
|
|
257
|
+
inj: "Injective";
|
|
258
|
+
kuji: "Kujira";
|
|
259
|
+
uosmo: "Osmosis";
|
|
260
|
+
usei: "Sei";
|
|
261
|
+
luna: "Terra";
|
|
262
|
+
uluna: "Terra2";
|
|
263
|
+
uworm: "Wormchain";
|
|
264
|
+
uxpla: "Xpla";
|
|
265
|
+
};
|
|
266
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
267
|
+
Mainnet: {
|
|
268
|
+
uatom: "Cosmoshub";
|
|
269
|
+
aevmos: "Evmos";
|
|
270
|
+
inj: "Injective";
|
|
271
|
+
kuji: "Kujira";
|
|
272
|
+
uosmo: "Osmosis";
|
|
273
|
+
usei: "Sei";
|
|
274
|
+
luna: "Terra";
|
|
275
|
+
uluna: "Terra2";
|
|
276
|
+
uworm: "Wormchain";
|
|
277
|
+
uxpla: "Xpla";
|
|
278
|
+
utia: "Celestia";
|
|
279
|
+
adym: "Dymension";
|
|
280
|
+
ustars: "Stargaze";
|
|
281
|
+
untrn: "Neutron";
|
|
282
|
+
};
|
|
283
|
+
Testnet: {
|
|
284
|
+
uatom: "Cosmoshub";
|
|
285
|
+
atevmos: "Evmos";
|
|
286
|
+
inj: "Injective";
|
|
287
|
+
kuji: "Kujira";
|
|
288
|
+
uosmo: "Osmosis";
|
|
289
|
+
usei: "Sei";
|
|
290
|
+
luna: "Terra";
|
|
291
|
+
uluna: "Terra2";
|
|
292
|
+
uworm: "Wormchain";
|
|
293
|
+
uxpla: "Xpla";
|
|
294
|
+
};
|
|
295
|
+
Devnet: {
|
|
296
|
+
uatom: "Cosmoshub";
|
|
297
|
+
atevmos: "Evmos";
|
|
298
|
+
inj: "Injective";
|
|
299
|
+
kuji: "Kujira";
|
|
300
|
+
uosmo: "Osmosis";
|
|
301
|
+
usei: "Sei";
|
|
302
|
+
luna: "Terra";
|
|
303
|
+
uluna: "Terra2";
|
|
304
|
+
uworm: "Wormchain";
|
|
305
|
+
uxpla: "Xpla";
|
|
306
|
+
};
|
|
307
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
308
|
+
Mainnet: {
|
|
309
|
+
uatom: "Cosmoshub";
|
|
310
|
+
aevmos: "Evmos";
|
|
311
|
+
inj: "Injective";
|
|
312
|
+
kuji: "Kujira";
|
|
313
|
+
uosmo: "Osmosis";
|
|
314
|
+
usei: "Sei";
|
|
315
|
+
luna: "Terra";
|
|
316
|
+
uluna: "Terra2";
|
|
317
|
+
uworm: "Wormchain";
|
|
318
|
+
uxpla: "Xpla";
|
|
319
|
+
utia: "Celestia";
|
|
320
|
+
adym: "Dymension";
|
|
321
|
+
ustars: "Stargaze";
|
|
322
|
+
untrn: "Neutron";
|
|
323
|
+
};
|
|
324
|
+
Testnet: {
|
|
325
|
+
uatom: "Cosmoshub";
|
|
326
|
+
atevmos: "Evmos";
|
|
327
|
+
inj: "Injective";
|
|
328
|
+
kuji: "Kujira";
|
|
329
|
+
uosmo: "Osmosis";
|
|
330
|
+
usei: "Sei";
|
|
331
|
+
luna: "Terra";
|
|
332
|
+
uluna: "Terra2";
|
|
333
|
+
uworm: "Wormchain";
|
|
334
|
+
uxpla: "Xpla";
|
|
335
|
+
};
|
|
336
|
+
Devnet: {
|
|
337
|
+
uatom: "Cosmoshub";
|
|
338
|
+
atevmos: "Evmos";
|
|
339
|
+
inj: "Injective";
|
|
340
|
+
kuji: "Kujira";
|
|
341
|
+
uosmo: "Osmosis";
|
|
342
|
+
usei: "Sei";
|
|
343
|
+
luna: "Terra";
|
|
344
|
+
uluna: "Terra2";
|
|
345
|
+
uworm: "Wormchain";
|
|
346
|
+
uxpla: "Xpla";
|
|
347
|
+
};
|
|
348
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
349
|
+
Mainnet: {
|
|
350
|
+
uatom: "Cosmoshub";
|
|
351
|
+
aevmos: "Evmos";
|
|
352
|
+
inj: "Injective";
|
|
353
|
+
kuji: "Kujira";
|
|
354
|
+
uosmo: "Osmosis";
|
|
355
|
+
usei: "Sei";
|
|
356
|
+
luna: "Terra";
|
|
357
|
+
uluna: "Terra2";
|
|
358
|
+
uworm: "Wormchain";
|
|
359
|
+
uxpla: "Xpla";
|
|
360
|
+
utia: "Celestia";
|
|
361
|
+
adym: "Dymension";
|
|
362
|
+
ustars: "Stargaze";
|
|
363
|
+
untrn: "Neutron";
|
|
364
|
+
};
|
|
365
|
+
Testnet: {
|
|
366
|
+
uatom: "Cosmoshub";
|
|
367
|
+
atevmos: "Evmos";
|
|
368
|
+
inj: "Injective";
|
|
369
|
+
kuji: "Kujira";
|
|
370
|
+
uosmo: "Osmosis";
|
|
371
|
+
usei: "Sei";
|
|
372
|
+
luna: "Terra";
|
|
373
|
+
uluna: "Terra2";
|
|
374
|
+
uworm: "Wormchain";
|
|
375
|
+
uxpla: "Xpla";
|
|
376
|
+
};
|
|
377
|
+
Devnet: {
|
|
378
|
+
uatom: "Cosmoshub";
|
|
379
|
+
atevmos: "Evmos";
|
|
380
|
+
inj: "Injective";
|
|
381
|
+
kuji: "Kujira";
|
|
382
|
+
uosmo: "Osmosis";
|
|
383
|
+
usei: "Sei";
|
|
384
|
+
luna: "Terra";
|
|
385
|
+
uluna: "Terra2";
|
|
386
|
+
uworm: "Wormchain";
|
|
387
|
+
uxpla: "Xpla";
|
|
388
|
+
};
|
|
389
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
390
|
+
[key: string]: unknown;
|
|
391
|
+
[key: number]: unknown;
|
|
392
|
+
[key: symbol]: unknown;
|
|
393
|
+
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
394
|
+
get: (args_0: string, args_1: string) => "Cosmoshub" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | undefined;
|
|
395
|
+
has: (args_0: string, args_1: string) => boolean;
|
|
396
|
+
};
|
|
397
|
+
export type IbcChannels = Partial<Record<CosmwasmChains, string>>;
|
|
398
|
+
export declare const networkChainToChannels: (<K1 extends "Mainnet" | "Testnet" | "Devnet", K2 extends keyof {
|
|
399
|
+
readonly Mainnet: {
|
|
400
|
+
readonly Wormchain: {
|
|
401
|
+
readonly Osmosis: "channel-3";
|
|
402
|
+
readonly Evmos: "channel-5";
|
|
403
|
+
readonly Kujira: "channel-9";
|
|
404
|
+
readonly Stargaze: "channel-12";
|
|
405
|
+
readonly Injective: "channel-13";
|
|
406
|
+
readonly Dymension: "channel-15";
|
|
407
|
+
};
|
|
408
|
+
readonly Osmosis: {
|
|
409
|
+
readonly Wormchain: "channel-2186";
|
|
410
|
+
};
|
|
411
|
+
readonly Evmos: {
|
|
412
|
+
readonly Wormchain: "channel-94";
|
|
413
|
+
};
|
|
414
|
+
readonly Kujira: {
|
|
415
|
+
readonly Wormchain: "channel-113";
|
|
416
|
+
};
|
|
417
|
+
readonly Injective: {
|
|
418
|
+
readonly Wormchain: "channel-183";
|
|
419
|
+
};
|
|
420
|
+
readonly Dymension: {
|
|
421
|
+
readonly Wormchain: "channel-36";
|
|
422
|
+
};
|
|
423
|
+
readonly Stargaze: {
|
|
424
|
+
readonly Wormchain: "channel-278";
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
readonly Testnet: {
|
|
428
|
+
readonly Wormchain: {
|
|
429
|
+
readonly Cosmoshub: "channel-5";
|
|
430
|
+
readonly Osmosis: "channel-9";
|
|
431
|
+
};
|
|
432
|
+
readonly Cosmoshub: {
|
|
433
|
+
readonly Wormchain: "channel-3086";
|
|
434
|
+
};
|
|
435
|
+
readonly Osmosis: {
|
|
436
|
+
readonly Wormchain: "channel-3906";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
readonly Devnet: {
|
|
440
|
+
readonly Wormchain: {
|
|
441
|
+
readonly Cosmoshub: "channel-1";
|
|
442
|
+
readonly Osmosis: "channel-2";
|
|
443
|
+
};
|
|
444
|
+
readonly Cosmoshub: {
|
|
445
|
+
readonly Wormchain: "channel-1";
|
|
446
|
+
};
|
|
447
|
+
readonly Osmosis: {
|
|
448
|
+
readonly Wormchain: "channel-1";
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
452
|
+
readonly Mainnet: {
|
|
453
|
+
readonly Wormchain: {
|
|
454
|
+
readonly Osmosis: "channel-3";
|
|
455
|
+
readonly Evmos: "channel-5";
|
|
456
|
+
readonly Kujira: "channel-9";
|
|
457
|
+
readonly Stargaze: "channel-12";
|
|
458
|
+
readonly Injective: "channel-13";
|
|
459
|
+
readonly Dymension: "channel-15";
|
|
460
|
+
};
|
|
461
|
+
readonly Osmosis: {
|
|
462
|
+
readonly Wormchain: "channel-2186";
|
|
463
|
+
};
|
|
464
|
+
readonly Evmos: {
|
|
465
|
+
readonly Wormchain: "channel-94";
|
|
466
|
+
};
|
|
467
|
+
readonly Kujira: {
|
|
468
|
+
readonly Wormchain: "channel-113";
|
|
469
|
+
};
|
|
470
|
+
readonly Injective: {
|
|
471
|
+
readonly Wormchain: "channel-183";
|
|
472
|
+
};
|
|
473
|
+
readonly Dymension: {
|
|
474
|
+
readonly Wormchain: "channel-36";
|
|
475
|
+
};
|
|
476
|
+
readonly Stargaze: {
|
|
477
|
+
readonly Wormchain: "channel-278";
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly Testnet: {
|
|
481
|
+
readonly Wormchain: {
|
|
482
|
+
readonly Cosmoshub: "channel-5";
|
|
483
|
+
readonly Osmosis: "channel-9";
|
|
484
|
+
};
|
|
485
|
+
readonly Cosmoshub: {
|
|
486
|
+
readonly Wormchain: "channel-3086";
|
|
487
|
+
};
|
|
488
|
+
readonly Osmosis: {
|
|
489
|
+
readonly Wormchain: "channel-3906";
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
readonly Devnet: {
|
|
493
|
+
readonly Wormchain: {
|
|
494
|
+
readonly Cosmoshub: "channel-1";
|
|
495
|
+
readonly Osmosis: "channel-2";
|
|
496
|
+
};
|
|
497
|
+
readonly Cosmoshub: {
|
|
498
|
+
readonly Wormchain: "channel-1";
|
|
499
|
+
};
|
|
500
|
+
readonly Osmosis: {
|
|
501
|
+
readonly Wormchain: "channel-1";
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
505
|
+
readonly Mainnet: {
|
|
506
|
+
readonly Wormchain: {
|
|
507
|
+
readonly Osmosis: "channel-3";
|
|
508
|
+
readonly Evmos: "channel-5";
|
|
509
|
+
readonly Kujira: "channel-9";
|
|
510
|
+
readonly Stargaze: "channel-12";
|
|
511
|
+
readonly Injective: "channel-13";
|
|
512
|
+
readonly Dymension: "channel-15";
|
|
513
|
+
};
|
|
514
|
+
readonly Osmosis: {
|
|
515
|
+
readonly Wormchain: "channel-2186";
|
|
516
|
+
};
|
|
517
|
+
readonly Evmos: {
|
|
518
|
+
readonly Wormchain: "channel-94";
|
|
519
|
+
};
|
|
520
|
+
readonly Kujira: {
|
|
521
|
+
readonly Wormchain: "channel-113";
|
|
522
|
+
};
|
|
523
|
+
readonly Injective: {
|
|
524
|
+
readonly Wormchain: "channel-183";
|
|
525
|
+
};
|
|
526
|
+
readonly Dymension: {
|
|
527
|
+
readonly Wormchain: "channel-36";
|
|
528
|
+
};
|
|
529
|
+
readonly Stargaze: {
|
|
530
|
+
readonly Wormchain: "channel-278";
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
readonly Testnet: {
|
|
534
|
+
readonly Wormchain: {
|
|
535
|
+
readonly Cosmoshub: "channel-5";
|
|
536
|
+
readonly Osmosis: "channel-9";
|
|
537
|
+
};
|
|
538
|
+
readonly Cosmoshub: {
|
|
539
|
+
readonly Wormchain: "channel-3086";
|
|
540
|
+
};
|
|
541
|
+
readonly Osmosis: {
|
|
542
|
+
readonly Wormchain: "channel-3906";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
readonly Devnet: {
|
|
546
|
+
readonly Wormchain: {
|
|
547
|
+
readonly Cosmoshub: "channel-1";
|
|
548
|
+
readonly Osmosis: "channel-2";
|
|
549
|
+
};
|
|
550
|
+
readonly Cosmoshub: {
|
|
551
|
+
readonly Wormchain: "channel-1";
|
|
552
|
+
};
|
|
553
|
+
readonly Osmosis: {
|
|
554
|
+
readonly Wormchain: "channel-1";
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
558
|
+
readonly Mainnet: {
|
|
559
|
+
readonly Wormchain: {
|
|
560
|
+
readonly Osmosis: "channel-3";
|
|
561
|
+
readonly Evmos: "channel-5";
|
|
562
|
+
readonly Kujira: "channel-9";
|
|
563
|
+
readonly Stargaze: "channel-12";
|
|
564
|
+
readonly Injective: "channel-13";
|
|
565
|
+
readonly Dymension: "channel-15";
|
|
566
|
+
};
|
|
567
|
+
readonly Osmosis: {
|
|
568
|
+
readonly Wormchain: "channel-2186";
|
|
569
|
+
};
|
|
570
|
+
readonly Evmos: {
|
|
571
|
+
readonly Wormchain: "channel-94";
|
|
572
|
+
};
|
|
573
|
+
readonly Kujira: {
|
|
574
|
+
readonly Wormchain: "channel-113";
|
|
575
|
+
};
|
|
576
|
+
readonly Injective: {
|
|
577
|
+
readonly Wormchain: "channel-183";
|
|
578
|
+
};
|
|
579
|
+
readonly Dymension: {
|
|
580
|
+
readonly Wormchain: "channel-36";
|
|
581
|
+
};
|
|
582
|
+
readonly Stargaze: {
|
|
583
|
+
readonly Wormchain: "channel-278";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly Testnet: {
|
|
587
|
+
readonly Wormchain: {
|
|
588
|
+
readonly Cosmoshub: "channel-5";
|
|
589
|
+
readonly Osmosis: "channel-9";
|
|
590
|
+
};
|
|
591
|
+
readonly Cosmoshub: {
|
|
592
|
+
readonly Wormchain: "channel-3086";
|
|
593
|
+
};
|
|
594
|
+
readonly Osmosis: {
|
|
595
|
+
readonly Wormchain: "channel-3906";
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
readonly Devnet: {
|
|
599
|
+
readonly Wormchain: {
|
|
600
|
+
readonly Cosmoshub: "channel-1";
|
|
601
|
+
readonly Osmosis: "channel-2";
|
|
602
|
+
};
|
|
603
|
+
readonly Cosmoshub: {
|
|
604
|
+
readonly Wormchain: "channel-1";
|
|
605
|
+
};
|
|
606
|
+
readonly Osmosis: {
|
|
607
|
+
readonly Wormchain: "channel-1";
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
611
|
+
[key: string]: unknown;
|
|
612
|
+
[key: number]: unknown;
|
|
613
|
+
[key: symbol]: unknown;
|
|
614
|
+
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
615
|
+
get: (args_0: string, args_1: string) => {
|
|
616
|
+
readonly Osmosis: "channel-3";
|
|
617
|
+
readonly Evmos: "channel-5";
|
|
618
|
+
readonly Kujira: "channel-9";
|
|
619
|
+
readonly Stargaze: "channel-12";
|
|
620
|
+
readonly Injective: "channel-13";
|
|
621
|
+
readonly Dymension: "channel-15";
|
|
622
|
+
} | {
|
|
623
|
+
readonly Wormchain: "channel-2186";
|
|
624
|
+
} | {
|
|
625
|
+
readonly Cosmoshub: "channel-5";
|
|
626
|
+
readonly Osmosis: "channel-9";
|
|
627
|
+
} | {
|
|
628
|
+
readonly Wormchain: "channel-3906";
|
|
629
|
+
} | {
|
|
630
|
+
readonly Cosmoshub: "channel-1";
|
|
631
|
+
readonly Osmosis: "channel-2";
|
|
632
|
+
} | {
|
|
633
|
+
readonly Wormchain: "channel-1";
|
|
634
|
+
} | undefined;
|
|
635
|
+
has: (args_0: string, args_1: string) => boolean;
|
|
636
|
+
};
|
|
637
|
+
export declare const evmLikeChains: readonly ["Evmos", "Injective"];
|
|
638
|
+
export type CosmwasmEvmChain = (typeof evmLikeChains)[number];
|
|
639
|
+
export declare const cosmwasmNetworkChainToRestUrls: (<K1 extends "Mainnet" | "Testnet" | "Devnet", K2 extends keyof {
|
|
640
|
+
readonly Mainnet: {
|
|
641
|
+
readonly Injective: "https://lcd.injective.network";
|
|
642
|
+
readonly Evmos: "https://rest.bd.evmos.org:1317";
|
|
643
|
+
};
|
|
644
|
+
readonly Testnet: {
|
|
645
|
+
readonly Injective: "https://k8s.testnet.lcd.injective.network";
|
|
646
|
+
readonly Evmos: "https://rest.bd.evmos.dev:1317";
|
|
647
|
+
};
|
|
648
|
+
readonly Devnet: {
|
|
649
|
+
readonly Injective: "https://localhost:1234";
|
|
650
|
+
readonly Evmos: "https://localhost:1233";
|
|
651
|
+
};
|
|
652
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
653
|
+
readonly Mainnet: {
|
|
654
|
+
readonly Injective: "https://lcd.injective.network";
|
|
655
|
+
readonly Evmos: "https://rest.bd.evmos.org:1317";
|
|
656
|
+
};
|
|
657
|
+
readonly Testnet: {
|
|
658
|
+
readonly Injective: "https://k8s.testnet.lcd.injective.network";
|
|
659
|
+
readonly Evmos: "https://rest.bd.evmos.dev:1317";
|
|
660
|
+
};
|
|
661
|
+
readonly Devnet: {
|
|
662
|
+
readonly Injective: "https://localhost:1234";
|
|
663
|
+
readonly Evmos: "https://localhost:1233";
|
|
664
|
+
};
|
|
665
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
666
|
+
readonly Mainnet: {
|
|
667
|
+
readonly Injective: "https://lcd.injective.network";
|
|
668
|
+
readonly Evmos: "https://rest.bd.evmos.org:1317";
|
|
669
|
+
};
|
|
670
|
+
readonly Testnet: {
|
|
671
|
+
readonly Injective: "https://k8s.testnet.lcd.injective.network";
|
|
672
|
+
readonly Evmos: "https://rest.bd.evmos.dev:1317";
|
|
673
|
+
};
|
|
674
|
+
readonly Devnet: {
|
|
675
|
+
readonly Injective: "https://localhost:1234";
|
|
676
|
+
readonly Evmos: "https://localhost:1233";
|
|
677
|
+
};
|
|
678
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
679
|
+
readonly Mainnet: {
|
|
680
|
+
readonly Injective: "https://lcd.injective.network";
|
|
681
|
+
readonly Evmos: "https://rest.bd.evmos.org:1317";
|
|
682
|
+
};
|
|
683
|
+
readonly Testnet: {
|
|
684
|
+
readonly Injective: "https://k8s.testnet.lcd.injective.network";
|
|
685
|
+
readonly Evmos: "https://rest.bd.evmos.dev:1317";
|
|
686
|
+
};
|
|
687
|
+
readonly Devnet: {
|
|
688
|
+
readonly Injective: "https://localhost:1234";
|
|
689
|
+
readonly Evmos: "https://localhost:1233";
|
|
690
|
+
};
|
|
691
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
692
|
+
[key: string]: unknown;
|
|
693
|
+
[key: number]: unknown;
|
|
694
|
+
[key: symbol]: unknown;
|
|
695
|
+
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
696
|
+
get: (args_0: string, args_1: string) => "https://lcd.injective.network" | "https://rest.bd.evmos.org:1317" | "https://k8s.testnet.lcd.injective.network" | "https://rest.bd.evmos.dev:1317" | "https://localhost:1234" | "https://localhost:1233" | undefined;
|
|
697
|
+
has: (args_0: string, args_1: string) => boolean;
|
|
698
|
+
};
|
|
699
|
+
export declare const averageGasPrices: (<K1 extends "Mainnet", K2 extends keyof {
|
|
700
|
+
readonly Mainnet: {
|
|
701
|
+
readonly Terra: "28.325";
|
|
702
|
+
readonly Terra2: "0.015";
|
|
703
|
+
readonly Osmosis: "0.025";
|
|
704
|
+
readonly Sei: "0.02";
|
|
705
|
+
readonly Cosmoshub: "0.025";
|
|
706
|
+
readonly Kujira: "0.0051";
|
|
707
|
+
readonly Neutron: "0.075";
|
|
708
|
+
readonly Celestia: "0.02";
|
|
709
|
+
readonly Stargaze: "1.1";
|
|
710
|
+
readonly Injective: "700000000";
|
|
711
|
+
readonly Xpla: "1147500000000";
|
|
712
|
+
readonly Evmos: "25000000000";
|
|
713
|
+
readonly Dymension: "5000000000";
|
|
714
|
+
};
|
|
715
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
716
|
+
readonly Mainnet: {
|
|
717
|
+
readonly Terra: "28.325";
|
|
718
|
+
readonly Terra2: "0.015";
|
|
719
|
+
readonly Osmosis: "0.025";
|
|
720
|
+
readonly Sei: "0.02";
|
|
721
|
+
readonly Cosmoshub: "0.025";
|
|
722
|
+
readonly Kujira: "0.0051";
|
|
723
|
+
readonly Neutron: "0.075";
|
|
724
|
+
readonly Celestia: "0.02";
|
|
725
|
+
readonly Stargaze: "1.1";
|
|
726
|
+
readonly Injective: "700000000";
|
|
727
|
+
readonly Xpla: "1147500000000";
|
|
728
|
+
readonly Evmos: "25000000000";
|
|
729
|
+
readonly Dymension: "5000000000";
|
|
730
|
+
};
|
|
731
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
732
|
+
readonly Mainnet: {
|
|
733
|
+
readonly Terra: "28.325";
|
|
734
|
+
readonly Terra2: "0.015";
|
|
735
|
+
readonly Osmosis: "0.025";
|
|
736
|
+
readonly Sei: "0.02";
|
|
737
|
+
readonly Cosmoshub: "0.025";
|
|
738
|
+
readonly Kujira: "0.0051";
|
|
739
|
+
readonly Neutron: "0.075";
|
|
740
|
+
readonly Celestia: "0.02";
|
|
741
|
+
readonly Stargaze: "1.1";
|
|
742
|
+
readonly Injective: "700000000";
|
|
743
|
+
readonly Xpla: "1147500000000";
|
|
744
|
+
readonly Evmos: "25000000000";
|
|
745
|
+
readonly Dymension: "5000000000";
|
|
746
|
+
};
|
|
747
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
748
|
+
readonly Mainnet: {
|
|
749
|
+
readonly Terra: "28.325";
|
|
750
|
+
readonly Terra2: "0.015";
|
|
751
|
+
readonly Osmosis: "0.025";
|
|
752
|
+
readonly Sei: "0.02";
|
|
753
|
+
readonly Cosmoshub: "0.025";
|
|
754
|
+
readonly Kujira: "0.0051";
|
|
755
|
+
readonly Neutron: "0.075";
|
|
756
|
+
readonly Celestia: "0.02";
|
|
757
|
+
readonly Stargaze: "1.1";
|
|
758
|
+
readonly Injective: "700000000";
|
|
759
|
+
readonly Xpla: "1147500000000";
|
|
760
|
+
readonly Evmos: "25000000000";
|
|
761
|
+
readonly Dymension: "5000000000";
|
|
762
|
+
};
|
|
763
|
+
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
764
|
+
[key: string]: unknown;
|
|
765
|
+
[key: number]: unknown;
|
|
766
|
+
[key: symbol]: unknown;
|
|
767
|
+
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
768
|
+
get: (args_0: string, args_1: string) => "28.325" | "0.015" | "0.025" | "0.02" | "0.0051" | "0.075" | "1.1" | "700000000" | "1147500000000" | "25000000000" | "5000000000" | undefined;
|
|
769
|
+
has: (args_0: string, args_1: string) => boolean;
|
|
770
|
+
};
|
|
771
|
+
//# sourceMappingURL=constants.d.ts.map
|